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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 void ActivateSession(const QuicServerId& key, | 215 void ActivateSession(const QuicServerId& key, |
216 QuicClientSession* session); | 216 QuicClientSession* session); |
217 | 217 |
218 // Initializes the cached state associated with |server_id| in | 218 // Initializes the cached state associated with |server_id| in |
219 // |crypto_config_| with the information in |server_info|. | 219 // |crypto_config_| with the information in |server_info|. |
220 void InitializeCachedStateInCryptoConfig( | 220 void InitializeCachedStateInCryptoConfig( |
221 const QuicServerId& server_id, | 221 const QuicServerId& server_id, |
222 const scoped_ptr<QuicServerInfo>& server_info); | 222 const scoped_ptr<QuicServerInfo>& server_info); |
223 | 223 |
224 void ProcessGoingAwaySession(QuicClientSession* session, | 224 void ProcessGoingAwaySession(QuicClientSession* session, |
225 const QuicServerId& server_id); | 225 const QuicServerId& server_id, |
| 226 bool was_session_active); |
226 | 227 |
227 bool require_confirmation_; | 228 bool require_confirmation_; |
228 HostResolver* host_resolver_; | 229 HostResolver* host_resolver_; |
229 ClientSocketFactory* client_socket_factory_; | 230 ClientSocketFactory* client_socket_factory_; |
230 base::WeakPtr<HttpServerProperties> http_server_properties_; | 231 base::WeakPtr<HttpServerProperties> http_server_properties_; |
231 CertVerifier* cert_verifier_; | 232 CertVerifier* cert_verifier_; |
232 QuicServerInfoFactory* quic_server_info_factory_; | 233 QuicServerInfoFactory* quic_server_info_factory_; |
233 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_; | 234 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_; |
234 QuicRandom* random_generator_; | 235 QuicRandom* random_generator_; |
235 scoped_ptr<QuicClock> clock_; | 236 scoped_ptr<QuicClock> clock_; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 uint64 port_seed_; | 278 uint64 port_seed_; |
278 | 279 |
279 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; | 280 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; |
280 | 281 |
281 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); | 282 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); |
282 }; | 283 }; |
283 | 284 |
284 } // namespace net | 285 } // namespace net |
285 | 286 |
286 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ | 287 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ |
OLD | NEW |