chromium/third_party/blink/renderer/core/inspector/inspector_media_context_impl.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/inspector/inspector_media_context_impl.h"

#include <unordered_set>
#include <utility>

#include "base/not_fatal_until.h"
#include "base/unguessable_token.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/probe/core_probes.h"
#include "third_party/blink/renderer/platform/wtf/hash_map.h"

namespace blink {

const char MediaInspectorContextImpl::kSupplementName[] =;


// static
MediaInspectorContextImpl* MediaInspectorContextImpl::From(
    ExecutionContext& execution_context) {}

MediaInspectorContextImpl::MediaInspectorContextImpl(ExecutionContext& context)
    :{}

// Local to cc file for converting
template <typename T, typename Iterable>
static Vector<T> Iter2Vector(const Iterable& iterable) {}

// Garbage collection method.
void MediaInspectorContextImpl::Trace(Visitor* visitor) const {}

Vector<WebString> MediaInspectorContextImpl::AllPlayerIdsAndMarkSent() {}

const MediaPlayer& MediaInspectorContextImpl::MediaPlayerFromId(
    const WebString& player_id) {}

WebString MediaInspectorContextImpl::CreatePlayer() {}

void MediaInspectorContextImpl::RemovePlayer(const WebString& playerId) {}

void MediaInspectorContextImpl::TrimPlayer(const WebString& playerId) {}

void MediaInspectorContextImpl::CullPlayers(const WebString& prefer_keep) {}

void MediaInspectorContextImpl::DestroyPlayer(const WebString& playerId) {}

// Convert public version of event to protocol version, and send it.
void MediaInspectorContextImpl::NotifyPlayerErrors(
    WebString playerId,
    const InspectorPlayerErrors& errors) {}

void MediaInspectorContextImpl::NotifyPlayerEvents(
    WebString playerId,
    const InspectorPlayerEvents& events) {}

void MediaInspectorContextImpl::SetPlayerProperties(
    WebString playerId,
    const InspectorPlayerProperties& props) {}

void MediaInspectorContextImpl::NotifyPlayerMessages(
    WebString playerId,
    const InspectorPlayerMessages& messages) {}

HeapHashMap<String, Member<MediaPlayer>>*
MediaInspectorContextImpl::GetPlayersForTesting() {}

}  // namespace blink