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

Unified Diff: content/browser/content_browser_client.h

Issue 7309011: Remove dependencies on extensions from content/browser/debugger. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head. Created 9 years, 5 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/browser/debugger/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/content_browser_client.h
diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h
index 84ddae1a056a12df1c630a1a6d4d67e281acbfab..7de2b7176fe08fa83535d88c695f7c40ea6e5a1e 100644
--- a/content/browser/content_browser_client.h
+++ b/content/browser/content_browser_client.h
@@ -15,8 +15,10 @@
class BrowserRenderProcessHost;
class CommandLine;
+class DevToolsProtocolHandler;
class FilePath;
class GURL;
+class ListValue;
class PluginProcessHost;
class Profile;
class QuotaPermissionContext;
@@ -226,6 +228,16 @@ class ContentBrowserClient {
// Returns true if fast shutdown is possible.
virtual bool IsFastShutdownPossible() = 0;
+ // Adds any embedder-specific remote protocol handlers to the debugger.
+ virtual void RegisterDevToolsRemoteListeners(
+ DevToolsProtocolHandler* proto_handler) = 0;
+
+ // Adds values to |results| that should be passed to the debugger's
+ // |WebInspector.addExtensions| JavaScript function for the given
+ // debugger tab.
+ virtual void GetAdditionalStartPagesForDevTools(
+ TabContents* dev_tools_tab, ListValue* results) = 0;
+
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Can return an optional fd for crash handling, otherwise returns -1.
virtual int GetCrashSignalFD(const std::string& process_type) = 0;
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/browser/debugger/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698