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

Unified Diff: net/url_request/url_request_context_builder.h

Issue 2876243002: Add method to init HttpNetworkSession::Params from context bulder params (Closed)
Patch Set: Oops, base on top of trunk Created 3 years, 7 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 | net/url_request/url_request_context_builder.cc » ('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.h
diff --git a/net/url_request/url_request_context_builder.h b/net/url_request/url_request_context_builder.h
index cc5448d09dae332648c330b1d6d2b63d7199687e..2c0443789216832c01aa0262da29aa9fd820631f 100644
--- a/net/url_request/url_request_context_builder.h
+++ b/net/url_request/url_request_context_builder.h
@@ -88,18 +88,23 @@ class NET_EXPORT URLRequestContextBuilder {
HttpNetworkSessionParams();
~HttpNetworkSessionParams();
+ // Configutes |params| to match the settings in |this|.
+ // TODO(mmenke): Temporary utility function. Once everything is using a
+ // URLRequestContextBuilder, can make this no longer publicly accessible.
+ void ConfigureSessionParams(HttpNetworkSession::Params* params) const;
+
// These fields mirror those in HttpNetworkSession::Params;
- bool ignore_certificate_errors;
HostMappingRules* host_mapping_rules;
+ bool ignore_certificate_errors;
uint16_t testing_fixed_http_port;
uint16_t testing_fixed_https_port;
bool enable_http2;
bool enable_quic;
std::string quic_user_agent_id;
int quic_max_server_configs_stored_in_properties;
- int quic_idle_connection_timeout_seconds;
QuicTagVector quic_connection_options;
bool quic_close_sessions_on_ip_change;
+ int quic_idle_connection_timeout_seconds;
bool quic_migrate_sessions_on_network_change;
bool quic_migrate_sessions_early;
bool quic_disable_bidirectional_streams;
« no previous file with comments | « no previous file | net/url_request/url_request_context_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698