Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11139)

Unified Diff: chromecast/browser/devtools/cast_dev_tools_delegate.h

Issue 1114503002: [DevTools] Cleanup DevToolsTarget and DevToolsManagerDelegate after moving to devtools_discovery. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@devtools-discovery-chrome
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromecast/browser/devtools/cast_dev_tools_delegate.h
diff --git a/chromecast/browser/devtools/cast_dev_tools_delegate.h b/chromecast/browser/devtools/cast_dev_tools_delegate.h
index 38fbfcb058f684792075f59772901895c9e8acbc..190abec1244eaac1ef60681cb30614a04f3fd38a 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
« no previous file with comments | « chromecast/browser/cast_content_browser_client.cc ('k') | chromecast/browser/devtools/cast_dev_tools_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698