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

Unified Diff: chrome/browser/browser_process_impl.h

Issue 6356015: DevTools: enable remote debugging with front-end served from the cloud. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Lint Created 9 years, 11 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/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.h
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
index d3c03c5478f3b0e0e6739baed37ac42e856f79b1..5a19629ad5083333fec84b808dac3b104c64fdb5 100644
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
@@ -28,7 +28,8 @@
class ChromeNetLog;
class CommandLine;
-class DebuggerWrapper;
+class DevToolsHttpProtocolHandler;
+class DevToolsProtocolHandler;
class FilePath;
class NotificationService;
class PluginDataRemover;
@@ -66,7 +67,10 @@ class BrowserProcessImpl : public BrowserProcess,
virtual IconManager* icon_manager();
virtual ThumbnailGenerator* GetThumbnailGenerator();
virtual AutomationProviderList* InitAutomationProviderList();
- virtual void InitDebuggerWrapper(int port, bool useHttp);
+ virtual void InitDevToolsHttpProtocolHandler(
+ int port,
+ const std::string& frontend_url);
+ virtual void InitDevToolsLegacyProtocolHandler(int port);
virtual unsigned int AddRefModule();
virtual unsigned int ReleaseModule();
virtual bool IsShuttingDown();
@@ -121,7 +125,6 @@ class BrowserProcessImpl : public BrowserProcess,
void CreateLocalState();
void CreateViewedPageTracker();
void CreateIconManager();
- void CreateDebuggerWrapper(int port, bool useHttp);
void CreateDevToolsManager();
void CreateSidebarManager();
void CreateGoogleURLTracker();
@@ -172,8 +175,9 @@ class BrowserProcessImpl : public BrowserProcess,
bool created_icon_manager_;
scoped_ptr<IconManager> icon_manager_;
- bool created_debugger_wrapper_;
- scoped_refptr<DebuggerWrapper> debugger_wrapper_;
+ scoped_refptr<DevToolsHttpProtocolHandler> devtools_http_handler_;
+
+ scoped_refptr<DevToolsProtocolHandler> devtools_legacy_handler_;
bool created_devtools_manager_;
scoped_refptr<DevToolsManager> devtools_manager_;
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698