| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 | 144 |
| 145 private: | 145 private: |
| 146 HostPortPair destination_; | 146 HostPortPair destination_; |
| 147 QuicServerId server_id_; | 147 QuicServerId server_id_; |
| 148 }; | 148 }; |
| 149 | 149 |
| 150 QuicStreamFactory( | 150 QuicStreamFactory( |
| 151 NetLog* net_log, | 151 NetLog* net_log, |
| 152 HostResolver* host_resolver, | 152 HostResolver* host_resolver, |
| 153 ClientSocketFactory* client_socket_factory, | 153 ClientSocketFactory* client_socket_factory, |
| 154 base::WeakPtr<HttpServerProperties> http_server_properties, | 154 HttpServerProperties* http_server_properties, |
| 155 CertVerifier* cert_verifier, | 155 CertVerifier* cert_verifier, |
| 156 CTPolicyEnforcer* ct_policy_enforcer, | 156 CTPolicyEnforcer* ct_policy_enforcer, |
| 157 ChannelIDService* channel_id_service, | 157 ChannelIDService* channel_id_service, |
| 158 TransportSecurityState* transport_security_state, | 158 TransportSecurityState* transport_security_state, |
| 159 CTVerifier* cert_transparency_verifier, | 159 CTVerifier* cert_transparency_verifier, |
| 160 SocketPerformanceWatcherFactory* socket_performance_watcher_factory, | 160 SocketPerformanceWatcherFactory* socket_performance_watcher_factory, |
| 161 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, | 161 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, |
| 162 QuicRandom* random_generator, | 162 QuicRandom* random_generator, |
| 163 QuicClock* clock, | 163 QuicClock* clock, |
| 164 size_t max_packet_length, | 164 size_t max_packet_length, |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 | 431 |
| 432 // Collect stats from recent connections, possibly disabling Quic. | 432 // Collect stats from recent connections, possibly disabling Quic. |
| 433 void MaybeDisableQuic(QuicChromiumClientSession* session); | 433 void MaybeDisableQuic(QuicChromiumClientSession* session); |
| 434 | 434 |
| 435 void MaybeDisableQuic(uint16_t port); | 435 void MaybeDisableQuic(uint16_t port); |
| 436 | 436 |
| 437 bool require_confirmation_; | 437 bool require_confirmation_; |
| 438 NetLog* net_log_; | 438 NetLog* net_log_; |
| 439 HostResolver* host_resolver_; | 439 HostResolver* host_resolver_; |
| 440 ClientSocketFactory* client_socket_factory_; | 440 ClientSocketFactory* client_socket_factory_; |
| 441 base::WeakPtr<HttpServerProperties> http_server_properties_; | 441 HttpServerProperties* http_server_properties_; |
| 442 TransportSecurityState* transport_security_state_; | 442 TransportSecurityState* transport_security_state_; |
| 443 CTVerifier* cert_transparency_verifier_; | 443 CTVerifier* cert_transparency_verifier_; |
| 444 std::unique_ptr<QuicServerInfoFactory> quic_server_info_factory_; | 444 std::unique_ptr<QuicServerInfoFactory> quic_server_info_factory_; |
| 445 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_; | 445 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_; |
| 446 QuicRandom* random_generator_; | 446 QuicRandom* random_generator_; |
| 447 std::unique_ptr<QuicClock> clock_; | 447 std::unique_ptr<QuicClock> clock_; |
| 448 const size_t max_packet_length_; | 448 const size_t max_packet_length_; |
| 449 | 449 |
| 450 // Factory which is used to create socket performance watcher. A new watcher | 450 // Factory which is used to create socket performance watcher. A new watcher |
| 451 // is created for every QUIC connection. | 451 // is created for every QUIC connection. |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 base::TaskRunner* task_runner_; | 586 base::TaskRunner* task_runner_; |
| 587 | 587 |
| 588 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; | 588 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; |
| 589 | 589 |
| 590 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); | 590 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); |
| 591 }; | 591 }; |
| 592 | 592 |
| 593 } // namespace net | 593 } // namespace net |
| 594 | 594 |
| 595 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ | 595 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ |
| OLD | NEW |