#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[] = …;
MediaInspectorContextImpl* MediaInspectorContextImpl::From(
ExecutionContext& execution_context) { … }
MediaInspectorContextImpl::MediaInspectorContextImpl(ExecutionContext& context)
: … { … }
template <typename T, typename Iterable>
static Vector<T> Iter2Vector(const Iterable& iterable) { … }
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) { … }
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() { … }
}