Chromium Code Reviews| Index: chrome/browser/chrome_browser_main.cc |
| diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
| index 9d0d9dabddc1bbb7630714fc4ef4848fdfc89dae..9c975e31271993068ffdb00ac6095962fa7a8d3a 100644 |
| --- a/chrome/browser/chrome_browser_main.cc |
| +++ b/chrome/browser/chrome_browser_main.cc |
| @@ -1391,20 +1391,8 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { |
| browser_process_->intranet_redirect_detector(); |
| GoogleSearchCounter::RegisterForNotifications(); |
| - if (parsed_command_line().HasSwitch(switches::kEnableSdch)) { |
| - // SDCH options via switches::kEnableSdch include: |
| - const int kSdchDisabled = 0; |
| - const int kSdchOverHttpEnabled = 1; |
| - const int kSdchOverBothHttpAndHttpsEnabled = 2; |
| - int sdch_enabled = kSdchOverHttpEnabled; |
| - if (base::StringToInt(parsed_command_line().GetSwitchValueASCII( |
| - switches::kEnableSdch), &sdch_enabled)) { |
| - if (sdch_enabled == kSdchDisabled) { |
| - net::SdchManager::EnableSdchSupport(false); |
|
mef
2014/02/24 21:41:37
Is it OK that if we remove this option, then there
willchan no longer on Chromium
2014/02/24 21:45:57
I assert yes, according to the policies laid out i
|
| - } else if (sdch_enabled == kSdchOverBothHttpAndHttpsEnabled) { |
| - net::SdchManager::EnableSecureSchemeSupport(true); |
| - } |
| - } |
| + if (parsed_command_line().HasSwitch(switches::kEnableSdchOverHttps)) { |
|
mef
2014/02/24 21:41:37
Would it make sense to replace command line switch
willchan no longer on Chromium
2014/02/24 21:45:57
I dunno. It's up to you :)
|
| + net::SdchManager::EnableSecureSchemeSupport(true); |
| } |
| if (parsed_command_line().HasSwitch(switches::kEnableWatchdog)) |