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 <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 Loading... |
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 Loading... |
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_ |
OLD | NEW |