Index: content/shell/browser/shell_devtools_manager_delegate.h |
diff --git a/content/shell/browser/shell_devtools_manager_delegate.h b/content/shell/browser/shell_devtools_manager_delegate.h |
index a4a9112981b707ea354bc5cf82f2928fc3878967..c804dd33f8b131c78d8e13275ca7f82a84c133b3 100644 |
--- a/content/shell/browser/shell_devtools_manager_delegate.h |
+++ b/content/shell/browser/shell_devtools_manager_delegate.h |
@@ -7,21 +7,16 @@ |
#include "base/compiler_specific.h" |
#include "base/macros.h" |
-#include "components/devtools_http_handler/devtools_http_handler_delegate.h" |
#include "content/public/browser/devtools_manager_delegate.h" |
-namespace devtools_http_handler { |
-class DevToolsHttpHandler; |
-} |
- |
namespace content { |
class BrowserContext; |
class ShellDevToolsManagerDelegate : public DevToolsManagerDelegate { |
public: |
- static devtools_http_handler::DevToolsHttpHandler* CreateHttpHandler( |
- BrowserContext* browser_context); |
+ static void StartHttpHandler(BrowserContext* browser_context); |
+ static void StopHttpHandler(); |
explicit ShellDevToolsManagerDelegate(BrowserContext* browser_context); |
~ShellDevToolsManagerDelegate() override; |
@@ -35,6 +30,8 @@ class ShellDevToolsManagerDelegate : public DevToolsManagerDelegate { |
std::string GetTargetType(RenderFrameHost* host) override; |
std::string GetTargetTitle(RenderFrameHost* host) override; |
scoped_refptr<DevToolsAgentHost> CreateNewTarget(const GURL& url) override; |
+ std::string GetDiscoveryPageHTML() override; |
+ std::string GetFrontendResource(const std::string& path) override; |
private: |
BrowserContext* browser_context_; |