Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: content/browser/devtools/browser_devtools_agent_host.h

Issue 2515613006: [DevTools] Move Memory, SystemInfo and Tethering domains to new generator. (Closed)
Patch Set: fixed review comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/devtools/BUILD.gn ('k') | content/browser/devtools/browser_devtools_agent_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/browser_devtools_agent_host.h
diff --git a/content/browser/devtools/browser_devtools_agent_host.h b/content/browser/devtools/browser_devtools_agent_host.h
index 7dde71004714c494052b30b01a15f4d8ab3f0abf..d466a29a7a5fceb779ce1b84726bb34b75cec7c5 100644
--- a/content/browser/devtools/browser_devtools_agent_host.h
+++ b/content/browser/devtools/browser_devtools_agent_host.h
@@ -9,16 +9,11 @@
namespace content {
-class DevToolsProtocolHandler;
-
-namespace devtools {
-namespace memory { class MemoryHandler; }
-namespace system_info { class SystemInfoHandler; }
-namespace tethering { class TetheringHandler; }
-} // namespace devtools
-
namespace protocol {
class IOHandler;
+class MemoryHandler;
+class SystemInfoHandler;
+class TetheringHandler;
class TracingHandler;
} // namespace protocol
@@ -43,13 +38,14 @@ class BrowserDevToolsAgentHost : public DevToolsAgentHostImpl {
bool Close() override;
bool DispatchProtocolMessage(const std::string& message) override;
+ scoped_refptr<base::SingleThreadTaskRunner> tethering_task_runner_;
+ CreateServerSocketCallback socket_callback_;
+
std::unique_ptr<protocol::IOHandler> io_handler_;
- std::unique_ptr<devtools::memory::MemoryHandler> memory_handler_;
- std::unique_ptr<devtools::system_info::SystemInfoHandler>
- system_info_handler_;
- std::unique_ptr<devtools::tethering::TetheringHandler> tethering_handler_;
+ std::unique_ptr<protocol::MemoryHandler> memory_handler_;
+ std::unique_ptr<protocol::SystemInfoHandler> system_info_handler_;
+ std::unique_ptr<protocol::TetheringHandler> tethering_handler_;
std::unique_ptr<protocol::TracingHandler> tracing_handler_;
- std::unique_ptr<DevToolsProtocolHandler> protocol_handler_;
};
} // namespace content
« no previous file with comments | « content/browser/devtools/BUILD.gn ('k') | content/browser/devtools/browser_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698