Index: content/browser/devtools/devtools_manager_impl.h |
diff --git a/content/browser/devtools/devtools_manager_impl.h b/content/browser/devtools/devtools_manager_impl.h |
index 6e1607c33f783f39a8eb282f077f3d6b3201436c..0dbbfbee960573058c8fbc709ab08c542153af4b 100644 |
--- a/content/browser/devtools/devtools_manager_impl.h |
+++ b/content/browser/devtools/devtools_manager_impl.h |
@@ -42,22 +42,19 @@ class CONTENT_EXPORT DevToolsManagerImpl |
DevToolsManagerImpl(); |
virtual ~DevToolsManagerImpl(); |
- void DispatchOnInspectorFrontend(DevToolsAgentHost* agent_host, |
- const std::string& message); |
- |
// DevToolsManager implementation |
virtual bool DispatchOnInspectorBackend(DevToolsClientHost* from, |
const std::string& message) OVERRIDE; |
+ virtual void DispatchOnInspectorFrontend(DevToolsAgentHost* agent_host, |
+ const std::string& message) OVERRIDE; |
+ |
virtual void CloseAllClientHosts() OVERRIDE; |
- virtual DevToolsClientHost* GetDevToolsClientHostFor( |
- DevToolsAgentHost* agent_host) OVERRIDE; |
+ virtual bool IsAttached(DevToolsAgentHost* agent_host) OVERRIDE; |
virtual DevToolsAgentHost* GetDevToolsAgentHostFor( |
DevToolsClientHost* client_host) OVERRIDE; |
virtual void RegisterDevToolsClientHostFor( |
DevToolsAgentHost* agent_host, |
DevToolsClientHost* client_host) OVERRIDE; |
- virtual void UnregisterDevToolsClientHostFor( |
- DevToolsAgentHost* agent_host) OVERRIDE; |
virtual void ClientHostClosing(DevToolsClientHost* host) OVERRIDE; |
private: |
@@ -71,6 +68,12 @@ class CONTENT_EXPORT DevToolsManagerImpl |
void UnbindClientHost(DevToolsAgentHostImpl* agent_host, |
DevToolsClientHost* client_host); |
+ |
+ DevToolsClientHost* GetDevToolsClientHostFor( |
+ DevToolsAgentHostImpl* agent_host); |
+ |
+ void UnregisterDevToolsClientHostFor(DevToolsAgentHostImpl* agent_host); |
+ |
// These two maps are for tracking dependencies between inspected contents and |
// their DevToolsClientHosts. They are useful for routing devtools messages |
// and allow us to have at most one devtools client host per contents. |