#include "content/renderer/media/inspector_media_event_handler.h"
#include <string>
#include <utility>
#include "base/json/json_writer.h"
namespace content {
namespace {
std::optional<blink::InspectorPlayerError> ErrorFromParams(
const base::Value::Dict& param) { … }
blink::WebString ToString(const base::Value& value) { … }
blink::WebString ToString(const base::Value::Dict& value) { … }
blink::InspectorPlayerMessage::Level LevelFromString(const std::string& level) { … }
}
InspectorMediaEventHandler::InspectorMediaEventHandler(
blink::MediaInspectorContext* inspector_context)
: … { … }
void InspectorMediaEventHandler::SendQueuedMediaEvents(
std::vector<media::MediaLogRecord> events_to_send) { … }
void InspectorMediaEventHandler::OnWebMediaPlayerDestroyed() { … }
}