| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 namespace net { | 47 namespace net { |
| 48 | 48 |
| 49 class CTPolicyEnforcer; | 49 class CTPolicyEnforcer; |
| 50 class CertVerifier; | 50 class CertVerifier; |
| 51 class ChannelIDService; | 51 class ChannelIDService; |
| 52 class ClientSocketFactory; | 52 class ClientSocketFactory; |
| 53 class CTVerifier; | 53 class CTVerifier; |
| 54 class HostResolver; | 54 class HostResolver; |
| 55 class HttpServerProperties; | 55 class HttpServerProperties; |
| 56 class NetLog; | 56 class NetLog; |
| 57 class ProxyDelegate; |
| 57 class QuicClock; | 58 class QuicClock; |
| 58 class QuicChromiumAlarmFactory; | 59 class QuicChromiumAlarmFactory; |
| 59 class QuicChromiumConnectionHelper; | 60 class QuicChromiumConnectionHelper; |
| 60 class QuicCryptoClientStreamFactory; | 61 class QuicCryptoClientStreamFactory; |
| 61 class QuicRandom; | 62 class QuicRandom; |
| 62 class QuicServerInfo; | 63 class QuicServerInfo; |
| 63 class QuicServerInfoFactory; | 64 class QuicServerInfoFactory; |
| 64 class QuicStreamFactory; | 65 class QuicStreamFactory; |
| 65 class SocketPerformanceWatcherFactory; | 66 class SocketPerformanceWatcherFactory; |
| 66 class TransportSecurityState; | 67 class TransportSecurityState; |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 HostPortPair destination_; | 178 HostPortPair destination_; |
| 178 QuicServerId server_id_; | 179 QuicServerId server_id_; |
| 179 }; | 180 }; |
| 180 | 181 |
| 181 QuicStreamFactory( | 182 QuicStreamFactory( |
| 182 NetLog* net_log, | 183 NetLog* net_log, |
| 183 HostResolver* host_resolver, | 184 HostResolver* host_resolver, |
| 184 SSLConfigService* ssl_config_service, | 185 SSLConfigService* ssl_config_service, |
| 185 ClientSocketFactory* client_socket_factory, | 186 ClientSocketFactory* client_socket_factory, |
| 186 HttpServerProperties* http_server_properties, | 187 HttpServerProperties* http_server_properties, |
| 188 ProxyDelegate* proxy_delegate, |
| 187 CertVerifier* cert_verifier, | 189 CertVerifier* cert_verifier, |
| 188 CTPolicyEnforcer* ct_policy_enforcer, | 190 CTPolicyEnforcer* ct_policy_enforcer, |
| 189 ChannelIDService* channel_id_service, | 191 ChannelIDService* channel_id_service, |
| 190 TransportSecurityState* transport_security_state, | 192 TransportSecurityState* transport_security_state, |
| 191 CTVerifier* cert_transparency_verifier, | 193 CTVerifier* cert_transparency_verifier, |
| 192 SocketPerformanceWatcherFactory* socket_performance_watcher_factory, | 194 SocketPerformanceWatcherFactory* socket_performance_watcher_factory, |
| 193 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, | 195 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, |
| 194 QuicRandom* random_generator, | 196 QuicRandom* random_generator, |
| 195 QuicClock* clock, | 197 QuicClock* clock, |
| 196 size_t max_packet_length, | 198 size_t max_packet_length, |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 void OpenFactory(); | 495 void OpenFactory(); |
| 494 // If QUIC has been working well after having been recently | 496 // If QUIC has been working well after having been recently |
| 495 // disabled, clear the |consecutive_disabled_count_|. | 497 // disabled, clear the |consecutive_disabled_count_|. |
| 496 void MaybeClearConsecutiveDisabledCount(); | 498 void MaybeClearConsecutiveDisabledCount(); |
| 497 | 499 |
| 498 bool require_confirmation_; | 500 bool require_confirmation_; |
| 499 NetLog* net_log_; | 501 NetLog* net_log_; |
| 500 HostResolver* host_resolver_; | 502 HostResolver* host_resolver_; |
| 501 ClientSocketFactory* client_socket_factory_; | 503 ClientSocketFactory* client_socket_factory_; |
| 502 HttpServerProperties* http_server_properties_; | 504 HttpServerProperties* http_server_properties_; |
| 505 ProxyDelegate* proxy_delegate_; |
| 503 TransportSecurityState* transport_security_state_; | 506 TransportSecurityState* transport_security_state_; |
| 504 CTVerifier* cert_transparency_verifier_; | 507 CTVerifier* cert_transparency_verifier_; |
| 505 std::unique_ptr<QuicServerInfoFactory> quic_server_info_factory_; | 508 std::unique_ptr<QuicServerInfoFactory> quic_server_info_factory_; |
| 506 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_; | 509 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_; |
| 507 QuicRandom* random_generator_; | 510 QuicRandom* random_generator_; |
| 508 std::unique_ptr<QuicClock> clock_; | 511 std::unique_ptr<QuicClock> clock_; |
| 509 const size_t max_packet_length_; | 512 const size_t max_packet_length_; |
| 510 | 513 |
| 511 // Factory which is used to create socket performance watcher. A new watcher | 514 // Factory which is used to create socket performance watcher. A new watcher |
| 512 // is created for every QUIC connection. | 515 // is created for every QUIC connection. |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 const scoped_refptr<SSLConfigService> ssl_config_service_; | 656 const scoped_refptr<SSLConfigService> ssl_config_service_; |
| 654 | 657 |
| 655 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; | 658 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; |
| 656 | 659 |
| 657 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); | 660 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); |
| 658 }; | 661 }; |
| 659 | 662 |
| 660 } // namespace net | 663 } // namespace net |
| 661 | 664 |
| 662 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ | 665 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ |
| OLD | NEW |