| 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 0c7f259cfefd1b940320229b26d0c62729324364..d80414dadd81d3068da23cc8fa19d9284e2b34ff 100644
|
| --- a/content/shell/browser/shell_devtools_frontend.h
|
| +++ b/content/shell/browser/shell_devtools_frontend.h
|
| @@ -10,7 +10,6 @@
|
| #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"
|
|
|
| @@ -25,7 +24,7 @@ class WebContents;
|
|
|
| class ShellDevToolsFrontend : public WebContentsObserver,
|
| public DevToolsFrontendHost::Delegate,
|
| - public DevToolsClientHost {
|
| + public DevToolsAgentHost::Client {
|
| public:
|
| static ShellDevToolsFrontend* Show(WebContents* inspected_contents);
|
| static ShellDevToolsFrontend* Show(WebContents* inspected_contents,
|
| @@ -54,10 +53,12 @@ class ShellDevToolsFrontend : public WebContentsObserver,
|
| virtual void HandleMessageFromDevToolsFrontendToBackend(
|
| const std::string& message) OVERRIDE;
|
|
|
| - // content::DevToolsClientHost implementation.
|
| - virtual void DispatchOnInspectorFrontend(const std::string& message) OVERRIDE;
|
| - virtual void InspectedContentsClosing() OVERRIDE;
|
| - virtual void ReplacedWithAnotherClient() OVERRIDE {}
|
| + // content::DevToolsAgentHost::Client implementation.
|
| + virtual void SendMessageFromAgentHost(
|
| + DevToolsAgentHost* agent_host, const std::string& message) OVERRIDE;
|
| + virtual void AgentHostDetached(
|
| + DevToolsAgentHost* agent_host,
|
| + DevToolsAgentHost::DetachReason reason) OVERRIDE;
|
|
|
| Shell* frontend_shell_;
|
| scoped_refptr<DevToolsAgentHost> agent_host_;
|
|
|