diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-03 21:13:33 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-03 21:13:33 +0000 |
commit | 24c906804cc8d4e83da934a038ba3aca07db80bd (patch) | |
tree | c2b3ccdce6b50fabd8827eb24ae8cbcfec96a494 /chrome/browser | |
parent | 0b97e76bef94eb1a70c873d5dbdba531b3943e95 (diff) | |
download | chromium_src-24c906804cc8d4e83da934a038ba3aca07db80bd.zip chromium_src-24c906804cc8d4e83da934a038ba3aca07db80bd.tar.gz chromium_src-24c906804cc8d4e83da934a038ba3aca07db80bd.tar.bz2 |
Make ProxyResolverV8 the default.
Replace the flag --v8-proxy-resolver with --winhttp-proxy-resolver to reflect new default.
BUG=74,2764
Review URL: http://codereview.chromium.org/62022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13110 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/net/chrome_url_request_context.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/net/chrome_url_request_context.cc b/chrome/browser/net/chrome_url_request_context.cc index 81af0d4..ce76e69 100644 --- a/chrome/browser/net/chrome_url_request_context.cc +++ b/chrome/browser/net/chrome_url_request_context.cc @@ -43,7 +43,7 @@ static net::ProxyService* CreateProxyService(URLRequestContext* context, const CommandLine& command_line) { scoped_ptr<net::ProxyInfo> proxy_info(CreateProxyInfo(command_line)); - bool use_v8 = command_line.HasSwitch(switches::kV8ProxyResolver); + bool use_v8 = !command_line.HasSwitch(switches::kWinHttpProxyResolver); if (use_v8 && command_line.HasSwitch(switches::kSingleProcess)) { // See the note about V8 multithreading in net/proxy/proxy_resolver_v8.h // to understand why we have this limitation. @@ -52,8 +52,8 @@ static net::ProxyService* CreateProxyService(URLRequestContext* context, } return use_v8 ? - net::ProxyService::CreateUsingV8Resolver(proxy_info.get(), context) : - net::ProxyService::Create(proxy_info.get()); + net::ProxyService::CreateUsingV8Resolver(proxy_info.get(), context) : + net::ProxyService::Create(proxy_info.get()); } // static |