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

Side by Side Diff: net/http/http_network_session.h

Issue 1268313004: s/use_alternate_protocols/use_alternative_services/g (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: #15. Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « jingle/glue/proxy_resolving_client_socket.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // protocols are disabled. We should use some reasonable 92 // protocols are disabled. We should use some reasonable
93 // defaults. 93 // defaults.
94 NextProtoVector next_protos; 94 NextProtoVector next_protos;
95 size_t spdy_session_max_recv_window_size; 95 size_t spdy_session_max_recv_window_size;
96 size_t spdy_stream_max_recv_window_size; 96 size_t spdy_stream_max_recv_window_size;
97 size_t spdy_initial_max_concurrent_streams; 97 size_t spdy_initial_max_concurrent_streams;
98 SpdySessionPool::TimeFunc time_func; 98 SpdySessionPool::TimeFunc time_func;
99 std::string trusted_spdy_proxy; 99 std::string trusted_spdy_proxy;
100 // URLs to exclude from forced SPDY. 100 // URLs to exclude from forced SPDY.
101 std::set<HostPortPair> forced_spdy_exclusions; 101 std::set<HostPortPair> forced_spdy_exclusions;
102 // Noe: Using this in the case of NPN for HTTP only results in the browser 102 bool use_alternative_services;
103 // trying SSL and then falling back to http.
104 bool use_alternate_protocols;
105 double alternative_service_probability_threshold; 103 double alternative_service_probability_threshold;
106 104
107 bool enable_quic; 105 bool enable_quic;
108 bool enable_insecure_quic; 106 bool enable_insecure_quic;
109 bool enable_quic_for_proxies; 107 bool enable_quic_for_proxies;
110 bool enable_quic_port_selection; 108 bool enable_quic_port_selection;
111 bool quic_always_require_handshake_confirmation; 109 bool quic_always_require_handshake_confirmation;
112 bool quic_disable_connection_pooling; 110 bool quic_disable_connection_pooling;
113 float quic_load_server_info_timeout_srtt_multiplier; 111 float quic_load_server_info_timeout_srtt_multiplier;
114 bool quic_enable_connection_racing; 112 bool quic_enable_connection_racing;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 239
242 NextProtoVector next_protos_; 240 NextProtoVector next_protos_;
243 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 241 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
244 242
245 Params params_; 243 Params params_;
246 }; 244 };
247 245
248 } // namespace net 246 } // namespace net
249 247
250 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 248 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « jingle/glue/proxy_resolving_client_socket.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698