summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main.cc
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-21 21:49:49 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-21 21:49:49 +0000
commit27b5ce9bb27f6c4aa60931cea1c3bab2ed3b9e47 (patch)
treebbfa5cdeaa465f9772c23d48ec0ff2d22a631fb2 /chrome/browser/browser_main.cc
parent209fe9f0fb738e0771f10d68bcc97fce77494a68 (diff)
downloadchromium_src-27b5ce9bb27f6c4aa60931cea1c3bab2ed3b9e47.zip
chromium_src-27b5ce9bb27f6c4aa60931cea1c3bab2ed3b9e47.tar.gz
chromium_src-27b5ce9bb27f6c4aa60931cea1c3bab2ed3b9e47.tar.bz2
Change the default http stack for chrome.exe from winhttp to the new one.
http://code.google.com/p/chromium/issues/detail?id=2645 Review URL: http://codereview.chromium.org/7668 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3693 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r--chrome/browser/browser_main.cc5
1 files changed, 2 insertions, 3 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;