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; |