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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator_impl.cc

Issue 11412281: Moved dev tools initialization bit earlier for ChromeOS browser start. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: chrome/browser/ui/startup/startup_browser_creator_impl.cc
diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
index 9b15ebaee3aee778856ea22437f4f015fda3fefe..78389b5df0185a14aa049e7f86e975c076f3c85d 100644
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
@@ -345,26 +345,6 @@ bool StartupBrowserCreatorImpl::Launch(Profile* profile,
if (command_line_.HasSwitch(switches::kDumpHistogramsOnExit))
base::StatisticsRecorder::set_dump_on_exit(true);
- if (command_line_.HasSwitch(switches::kRemoteDebuggingPort)) {
- std::string port_str =
- 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);
- }
- g_browser_process->CreateDevToolsHttpProtocolHandler(
- profile,
- "127.0.0.1",
- static_cast<int>(port),
- frontend_str);
- } else {
- DLOG(WARNING) << "Invalid http debugger port number " << port;
- }
- }
-
#if defined(ENABLE_APP_LIST)
app_list_controller::CheckAppListTaskbarShortcut();
if (command_line_.HasSwitch(switches::kShowAppList)) {
« chrome/browser/chrome_browser_main.cc ('K') | « chrome/browser/chrome_browser_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698