OLD | NEW |
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 HostMappingRules* host_mapping_rules; | 81 HostMappingRules* host_mapping_rules; |
82 SocketPerformanceWatcherFactory* socket_performance_watcher_factory; | 82 SocketPerformanceWatcherFactory* socket_performance_watcher_factory; |
83 bool ignore_certificate_errors; | 83 bool ignore_certificate_errors; |
84 uint16_t testing_fixed_http_port; | 84 uint16_t testing_fixed_http_port; |
85 uint16_t testing_fixed_https_port; | 85 uint16_t testing_fixed_https_port; |
86 bool enable_tcp_fast_open_for_ssl; | 86 bool enable_tcp_fast_open_for_ssl; |
87 | 87 |
88 // Use SPDY ping frames to test for connection health after idle. | 88 // Use SPDY ping frames to test for connection health after idle. |
89 bool enable_spdy_ping_based_connection_checking; | 89 bool enable_spdy_ping_based_connection_checking; |
90 NextProto spdy_default_protocol; | 90 NextProto spdy_default_protocol; |
91 bool enable_spdy31; | |
92 bool enable_http2; | 91 bool enable_http2; |
93 size_t spdy_session_max_recv_window_size; | 92 size_t spdy_session_max_recv_window_size; |
94 size_t spdy_stream_max_recv_window_size; | 93 size_t spdy_stream_max_recv_window_size; |
95 // Source of time for SPDY connections. | 94 // Source of time for SPDY connections. |
96 SpdySessionPool::TimeFunc time_func; | 95 SpdySessionPool::TimeFunc time_func; |
97 // Whether to enable HTTP/2 Alt-Svc entries with hostname different than | 96 // Whether to enable HTTP/2 Alt-Svc entries with hostname different than |
98 // that of the origin. | 97 // that of the origin. |
99 bool enable_http2_alternative_service_with_different_host; | 98 bool enable_http2_alternative_service_with_different_host; |
100 // Whether to enable QUIC Alt-Svc entries with hostname different than that | 99 // Whether to enable QUIC Alt-Svc entries with hostname different than that |
101 // of the origin. | 100 // of the origin. |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 | 291 |
293 NextProtoVector next_protos_; | 292 NextProtoVector next_protos_; |
294 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 293 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
295 | 294 |
296 Params params_; | 295 Params params_; |
297 }; | 296 }; |
298 | 297 |
299 } // namespace net | 298 } // namespace net |
300 | 299 |
301 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 300 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |