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 18 matching lines...) Expand all Loading... |
29 #include "net/quic/network_connection.h" | 29 #include "net/quic/network_connection.h" |
30 #include "net/quic/quic_chromium_client_session.h" | 30 #include "net/quic/quic_chromium_client_session.h" |
31 #include "net/quic/quic_config.h" | 31 #include "net/quic/quic_config.h" |
32 #include "net/quic/quic_crypto_stream.h" | 32 #include "net/quic/quic_crypto_stream.h" |
33 #include "net/quic/quic_http_stream.h" | 33 #include "net/quic/quic_http_stream.h" |
34 #include "net/quic/quic_protocol.h" | 34 #include "net/quic/quic_protocol.h" |
35 #include "net/ssl/ssl_config_service.h" | 35 #include "net/ssl/ssl_config_service.h" |
36 | 36 |
37 namespace net { | 37 namespace net { |
38 | 38 |
39 class CertPolicyEnforcer; | 39 class CTPolicyEnforcer; |
40 class CertVerifier; | 40 class CertVerifier; |
41 class ChannelIDService; | 41 class ChannelIDService; |
42 class ClientSocketFactory; | 42 class ClientSocketFactory; |
43 class CTVerifier; | 43 class CTVerifier; |
44 class HostResolver; | 44 class HostResolver; |
45 class HttpServerProperties; | 45 class HttpServerProperties; |
46 class QuicClock; | 46 class QuicClock; |
47 class QuicChromiumClientSession; | 47 class QuicChromiumClientSession; |
48 class QuicConnectionHelper; | 48 class QuicConnectionHelper; |
49 class QuicCryptoClientStreamFactory; | 49 class QuicCryptoClientStreamFactory; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 class NET_EXPORT_PRIVATE QuicStreamFactory | 113 class NET_EXPORT_PRIVATE QuicStreamFactory |
114 : public NetworkChangeNotifier::IPAddressObserver, | 114 : public NetworkChangeNotifier::IPAddressObserver, |
115 public SSLConfigService::Observer, | 115 public SSLConfigService::Observer, |
116 public CertDatabase::Observer { | 116 public CertDatabase::Observer { |
117 public: | 117 public: |
118 QuicStreamFactory( | 118 QuicStreamFactory( |
119 HostResolver* host_resolver, | 119 HostResolver* host_resolver, |
120 ClientSocketFactory* client_socket_factory, | 120 ClientSocketFactory* client_socket_factory, |
121 base::WeakPtr<HttpServerProperties> http_server_properties, | 121 base::WeakPtr<HttpServerProperties> http_server_properties, |
122 CertVerifier* cert_verifier, | 122 CertVerifier* cert_verifier, |
123 CertPolicyEnforcer* cert_policy_enforcer, | 123 CTPolicyEnforcer* ct_policy_enforcer, |
124 ChannelIDService* channel_id_service, | 124 ChannelIDService* channel_id_service, |
125 TransportSecurityState* transport_security_state, | 125 TransportSecurityState* transport_security_state, |
126 CTVerifier* cert_transparency_verifier, | 126 CTVerifier* cert_transparency_verifier, |
127 SocketPerformanceWatcherFactory* socket_performance_watcher_factory, | 127 SocketPerformanceWatcherFactory* socket_performance_watcher_factory, |
128 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, | 128 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, |
129 QuicRandom* random_generator, | 129 QuicRandom* random_generator, |
130 QuicClock* clock, | 130 QuicClock* clock, |
131 size_t max_packet_length, | 131 size_t max_packet_length, |
132 const std::string& user_agent_id, | 132 const std::string& user_agent_id, |
133 const QuicVersionVector& supported_versions, | 133 const QuicVersionVector& supported_versions, |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 base::TaskRunner* task_runner_; | 478 base::TaskRunner* task_runner_; |
479 | 479 |
480 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; | 480 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; |
481 | 481 |
482 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); | 482 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); |
483 }; | 483 }; |
484 | 484 |
485 } // namespace net | 485 } // namespace net |
486 | 486 |
487 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ | 487 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ |
OLD | NEW |