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

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

Issue 12326073: Remove the --use-spdy-over-quic command line option. Always use SPDY over QUIC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.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 "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/threading/non_thread_safe.h" 10 #include "base/threading/non_thread_safe.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 bool enable_spdy_compression; 76 bool enable_spdy_compression;
77 bool enable_spdy_ping_based_connection_checking; 77 bool enable_spdy_ping_based_connection_checking;
78 NextProto spdy_default_protocol; 78 NextProto spdy_default_protocol;
79 size_t spdy_stream_initial_recv_window_size; 79 size_t spdy_stream_initial_recv_window_size;
80 size_t spdy_initial_max_concurrent_streams; 80 size_t spdy_initial_max_concurrent_streams;
81 size_t spdy_max_concurrent_streams_limit; 81 size_t spdy_max_concurrent_streams_limit;
82 SpdySessionPool::TimeFunc time_func; 82 SpdySessionPool::TimeFunc time_func;
83 std::string trusted_spdy_proxy; 83 std::string trusted_spdy_proxy;
84 bool enable_quic; 84 bool enable_quic;
85 uint16 origin_port_to_force_quic_on; 85 uint16 origin_port_to_force_quic_on;
86 bool use_spdy_over_quic;
87 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. 86 QuicClock* quic_clock; // Will be owned by QuicStreamFactory.
88 QuicRandom* quic_random; 87 QuicRandom* quic_random;
89 bool enable_user_alternate_protocol_ports; 88 bool enable_user_alternate_protocol_ports;
90 }; 89 };
91 90
92 enum SocketPoolType { 91 enum SocketPoolType {
93 NORMAL_SOCKET_POOL, 92 NORMAL_SOCKET_POOL,
94 WEBSOCKET_SOCKET_POOL, 93 WEBSOCKET_SOCKET_POOL,
95 NUM_SOCKET_POOL_TYPES 94 NUM_SOCKET_POOL_TYPES
96 }; 95 };
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 SpdySessionPool spdy_session_pool_; 189 SpdySessionPool spdy_session_pool_;
191 scoped_ptr<HttpStreamFactory> http_stream_factory_; 190 scoped_ptr<HttpStreamFactory> http_stream_factory_;
192 std::set<HttpResponseBodyDrainer*> response_drainers_; 191 std::set<HttpResponseBodyDrainer*> response_drainers_;
193 192
194 Params params_; 193 Params params_;
195 }; 194 };
196 195
197 } // namespace net 196 } // namespace net
198 197
199 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 198 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698