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

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

Issue 2821463002: Disable HTTP/2 Alternative Services. (Closed)
Patch Set: Revert change in histogram logic. Created 3 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
« 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 // Use SPDY ping frames to test for connection health after idle. 105 // Use SPDY ping frames to test for connection health after idle.
106 bool enable_spdy_ping_based_connection_checking; 106 bool enable_spdy_ping_based_connection_checking;
107 bool enable_http2; 107 bool enable_http2;
108 size_t spdy_session_max_recv_window_size; 108 size_t spdy_session_max_recv_window_size;
109 // HTTP/2 connection settings. 109 // HTTP/2 connection settings.
110 // Unknown settings will still be sent to the server. 110 // Unknown settings will still be sent to the server.
111 SettingsMap http2_settings; 111 SettingsMap http2_settings;
112 // Source of time for SPDY connections. 112 // Source of time for SPDY connections.
113 SpdySessionPool::TimeFunc time_func; 113 SpdySessionPool::TimeFunc time_func;
114 // Whether to enable HTTP/2 Alt-Svc entries with hostname different than 114 // Whether to enable HTTP/2 Alt-Svc entries.
115 // that of the origin. 115 bool enable_http2_alternative_service;
116 bool enable_http2_alternative_service_with_different_host;
117 // Whether to enable QUIC Alt-Svc entries with hostname different than that 116 // Whether to enable QUIC Alt-Svc entries with hostname different than that
118 // of the origin. 117 // of the origin.
119 bool enable_quic_alternative_service_with_different_host; 118 bool enable_quic_alternative_service_with_different_host;
120 119
121 // Enables QUIC support. 120 // Enables QUIC support.
122 bool enable_quic; 121 bool enable_quic;
123 // Marks a QUIC server broken when a connection blackholes after the 122 // Marks a QUIC server broken when a connection blackholes after the
124 // handshake is confirmed. 123 // handshake is confirmed.
125 bool mark_quic_broken_when_network_blackholes; 124 bool mark_quic_broken_when_network_blackholes;
126 // Retry requests which fail with QUIC_PROTOCOL_ERROR, and mark QUIC 125 // Retry requests which fail with QUIC_PROTOCOL_ERROR, and mark QUIC
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 NextProtoVector next_protos_; 350 NextProtoVector next_protos_;
352 351
353 Params params_; 352 Params params_;
354 353
355 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; 354 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
356 }; 355 };
357 356
358 } // namespace net 357 } // namespace net
359 358
360 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 359 #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