| Index: content/browser/devtools/protocol/schema_handler.cc
|
| diff --git a/content/browser/devtools/protocol/schema_handler.cc b/content/browser/devtools/protocol/schema_handler.cc
|
| index 608e0286538be1ac6441166f9bff751f8c5b9f2b..93d3e1f9d64b617ee5c48306b8108027fdf5de8e 100644
|
| --- a/content/browser/devtools/protocol/schema_handler.cc
|
| +++ b/content/browser/devtools/protocol/schema_handler.cc
|
| @@ -18,6 +18,7 @@ SchemaHandler::~SchemaHandler() {
|
|
|
| Response SchemaHandler::GetDomains(
|
| std::vector<scoped_refptr<Domain>>* domains) {
|
| + // TODO(kozyatisnkiy): get this from the target instead of hardcoding a list.
|
| static const char kVersion[] = "1.2";
|
| static const char* kDomains[] = {
|
| "Inspector", "Memory", "Page", "Rendering", "Emulation", "Security",
|
| @@ -25,7 +26,7 @@ Response SchemaHandler::GetDomains(
|
| "ApplicationCache", "DOM", "IO", "DOMDebugger", "Worker", "ServiceWorker",
|
| "Input", "LayerTree", "DeviceOrientation", "Tracing", "Animation",
|
| "Accessibility", "Storage", "Log", "Browser", "Runtime", "Debugger",
|
| - "Profiler", "HeapProfiler", "Schema"
|
| + "Profiler", "HeapProfiler", "Schema", "Target"
|
| };
|
| for (size_t i = 0; i < arraysize(kDomains); ++i) {
|
| domains->push_back(Domain::Create()
|
|
|