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

Unified Diff: net/url_request/url_request_context_builder.cc

Issue 2919423002: Make URLRequestContextBuilderV8 Mojo-only. (Closed)
Patch Set: Response to comments, fix net Mojo tests on Android, change chrome/utility workaround approach 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
« no previous file with comments | « net/url_request/url_request_context_builder.h ('k') | net/url_request/url_request_context_builder_mojo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context_builder.cc
diff --git a/net/url_request/url_request_context_builder.cc b/net/url_request/url_request_context_builder.cc
index da9363077b19e2d240e6eec16901ce832efa24fd..30558b6dcafdccd053437fa3f01e55ad3e51cc8b 100644
--- a/net/url_request/url_request_context_builder.cc
+++ b/net/url_request/url_request_context_builder.cc
@@ -208,6 +208,8 @@ URLRequestContextBuilder::URLRequestContextBuilder()
sdch_enabled_(false),
cookie_store_set_by_client_(false),
net_log_(nullptr),
+ pac_quick_check_enabled_(true),
+ pac_sanitize_url_policy_(ProxyService::SanitizeUrlPolicy::SAFE),
socket_performance_watcher_factory_(nullptr) {
}
@@ -407,6 +409,8 @@ std::unique_ptr<URLRequestContext> URLRequestContextBuilder::Build() {
CreateProxyService(std::move(proxy_config_service_), context.get(),
context->host_resolver(),
context->network_delegate(), context->net_log());
+ proxy_service_->set_quick_check_enabled(pac_quick_check_enabled_);
+ proxy_service_->set_sanitize_url_policy(pac_sanitize_url_policy_);
}
storage->set_proxy_service(std::move(proxy_service_));
« no previous file with comments | « net/url_request/url_request_context_builder.h ('k') | net/url_request/url_request_context_builder_mojo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698