diff options
Diffstat (limited to 'chromecast/browser/devtools/cast_dev_tools_delegate.h')
-rw-r--r-- | chromecast/browser/devtools/cast_dev_tools_delegate.h | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/chromecast/browser/devtools/cast_dev_tools_delegate.h b/chromecast/browser/devtools/cast_dev_tools_delegate.h index 38fbfcb..190abec 100644 --- a/chromecast/browser/devtools/cast_dev_tools_delegate.h +++ b/chromecast/browser/devtools/cast_dev_tools_delegate.h @@ -6,17 +6,8 @@ #define CHROMECAST_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_ #include "components/devtools_http_handler/devtools_http_handler_delegate.h" -#include "content/public/browser/devtools_manager_delegate.h" #include "net/socket/stream_listen_socket.h" -namespace base { -class FilePath; -} - -namespace content { -class BrowserContext; -} - namespace chromecast { namespace shell { @@ -29,32 +20,10 @@ class CastDevToolsDelegate : // devtools_http_handler::DevToolsHttpHandlerDelegate implementation. std::string GetDiscoveryPageHTML() override; std::string GetFrontendResource(const std::string& path) override; - - private: - DISALLOW_COPY_AND_ASSIGN(CastDevToolsDelegate); -}; - -class CastDevToolsManagerDelegate : public content::DevToolsManagerDelegate { - public: - CastDevToolsManagerDelegate(); - ~CastDevToolsManagerDelegate() override; - - // DevToolsManagerDelegate implementation. - void Inspect( - content::BrowserContext* browser_context, - content::DevToolsAgentHost* agent_host) override {} - void DevToolsAgentStateChanged( - content::DevToolsAgentHost* agent_host, - bool attached) override {} - base::DictionaryValue* HandleCommand( - content::DevToolsAgentHost* agent_host, - base::DictionaryValue* command) override; - scoped_ptr<content::DevToolsTarget> CreateNewTarget(const GURL& url) override; - void EnumerateTargets(TargetCallback callback) override; std::string GetPageThumbnailData(const GURL& url) override; private: - DISALLOW_COPY_AND_ASSIGN(CastDevToolsManagerDelegate); + DISALLOW_COPY_AND_ASSIGN(CastDevToolsDelegate); }; } // namespace shell |