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_CHROMIUM_QUIC_STREAM_FACTORY_H_ | 5 #ifndef NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ |
6 #define NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ | 6 #define NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 ChannelIDService* channel_id_service, | 200 ChannelIDService* channel_id_service, |
201 TransportSecurityState* transport_security_state, | 201 TransportSecurityState* transport_security_state, |
202 CTVerifier* cert_transparency_verifier, | 202 CTVerifier* cert_transparency_verifier, |
203 SocketPerformanceWatcherFactory* socket_performance_watcher_factory, | 203 SocketPerformanceWatcherFactory* socket_performance_watcher_factory, |
204 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, | 204 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, |
205 QuicRandom* random_generator, | 205 QuicRandom* random_generator, |
206 QuicClock* clock, | 206 QuicClock* clock, |
207 size_t max_packet_length, | 207 size_t max_packet_length, |
208 const std::string& user_agent_id, | 208 const std::string& user_agent_id, |
209 const QuicVersionVector& supported_versions, | 209 const QuicVersionVector& supported_versions, |
210 bool enable_non_blocking_io, | |
211 bool store_server_configs_in_properties, | 210 bool store_server_configs_in_properties, |
212 bool close_sessions_on_ip_change, | 211 bool close_sessions_on_ip_change, |
213 bool mark_quic_broken_when_network_blackholes, | 212 bool mark_quic_broken_when_network_blackholes, |
214 int idle_connection_timeout_seconds, | 213 int idle_connection_timeout_seconds, |
215 int reduced_ping_timeout_seconds, | 214 int reduced_ping_timeout_seconds, |
216 int packet_reader_yield_after_duration_milliseconds, | 215 int packet_reader_yield_after_duration_milliseconds, |
217 bool migrate_sessions_on_network_change, | 216 bool migrate_sessions_on_network_change, |
218 bool migrate_sessions_early, | 217 bool migrate_sessions_early, |
219 bool allow_server_migration, | 218 bool allow_server_migration, |
220 bool force_hol_blocking, | 219 bool force_hol_blocking, |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 | 517 |
519 JobMap active_jobs_; | 518 JobMap active_jobs_; |
520 // Map from QuicServerId to a set of non-owning QuicStreamRequest pointers. | 519 // Map from QuicServerId to a set of non-owning QuicStreamRequest pointers. |
521 ServerIDRequestsMap job_requests_map_; | 520 ServerIDRequestsMap job_requests_map_; |
522 | 521 |
523 // Map of QuicServerId to owning CertVerifierJob. | 522 // Map of QuicServerId to owning CertVerifierJob. |
524 CertVerifierJobMap active_cert_verifier_jobs_; | 523 CertVerifierJobMap active_cert_verifier_jobs_; |
525 | 524 |
526 const QuicVersionVector supported_versions_; | 525 const QuicVersionVector supported_versions_; |
527 | 526 |
528 // Set if experimental non-blocking IO should be used on windows sockets. | |
529 bool enable_non_blocking_io_; | |
530 | |
531 // True if QUIC should be marked as broken when a connection blackholes after | 527 // True if QUIC should be marked as broken when a connection blackholes after |
532 // the handshake is confirmed. | 528 // the handshake is confirmed. |
533 bool mark_quic_broken_when_network_blackholes_; | 529 bool mark_quic_broken_when_network_blackholes_; |
534 | 530 |
535 // Set if QUIC server configs should be stored in HttpServerProperties. | 531 // Set if QUIC server configs should be stored in HttpServerProperties. |
536 bool store_server_configs_in_properties_; | 532 bool store_server_configs_in_properties_; |
537 | 533 |
538 // PING timeout for connections. | 534 // PING timeout for connections. |
539 QuicTime::Delta ping_timeout_; | 535 QuicTime::Delta ping_timeout_; |
540 QuicTime::Delta reduced_ping_timeout_; | 536 QuicTime::Delta reduced_ping_timeout_; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 const scoped_refptr<SSLConfigService> ssl_config_service_; | 583 const scoped_refptr<SSLConfigService> ssl_config_service_; |
588 | 584 |
589 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; | 585 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; |
590 | 586 |
591 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); | 587 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); |
592 }; | 588 }; |
593 | 589 |
594 } // namespace net | 590 } // namespace net |
595 | 591 |
596 #endif // NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ | 592 #endif // NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ |
OLD | NEW |