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_credential_frames; | 76 bool enable_spdy_credential_frames; |
77 bool enable_spdy_compression; | 77 bool enable_spdy_compression; |
78 bool enable_spdy_ping_based_connection_checking; | 78 bool enable_spdy_ping_based_connection_checking; |
79 NextProto spdy_default_protocol; | 79 NextProto spdy_default_protocol; |
80 size_t spdy_stream_initial_recv_window_size; | 80 size_t spdy_stream_initial_recv_window_size; |
81 size_t spdy_initial_max_concurrent_streams; | 81 size_t spdy_initial_max_concurrent_streams; |
82 size_t spdy_max_concurrent_streams_limit; | 82 size_t spdy_max_concurrent_streams_limit; |
83 SpdySessionPool::TimeFunc time_func; | 83 SpdySessionPool::TimeFunc time_func; |
84 std::string trusted_spdy_proxy; | 84 std::string trusted_spdy_proxy; |
85 bool enable_quic; | 85 bool enable_quic; |
86 uint16 origin_port_to_force_quic_on; | 86 HostPortPair origin_to_force_quic_on; |
87 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. | 87 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. |
88 QuicRandom* quic_random; | 88 QuicRandom* quic_random; |
89 bool enable_user_alternate_protocol_ports; | 89 bool enable_user_alternate_protocol_ports; |
90 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; | 90 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; |
91 }; | 91 }; |
92 | 92 |
93 enum SocketPoolType { | 93 enum SocketPoolType { |
94 NORMAL_SOCKET_POOL, | 94 NORMAL_SOCKET_POOL, |
95 WEBSOCKET_SOCKET_POOL, | 95 WEBSOCKET_SOCKET_POOL, |
96 NUM_SOCKET_POOL_TYPES | 96 NUM_SOCKET_POOL_TYPES |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 SpdySessionPool spdy_session_pool_; | 191 SpdySessionPool spdy_session_pool_; |
192 scoped_ptr<HttpStreamFactory> http_stream_factory_; | 192 scoped_ptr<HttpStreamFactory> http_stream_factory_; |
193 std::set<HttpResponseBodyDrainer*> response_drainers_; | 193 std::set<HttpResponseBodyDrainer*> response_drainers_; |
194 | 194 |
195 Params params_; | 195 Params params_; |
196 }; | 196 }; |
197 | 197 |
198 } // namespace net | 198 } // namespace net |
199 | 199 |
200 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 200 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |