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

Unified Diff: content/public/browser/devtools_http_handler_delegate.h

Issue 560323005: [DevTools] Move target-related methods from DevToolsHttpHandlerDelegate to DevToolsManagerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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: content/public/browser/devtools_http_handler_delegate.h
diff --git a/content/public/browser/devtools_http_handler_delegate.h b/content/public/browser/devtools_http_handler_delegate.h
index 2b64a7dd40a41e9d616e2b0b7099e9f6de6d704b..514b273f5ae37b3aaa7cfb366702ebde47c0433a 100644
--- a/content/public/browser/devtools_http_handler_delegate.h
+++ b/content/public/browser/devtools_http_handler_delegate.h
@@ -12,8 +12,6 @@
#include "base/memory/scoped_ptr.h"
#include "net/socket/stream_listen_socket.h"
-class GURL;
-
namespace content {
class DevToolsTarget;
@@ -32,20 +30,6 @@ class DevToolsHttpHandlerDelegate {
// Returns path to the front-end files on the local filesystem for debugging.
virtual base::FilePath GetDebugFrontendDir() = 0;
- // Get a thumbnail for a given page. Returns non-empty string iff we have the
- // thumbnail.
- virtual std::string GetPageThumbnailData(const GURL& url) = 0;
-
- // Creates new inspectable target.
- virtual scoped_ptr<DevToolsTarget> CreateNewTarget(const GURL& url) = 0;
-
- typedef std::vector<DevToolsTarget*> TargetList;
- typedef base::Callback<void(const TargetList&)> TargetCallback;
-
- // Requests the list of all inspectable targets.
- // The caller gets the ownership of the returned targets.
- virtual void EnumerateTargets(TargetCallback callback) = 0;
-
// Creates named socket for reversed tethering implementation (used with
// remote debugging, primarily for mobile).
virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering(
« no previous file with comments | « content/browser/devtools/devtools_http_handler_unittest.cc ('k') | content/public/browser/devtools_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698