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

Unified Diff: net/url_request/url_request_context_builder.h

Issue 2892613002: IOThread: Use URLRequestContextBuilder::NetworkSessionParams. (Closed)
Patch Set: Merge 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 | « net/quic/core/quic_versions.h ('k') | 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 45526b0aca6ee0eadebd31643ee0e600d46160ed..f4f68a94bb0512742274ec631f6466bfc3734e89 100644
--- a/net/url_request/url_request_context_builder.h
+++ b/net/url_request/url_request_context_builder.h
@@ -18,6 +18,7 @@
#include <map>
#include <memory>
+#include <set>
#include <string>
#include <unordered_map>
#include <utility>
@@ -27,6 +28,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "build/build_config.h"
+#include "net/base/host_port_pair.h"
#include "net/base/net_export.h"
#include "net/base/network_delegate.h"
#include "net/base/proxy_delegate.h"
@@ -36,6 +38,7 @@
#include "net/proxy/proxy_config_service.h"
#include "net/proxy/proxy_service.h"
#include "net/quic/core/quic_packets.h"
+#include "net/quic/core/quic_versions.h"
#include "net/socket/next_proto.h"
#include "net/url_request/url_request_job_factory.h"
@@ -88,7 +91,7 @@ class NET_EXPORT URLRequestContextBuilder {
HttpNetworkSessionParams();
~HttpNetworkSessionParams();
- // Configutes |params| to match the settings in |this|.
+ // Configures |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;
@@ -98,17 +101,28 @@ class NET_EXPORT URLRequestContextBuilder {
bool ignore_certificate_errors;
uint16_t testing_fixed_http_port;
uint16_t testing_fixed_https_port;
+ int enable_tcp_fast_open_for_ssl;
+ bool enable_user_alternate_protocol_ports;
+
bool enable_http2;
+
bool enable_quic;
+ QuicVersionVector quic_supported_versions;
+ size_t quic_max_packet_length;
std::string quic_user_agent_id;
int quic_max_server_configs_stored_in_properties;
QuicTagVector quic_connection_options;
+ std::set<HostPortPair> origins_to_force_quic_on;
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;
bool quic_race_cert_verification;
+
+ bool enable_token_binding;
+
+ bool http_09_on_non_default_ports_enabled;
};
URLRequestContextBuilder();
« no previous file with comments | « net/quic/core/quic_versions.h ('k') | net/url_request/url_request_context_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698