| 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 10 matching lines...) Expand all Loading... |
| 21 #include "net/proxy/proxy_server.h" | 21 #include "net/proxy/proxy_server.h" |
| 22 #include "net/quic/network_connection.h" | 22 #include "net/quic/network_connection.h" |
| 23 #include "net/quic/quic_chromium_client_session.h" | 23 #include "net/quic/quic_chromium_client_session.h" |
| 24 #include "net/quic/quic_config.h" | 24 #include "net/quic/quic_config.h" |
| 25 #include "net/quic/quic_crypto_stream.h" | 25 #include "net/quic/quic_crypto_stream.h" |
| 26 #include "net/quic/quic_http_stream.h" | 26 #include "net/quic/quic_http_stream.h" |
| 27 #include "net/quic/quic_protocol.h" | 27 #include "net/quic/quic_protocol.h" |
| 28 | 28 |
| 29 namespace net { | 29 namespace net { |
| 30 | 30 |
| 31 class CertPolicyEnforcer; |
| 31 class CertVerifier; | 32 class CertVerifier; |
| 32 class ChannelIDService; | 33 class ChannelIDService; |
| 33 class ClientSocketFactory; | 34 class ClientSocketFactory; |
| 34 class HostResolver; | 35 class HostResolver; |
| 35 class HttpServerProperties; | 36 class HttpServerProperties; |
| 36 class QuicClock; | 37 class QuicClock; |
| 37 class QuicChromiumClientSession; | 38 class QuicChromiumClientSession; |
| 38 class QuicConnectionHelper; | 39 class QuicConnectionHelper; |
| 39 class QuicCryptoClientStreamFactory; | 40 class QuicCryptoClientStreamFactory; |
| 40 class QuicRandom; | 41 class QuicRandom; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 // QuicChromiumClientSessions. | 98 // QuicChromiumClientSessions. |
| 98 class NET_EXPORT_PRIVATE QuicStreamFactory | 99 class NET_EXPORT_PRIVATE QuicStreamFactory |
| 99 : public NetworkChangeNotifier::IPAddressObserver, | 100 : public NetworkChangeNotifier::IPAddressObserver, |
| 100 public CertDatabase::Observer { | 101 public CertDatabase::Observer { |
| 101 public: | 102 public: |
| 102 QuicStreamFactory( | 103 QuicStreamFactory( |
| 103 HostResolver* host_resolver, | 104 HostResolver* host_resolver, |
| 104 ClientSocketFactory* client_socket_factory, | 105 ClientSocketFactory* client_socket_factory, |
| 105 base::WeakPtr<HttpServerProperties> http_server_properties, | 106 base::WeakPtr<HttpServerProperties> http_server_properties, |
| 106 CertVerifier* cert_verifier, | 107 CertVerifier* cert_verifier, |
| 108 CertPolicyEnforcer* cert_policy_enforcer, |
| 107 ChannelIDService* channel_id_service, | 109 ChannelIDService* channel_id_service, |
| 108 TransportSecurityState* transport_security_state, | 110 TransportSecurityState* transport_security_state, |
| 109 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, | 111 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, |
| 110 QuicRandom* random_generator, | 112 QuicRandom* random_generator, |
| 111 QuicClock* clock, | 113 QuicClock* clock, |
| 112 size_t max_packet_length, | 114 size_t max_packet_length, |
| 113 const std::string& user_agent_id, | 115 const std::string& user_agent_id, |
| 114 const QuicVersionVector& supported_versions, | 116 const QuicVersionVector& supported_versions, |
| 115 bool enable_port_selection, | 117 bool enable_port_selection, |
| 116 bool always_require_handshake_confirmation, | 118 bool always_require_handshake_confirmation, |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 base::TaskRunner* task_runner_; | 427 base::TaskRunner* task_runner_; |
| 426 | 428 |
| 427 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; | 429 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; |
| 428 | 430 |
| 429 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); | 431 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); |
| 430 }; | 432 }; |
| 431 | 433 |
| 432 } // namespace net | 434 } // namespace net |
| 433 | 435 |
| 434 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ | 436 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ |
| OLD | NEW |