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

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

Issue 2141993002: Remove many-many SpdyMajorVersion and NextProto arguments and members. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove OnSynStream() and OnSynReply(). Created 4 years, 5 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 | « net/http/bidirectional_stream_unittest.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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 NetLog* net_log; 80 NetLog* net_log;
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;
91 bool enable_http2; 90 bool enable_http2;
92 size_t spdy_session_max_recv_window_size; 91 size_t spdy_session_max_recv_window_size;
93 size_t spdy_stream_max_recv_window_size; 92 size_t spdy_stream_max_recv_window_size;
94 // Source of time for SPDY connections. 93 // Source of time for SPDY connections.
95 SpdySessionPool::TimeFunc time_func; 94 SpdySessionPool::TimeFunc time_func;
96 // Whether to enable HTTP/2 Alt-Svc entries with hostname different than 95 // Whether to enable HTTP/2 Alt-Svc entries with hostname different than
97 // that of the origin. 96 // that of the origin.
98 bool enable_http2_alternative_service_with_different_host; 97 bool enable_http2_alternative_service_with_different_host;
99 // Whether to enable QUIC Alt-Svc entries with hostname different than that 98 // Whether to enable QUIC Alt-Svc entries with hostname different than that
100 // of the origin. 99 // of the origin.
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 292
294 NextProtoVector next_protos_; 293 NextProtoVector next_protos_;
295 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 294 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
296 295
297 Params params_; 296 Params params_;
298 }; 297 };
299 298
300 } // namespace net 299 } // namespace net
301 300
302 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 301 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « net/http/bidirectional_stream_unittest.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698