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

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

Issue 10837177: Add a menu item to content_shell to open devtools to make it more discoverable. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix android compile, and add gtk support Created 8 years, 4 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.h
===================================================================
--- content/public/browser/devtools_http_handler.h (revision 150609)
+++ content/public/browser/devtools_http_handler.h (working copy)
@@ -9,6 +9,8 @@
#include "content/common/content_export.h"
+class GURL;
+
namespace net {
class StreamListenSocketFactory;
class URLRequestContextGetter;
@@ -56,6 +58,9 @@
// default implementation will be used.
virtual void SetRenderViewHostBinding(RenderViewHostBinding* binding) = 0;
+ // Returns the URL for the address to debug |render_view_host|.
+ virtual GURL GetFrontendURL(RenderViewHost* render_view_host) = 0;
+
protected:
virtual ~DevToolsHttpHandler() {}
};

Powered by Google App Engine
This is Rietveld 408576698