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/url_request_context_config.cc

Issue 2567093002: [cronet] Add a Builder class for UrlRequestContextConfig (Closed)
Patch Set: try fixing build (per #19) Created 3 years, 11 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 | « components/cronet/url_request_context_config.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/url_request_context_config.cc
diff --git a/components/cronet/url_request_context_config.cc b/components/cronet/url_request_context_config.cc
index b93bf3d777a08880b77a8aafc69874ccabafe856..5e1bc351f13c079beaa404ef571bb23fba1b6785 100644
--- a/components/cronet/url_request_context_config.cc
+++ b/components/cronet/url_request_context_config.cc
@@ -392,4 +392,19 @@ void URLRequestContextConfig::ConfigureURLRequestContextBuilder(
// TODO(mef): Use |config| to set cookies.
}
+URLRequestContextConfigBuilder::URLRequestContextConfigBuilder() {}
+URLRequestContextConfigBuilder::~URLRequestContextConfigBuilder() {}
+
+std::unique_ptr<URLRequestContextConfig>
+URLRequestContextConfigBuilder::Build() {
+ return base::MakeUnique<URLRequestContextConfig>(
+ enable_quic, quic_user_agent_id, enable_spdy, enable_sdch, http_cache,
+ http_cache_max_size, load_disable_cache, storage_path, user_agent,
+ experimental_options, data_reduction_proxy_key,
+ data_reduction_primary_proxy, data_reduction_fallback_proxy,
+ data_reduction_secure_proxy_check_url, std::move(mock_cert_verifier),
+ enable_network_quality_estimator,
+ bypass_public_key_pinning_for_local_trust_anchors, cert_verifier_data);
+}
+
} // namespace cronet
« no previous file with comments | « components/cronet/url_request_context_config.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698