Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2949)

Unified Diff: chrome/browser/net/connection_tester.cc

Issue 10874077: net: Add a new target 'net_with_v8'. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fuck win - I hate you Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/net/proxy_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/connection_tester.cc
diff --git a/chrome/browser/net/connection_tester.cc b/chrome/browser/net/connection_tester.cc
index 2303acae4903f00aacfec5561d7c6d385a742c7f..2bebe6e419bc912a1b7fd75031eefb769f5e1a6d 100644
--- a/chrome/browser/net/connection_tester.cc
+++ b/chrome/browser/net/connection_tester.cc
@@ -31,6 +31,7 @@
#include "net/proxy/proxy_config_service_fixed.h"
#include "net/proxy/proxy_script_fetcher_impl.h"
#include "net/proxy/proxy_service.h"
+#include "net/proxy/proxy_service_v8.h"
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_context_storage.h"
@@ -192,14 +193,14 @@ class ExperimentURLRequestContext : public net::URLRequestContext {
}
experiment_proxy_service->reset(
- net::ProxyService::CreateUsingV8ProxyResolver(
- proxy_config_service->release(),
- 0u,
- new net::ProxyScriptFetcherImpl(proxy_request_context_),
- dhcp_factory.Create(proxy_request_context_),
- host_resolver(),
- NULL,
- NULL));
+ net::CreateProxyServiceUsingV8ProxyResolver(
+ proxy_config_service->release(),
+ 0u,
+ new net::ProxyScriptFetcherImpl(proxy_request_context_),
+ dhcp_factory.Create(proxy_request_context_),
+ host_resolver(),
+ NULL,
+ NULL));
return net::OK;
}
« no previous file with comments | « no previous file | chrome/browser/net/proxy_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698