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

Unified Diff: components/cronet/android/cronet_url_request_context_adapter.cc

Issue 2944313003: Remove the dependence on BrowserThread::FILE for (Closed)
Patch Set: address mmenke's comments Created 3 years, 6 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
Index: components/cronet/android/cronet_url_request_context_adapter.cc
diff --git a/components/cronet/android/cronet_url_request_context_adapter.cc b/components/cronet/android/cronet_url_request_context_adapter.cc
index a01ee30cd363f8602ad4fe803ae4f2735e8ce836..5274d9e69b88fbfa28e1116a5cbc3956c95cf9df 100644
--- a/components/cronet/android/cronet_url_request_context_adapter.cc
+++ b/components/cronet/android/cronet_url_request_context_adapter.cc
@@ -511,8 +511,8 @@ void CronetURLRequestContextAdapter::InitRequestContextOnInitThread(
const JavaParamRef<jobject>& jcaller) {
base::android::ScopedJavaGlobalRef<jobject> jcaller_ref;
jcaller_ref.Reset(env, jcaller);
- proxy_config_service_ = net::ProxyService::CreateSystemProxyConfigService(
- GetNetworkTaskRunner(), nullptr /* Ignored on Android */);
+ proxy_config_service_ =
+ net::ProxyService::CreateSystemProxyConfigService(GetNetworkTaskRunner());
net::ProxyConfigServiceAndroid* android_proxy_config_service =
static_cast<net::ProxyConfigServiceAndroid*>(proxy_config_service_.get());
// If a PAC URL is present, ignore it and use the address and port of
« no previous file with comments | « chrome/service/net/service_url_request_context_getter.cc ('k') | components/proxy_config/ios/proxy_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698