#include "chrome/browser/media/router/mojo/media_router_debugger_impl.h"
#include "base/task/bind_post_task.h"
#include "base/task/sequenced_task_runner.h"
#include "chrome/browser/media/router/discovery/access_code/access_code_cast_feature.h"
#include "chrome/browser/profiles/profile.h"
#include "components/media_router/browser/media_router.h"
#include "components/media_router/browser/media_router_factory.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/web_contents.h"
#include "media/base/media_switches.h"
#include "media/cast/constants.h"
namespace media_router {
MediaRouterDebuggerImpl::MediaRouterDebuggerImpl(
content::BrowserContext* context) { … }
MediaRouterDebuggerImpl::~MediaRouterDebuggerImpl() { … }
MediaRouterDebugger* MediaRouterDebuggerImpl::GetForFrameTreeNode(
int frame_tree_node_id) { … }
base::Value::Dict MediaRouterDebuggerImpl::GetMirroringStats() { … }
void MediaRouterDebuggerImpl::EnableRtcpReports() { … }
void MediaRouterDebuggerImpl::DisableRtcpReports() { … }
bool MediaRouterDebuggerImpl::ShouldFetchMirroringStats() const { … }
void MediaRouterDebuggerImpl::AddObserver(MirroringStatsObserver& obs) { … }
void MediaRouterDebuggerImpl::RemoveObserver(MirroringStatsObserver& obs) { … }
void MediaRouterDebuggerImpl::ShouldFetchMirroringStats(
ShouldFetchMirroringStatsCallback callback) { … }
void MediaRouterDebuggerImpl::OnMirroringStats(const base::Value json_stats) { … }
void MediaRouterDebuggerImpl::BindReceiver(
mojo::PendingReceiver<mojom::Debugger> receiver) { … }
void MediaRouterDebuggerImpl::NotifyGetMirroringStats(
const base::Value::Dict& json_logs) { … }
void MediaRouterDebuggerImpl::LogMirroringStats() { … }
}