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

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

Issue 2500093002: [DevTools] Move IO and Tracing to new generator. (Closed)
Patch Set: roll 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 527fc5f00c7f3af07fd98440d74fafae5d1fbdd2..7dde71004714c494052b30b01a15f4d8ab3f0abf 100644
--- a/content/browser/devtools/browser_devtools_agent_host.h
+++ b/content/browser/devtools/browser_devtools_agent_host.h
@@ -12,13 +12,16 @@ namespace content {
class DevToolsProtocolHandler;
namespace devtools {
-namespace io { class IOHandler; }
namespace memory { class MemoryHandler; }
namespace system_info { class SystemInfoHandler; }
namespace tethering { class TetheringHandler; }
-namespace tracing { class TracingHandler; }
} // namespace devtools
+namespace protocol {
+class IOHandler;
+class TracingHandler;
+} // namespace protocol
+
class BrowserDevToolsAgentHost : public DevToolsAgentHostImpl {
private:
friend class DevToolsAgentHost;
@@ -40,12 +43,12 @@ class BrowserDevToolsAgentHost : public DevToolsAgentHostImpl {
bool Close() override;
bool DispatchProtocolMessage(const std::string& message) override;
- std::unique_ptr<devtools::io::IOHandler> io_handler_;
+ 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<devtools::tracing::TracingHandler> tracing_handler_;
+ std::unique_ptr<protocol::TracingHandler> tracing_handler_;
std::unique_ptr<DevToolsProtocolHandler> protocol_handler_;
};
« 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