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

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

Issue 1091283007: Rename methods and members and const variables to alternative service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 size_t spdy_stream_max_recv_window_size; 97 size_t spdy_stream_max_recv_window_size;
98 size_t spdy_initial_max_concurrent_streams; 98 size_t spdy_initial_max_concurrent_streams;
99 size_t spdy_max_concurrent_streams_limit; 99 size_t spdy_max_concurrent_streams_limit;
100 SpdySessionPool::TimeFunc time_func; 100 SpdySessionPool::TimeFunc time_func;
101 std::string trusted_spdy_proxy; 101 std::string trusted_spdy_proxy;
102 // URLs to exclude from forced SPDY. 102 // URLs to exclude from forced SPDY.
103 std::set<HostPortPair> forced_spdy_exclusions; 103 std::set<HostPortPair> forced_spdy_exclusions;
104 // Noe: Using this in the case of NPN for HTTP only results in the browser 104 // Noe: Using this in the case of NPN for HTTP only results in the browser
105 // trying SSL and then falling back to http. 105 // trying SSL and then falling back to http.
106 bool use_alternate_protocols; 106 bool use_alternate_protocols;
107 double alternate_protocol_probability_threshold; 107 double alternative_service_probability_threshold;
108 108
109 bool enable_quic; 109 bool enable_quic;
110 bool enable_quic_for_proxies; 110 bool enable_quic_for_proxies;
111 bool enable_quic_port_selection; 111 bool enable_quic_port_selection;
112 bool quic_always_require_handshake_confirmation; 112 bool quic_always_require_handshake_confirmation;
113 bool quic_disable_connection_pooling; 113 bool quic_disable_connection_pooling;
114 float quic_load_server_info_timeout_srtt_multiplier; 114 float quic_load_server_info_timeout_srtt_multiplier;
115 bool quic_enable_connection_racing; 115 bool quic_enable_connection_racing;
116 bool quic_enable_non_blocking_io; 116 bool quic_enable_non_blocking_io;
117 bool quic_disable_disk_cache; 117 bool quic_disable_disk_cache;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 240
241 NextProtoVector next_protos_; 241 NextProtoVector next_protos_;
242 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 242 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
243 243
244 Params params_; 244 Params params_;
245 }; 245 };
246 246
247 } // namespace net 247 } // namespace net
248 248
249 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 249 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698