From 24c906804cc8d4e83da934a038ba3aca07db80bd Mon Sep 17 00:00:00 2001 From: "ericroman@google.com" Date: Fri, 3 Apr 2009 21:13:33 +0000 Subject: 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 --- chrome/browser/net/chrome_url_request_context.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/browser') 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 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 -- cgit v1.1