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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 const QuicServerId& server_id() const { return server_id_; } | 143 const QuicServerId& server_id() const { return server_id_; } |
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 SSLConfigService* ssl_config_service, |
153 ClientSocketFactory* client_socket_factory, | 154 ClientSocketFactory* client_socket_factory, |
154 HttpServerProperties* http_server_properties, | 155 HttpServerProperties* http_server_properties, |
155 CertVerifier* cert_verifier, | 156 CertVerifier* cert_verifier, |
156 CTPolicyEnforcer* ct_policy_enforcer, | 157 CTPolicyEnforcer* ct_policy_enforcer, |
157 ChannelIDService* channel_id_service, | 158 ChannelIDService* channel_id_service, |
158 TransportSecurityState* transport_security_state, | 159 TransportSecurityState* transport_security_state, |
159 CTVerifier* cert_transparency_verifier, | 160 CTVerifier* cert_transparency_verifier, |
160 SocketPerformanceWatcherFactory* socket_performance_watcher_factory, | 161 SocketPerformanceWatcherFactory* socket_performance_watcher_factory, |
161 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, | 162 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, |
162 QuicRandom* random_generator, | 163 QuicRandom* random_generator, |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 | 578 |
578 int num_push_streams_created_; | 579 int num_push_streams_created_; |
579 | 580 |
580 QuicClientPushPromiseIndex push_promise_index_; | 581 QuicClientPushPromiseIndex push_promise_index_; |
581 | 582 |
582 // Current status of the factory's ability to create streams. | 583 // Current status of the factory's ability to create streams. |
583 FactoryStatus status_; | 584 FactoryStatus status_; |
584 | 585 |
585 base::TaskRunner* task_runner_; | 586 base::TaskRunner* task_runner_; |
586 | 587 |
| 588 const scoped_refptr<SSLConfigService> ssl_config_service_; |
| 589 |
587 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; | 590 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; |
588 | 591 |
589 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); | 592 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); |
590 }; | 593 }; |
591 | 594 |
592 } // namespace net | 595 } // namespace net |
593 | 596 |
594 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ | 597 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ |
OLD | NEW |