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

Unified Diff: chrome/browser/ui/browser_init.cc

Issue 8776046: DevTools: allow custom front-end configuration for the remote debugging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_init.cc
diff --git a/chrome/browser/ui/browser_init.cc b/chrome/browser/ui/browser_init.cc
index ac3b17221f11c1a13d66c29c0ce5483b99e7d552..7a337196ed088dcba9bb39cf1a2e9e7f5b2e40d2 100644
--- a/chrome/browser/ui/browser_init.cc
+++ b/chrome/browser/ui/browser_init.cc
@@ -637,11 +637,16 @@ bool BrowserInit::LaunchWithProfile::Launch(
command_line_.GetSwitchValueASCII(switches::kRemoteDebuggingPort);
int64 port;
if (base::StringToInt64(port_str, &port) && port > 0 && port < 65535) {
+ std::string frontend_str;
+ if (command_line_.HasSwitch(switches::kRemoteDebuggingFrontend)) {
+ frontend_str = command_line_.GetSwitchValueASCII(
+ switches::kRemoteDebuggingFrontend);
yurys 2011/12/02 12:12:54 nit: wrong alignment
+ }
g_browser_process->InitDevToolsHttpProtocolHandler(
profile,
"127.0.0.1",
static_cast<int>(port),
- "");
+ frontend_str);
} else {
DLOG(WARNING) << "Invalid http debugger port number " << port;
}
« no previous file with comments | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698