diff options
-rw-r--r-- | chrome/browser/browser_main.cc | 5 | ||||
-rw-r--r-- | chrome/common/chrome_switches.cc | 4 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 2 |
3 files changed, 5 insertions, 6 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index 104a93f..a35bce3 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -295,9 +295,8 @@ int BrowserMain(CommandLine &parsed_command_line, int show_command, #if defined(OS_WIN) // Make the selection of network stacks early on before any consumers try to // issue HTTP requests. - net::HttpNetworkLayer::UseWinHttp(true); - if (parsed_command_line.HasSwitch(switches::kUseNewHttp)) - net::HttpNetworkLayer::UseWinHttp(false); + if (parsed_command_line.HasSwitch(switches::kUseWinHttp)) + net::HttpNetworkLayer::UseWinHttp(true); #endif std::wstring user_data_dir; diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 3428318..b751d3b 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -312,8 +312,8 @@ const wchar_t kGearsPluginPathOverride[] = L"gears-plugin-path"; // Switch to load Gears in the renderer process. const wchar_t kGearsInRenderer[] = L"gears-in-renderer"; -// Enable new HTTP stack. -const wchar_t kUseNewHttp[] = L"new-http"; +// Enable winhttp HTTP stack. +const wchar_t kUseWinHttp[] = L"winhttp"; // Enable the fastback page cache. const wchar_t kEnableFastback[] = L"enable-fastback"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 19b3ae6..b252e49 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -118,7 +118,7 @@ extern const wchar_t kGearsPluginPathOverride[]; extern const wchar_t kGearsInRenderer[]; -extern const wchar_t kUseNewHttp[]; +extern const wchar_t kUseWinHttp[]; extern const wchar_t kEnableFastback[]; |