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_QUIC_QUIC_STREAM_FACTORY_H_ | 5 #ifndef NET_QUIC_QUIC_STREAM_FACTORY_H_ |
6 #define NET_QUIC_QUIC_STREAM_FACTORY_H_ | 6 #define NET_QUIC_QUIC_STREAM_FACTORY_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 const scoped_ptr<QuicServerInfo>& server_info); | 231 const scoped_ptr<QuicServerInfo>& server_info); |
232 | 232 |
233 void ProcessGoingAwaySession(QuicClientSession* session, | 233 void ProcessGoingAwaySession(QuicClientSession* session, |
234 const QuicServerId& server_id, | 234 const QuicServerId& server_id, |
235 bool was_session_active); | 235 bool was_session_active); |
236 | 236 |
237 bool require_confirmation_; | 237 bool require_confirmation_; |
238 HostResolver* host_resolver_; | 238 HostResolver* host_resolver_; |
239 ClientSocketFactory* client_socket_factory_; | 239 ClientSocketFactory* client_socket_factory_; |
240 base::WeakPtr<HttpServerProperties> http_server_properties_; | 240 base::WeakPtr<HttpServerProperties> http_server_properties_; |
241 TransportSecurityState* transport_security_state_; | |
242 QuicServerInfoFactory* quic_server_info_factory_; | 241 QuicServerInfoFactory* quic_server_info_factory_; |
243 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_; | 242 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_; |
244 QuicRandom* random_generator_; | 243 QuicRandom* random_generator_; |
245 scoped_ptr<QuicClock> clock_; | 244 scoped_ptr<QuicClock> clock_; |
246 const size_t max_packet_length_; | 245 const size_t max_packet_length_; |
247 | 246 |
248 // The helper used for all connections. | 247 // The helper used for all connections. |
249 scoped_ptr<QuicConnectionHelper> helper_; | 248 scoped_ptr<QuicConnectionHelper> helper_; |
250 | 249 |
251 // Contains owning pointers to all sessions that currently exist. | 250 // Contains owning pointers to all sessions that currently exist. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 uint64 port_seed_; | 283 uint64 port_seed_; |
285 | 284 |
286 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; | 285 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; |
287 | 286 |
288 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); | 287 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); |
289 }; | 288 }; |
290 | 289 |
291 } // namespace net | 290 } // namespace net |
292 | 291 |
293 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ | 292 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ |
OLD | NEW |