#include "content/browser/devtools/protocol/visual_debugger_handler.h"
#include <string.h>
#include <algorithm>
#include "base/json/json_writer.h"
#include "base/task/bind_post_task.h"
#include "base/task/single_thread_task_runner.h"
#include "base/values.h"
#include "build/build_config.h"
#include "content/browser/gpu/gpu_process_host.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "third_party/inspector_protocol/crdtp/json.h"
namespace content {
namespace protocol {
VisualDebuggerHandler::VisualDebuggerHandler()
: … { … }
VisualDebuggerHandler::~VisualDebuggerHandler() { … }
void VisualDebuggerHandler::Wire(UberDispatcher* dispatcher) { … }
DispatchResponse VisualDebuggerHandler::FilterStream(
std::unique_ptr<base::Value::Dict> in_filter) { … }
DispatchResponse VisualDebuggerHandler::StartStream() { … }
void VisualDebuggerHandler::OnFrameResponse(base::Value json) { … }
DispatchResponse VisualDebuggerHandler::StopStream() { … }
}
}