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

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

Issue 8635005: DevTools: remove support for legacy remote debugger (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed tests compilation Created 9 years, 1 month 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/debugger/inspectable_tab_proxy.cc ('k') | chrome/chrome.gyp » ('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 6d2661a3cfc66d279d96c8a76eb1e65b0cba3d0b..3e485073d5543807a5c4fd4b2d72d2615126377d 100644
--- a/chrome/browser/ui/browser_init.cc
+++ b/chrome/browser/ui/browser_init.cc
@@ -672,17 +672,7 @@ bool BrowserInit::LaunchWithProfile::Launch(
if (command_line_.HasSwitch(switches::kDumpHistogramsOnExit))
base::StatisticsRecorder::set_dump_on_exit(true);
- if (command_line_.HasSwitch(switches::kRemoteShellPort)) {
- std::string port_str =
- command_line_.GetSwitchValueASCII(switches::kRemoteShellPort);
- int64 port;
- if (base::StringToInt64(port_str, &port) && port > 0 && port < 65535) {
- g_browser_process->InitDevToolsLegacyProtocolHandler(
- static_cast<int>(port));
- } else {
- DLOG(WARNING) << "Invalid remote shell port number " << port;
- }
- } else if (command_line_.HasSwitch(switches::kRemoteDebuggingPort)) {
+ if (command_line_.HasSwitch(switches::kRemoteDebuggingPort)) {
std::string port_str =
command_line_.GetSwitchValueASCII(switches::kRemoteDebuggingPort);
int64 port;
« no previous file with comments | « chrome/browser/debugger/inspectable_tab_proxy.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698