Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: net/quic/quic_stream_factory.h

Issue 2109303002: Add QuicStreamFactory as an observer of an SSLConfigService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698