| 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 14 matching lines...) Expand all Loading... |
| 25 #include "net/base/host_port_pair.h" | 25 #include "net/base/host_port_pair.h" |
| 26 #include "net/base/net_export.h" | 26 #include "net/base/net_export.h" |
| 27 #include "net/base/network_change_notifier.h" | 27 #include "net/base/network_change_notifier.h" |
| 28 #include "net/cert/cert_database.h" | 28 #include "net/cert/cert_database.h" |
| 29 #include "net/http/http_server_properties.h" | 29 #include "net/http/http_server_properties.h" |
| 30 #include "net/http/http_stream_factory.h" | 30 #include "net/http/http_stream_factory.h" |
| 31 #include "net/log/net_log_with_source.h" | 31 #include "net/log/net_log_with_source.h" |
| 32 #include "net/proxy/proxy_server.h" | 32 #include "net/proxy/proxy_server.h" |
| 33 #include "net/quic/chromium/network_connection.h" | 33 #include "net/quic/chromium/network_connection.h" |
| 34 #include "net/quic/chromium/quic_chromium_client_session.h" | 34 #include "net/quic/chromium/quic_chromium_client_session.h" |
| 35 #include "net/quic/chromium/quic_clock_skew_detector.h" |
| 35 #include "net/quic/chromium/quic_http_stream.h" | 36 #include "net/quic/chromium/quic_http_stream.h" |
| 36 #include "net/quic/core/quic_client_push_promise_index.h" | 37 #include "net/quic/core/quic_client_push_promise_index.h" |
| 37 #include "net/quic/core/quic_config.h" | 38 #include "net/quic/core/quic_config.h" |
| 38 #include "net/quic/core/quic_crypto_stream.h" | 39 #include "net/quic/core/quic_crypto_stream.h" |
| 39 #include "net/quic/core/quic_protocol.h" | 40 #include "net/quic/core/quic_protocol.h" |
| 40 #include "net/quic/core/quic_server_id.h" | 41 #include "net/quic/core/quic_server_id.h" |
| 41 #include "net/ssl/ssl_config_service.h" | 42 #include "net/ssl/ssl_config_service.h" |
| 42 | 43 |
| 43 namespace base { | 44 namespace base { |
| 44 class Value; | 45 class Value; |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 ClientSocketFactory* client_socket_factory_; | 503 ClientSocketFactory* client_socket_factory_; |
| 503 HttpServerProperties* http_server_properties_; | 504 HttpServerProperties* http_server_properties_; |
| 504 ProxyDelegate* proxy_delegate_; | 505 ProxyDelegate* proxy_delegate_; |
| 505 TransportSecurityState* transport_security_state_; | 506 TransportSecurityState* transport_security_state_; |
| 506 CTVerifier* cert_transparency_verifier_; | 507 CTVerifier* cert_transparency_verifier_; |
| 507 std::unique_ptr<QuicServerInfoFactory> quic_server_info_factory_; | 508 std::unique_ptr<QuicServerInfoFactory> quic_server_info_factory_; |
| 508 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_; | 509 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_; |
| 509 QuicRandom* random_generator_; | 510 QuicRandom* random_generator_; |
| 510 std::unique_ptr<QuicClock> clock_; | 511 std::unique_ptr<QuicClock> clock_; |
| 511 const size_t max_packet_length_; | 512 const size_t max_packet_length_; |
| 513 QuicClockSkewDetector clock_skew_detector_; |
| 512 | 514 |
| 513 // Factory which is used to create socket performance watcher. A new watcher | 515 // Factory which is used to create socket performance watcher. A new watcher |
| 514 // is created for every QUIC connection. | 516 // is created for every QUIC connection. |
| 515 // |socket_performance_watcher_factory_| may be null. | 517 // |socket_performance_watcher_factory_| may be null. |
| 516 SocketPerformanceWatcherFactory* socket_performance_watcher_factory_; | 518 SocketPerformanceWatcherFactory* socket_performance_watcher_factory_; |
| 517 | 519 |
| 518 // The helper used for all connections. | 520 // The helper used for all connections. |
| 519 std::unique_ptr<QuicChromiumConnectionHelper> helper_; | 521 std::unique_ptr<QuicChromiumConnectionHelper> helper_; |
| 520 | 522 |
| 521 // The alarm factory used for all connections. | 523 // The alarm factory used for all connections. |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 const scoped_refptr<SSLConfigService> ssl_config_service_; | 657 const scoped_refptr<SSLConfigService> ssl_config_service_; |
| 656 | 658 |
| 657 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; | 659 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; |
| 658 | 660 |
| 659 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); | 661 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); |
| 660 }; | 662 }; |
| 661 | 663 |
| 662 } // namespace net | 664 } // namespace net |
| 663 | 665 |
| 664 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ | 666 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ |
| OLD | NEW |