Index: content/shell/browser/shell_devtools_frontend.h |
diff --git a/content/shell/browser/shell_devtools_frontend.h b/content/shell/browser/shell_devtools_frontend.h |
index 2d2eba692eed358b562ed988d460ab59da6a9f1c..0c7f259cfefd1b940320229b26d0c62729324364 100644 |
--- a/content/shell/browser/shell_devtools_frontend.h |
+++ b/content/shell/browser/shell_devtools_frontend.h |
@@ -10,6 +10,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "content/public/browser/devtools_agent_host.h" |
+#include "content/public/browser/devtools_client_host.h" |
#include "content/public/browser/devtools_frontend_host.h" |
#include "content/public/browser/web_contents_observer.h" |
@@ -24,7 +25,7 @@ |
class ShellDevToolsFrontend : public WebContentsObserver, |
public DevToolsFrontendHost::Delegate, |
- public DevToolsAgentHostClient { |
+ public DevToolsClientHost { |
public: |
static ShellDevToolsFrontend* Show(WebContents* inspected_contents); |
static ShellDevToolsFrontend* Show(WebContents* inspected_contents, |
@@ -53,11 +54,10 @@ |
virtual void HandleMessageFromDevToolsFrontendToBackend( |
const std::string& message) OVERRIDE; |
- // content::DevToolsAgentHostClient implementation. |
- virtual void DispatchProtocolMessage( |
- DevToolsAgentHost* agent_host, const std::string& message) OVERRIDE; |
- virtual void AgentHostClosed( |
- DevToolsAgentHost* agent_host, bool replaced) OVERRIDE; |
+ // content::DevToolsClientHost implementation. |
+ virtual void DispatchOnInspectorFrontend(const std::string& message) OVERRIDE; |
+ virtual void InspectedContentsClosing() OVERRIDE; |
+ virtual void ReplacedWithAnotherClient() OVERRIDE {} |
Shell* frontend_shell_; |
scoped_refptr<DevToolsAgentHost> agent_host_; |