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..5638e329412dc58757d379d4dbd75fff900b5196 100644 |
--- a/content/browser/devtools/devtools_manager_impl.h |
+++ b/content/browser/devtools/devtools_manager_impl.h |
@@ -49,18 +49,15 @@ class CONTENT_EXPORT DevToolsManagerImpl |
virtual bool DispatchOnInspectorBackend(DevToolsClientHost* from, |
const std::string& message) OVERRIDE; |
virtual void CloseAllClientHosts() OVERRIDE; |
- virtual DevToolsClientHost* GetDevToolsClientHostFor( |
- 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: |
+ friend class DevToolsAgentHostImpl; |
friend struct DefaultSingletonTraits<DevToolsManagerImpl>; |
// DevToolsAgentHost::CloseListener implementation. |
@@ -71,6 +68,11 @@ 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. |