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

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

Issue 356713005: Rename ServerBoundCert => ChannelID to reflect the current name (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix cookies_list.js Created 6 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 | Annotate | Revision Log
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 <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "net/base/address_list.h" 15 #include "net/base/address_list.h"
16 #include "net/base/completion_callback.h" 16 #include "net/base/completion_callback.h"
17 #include "net/base/host_port_pair.h" 17 #include "net/base/host_port_pair.h"
18 #include "net/base/net_log.h" 18 #include "net/base/net_log.h"
19 #include "net/base/network_change_notifier.h" 19 #include "net/base/network_change_notifier.h"
20 #include "net/cert/cert_database.h" 20 #include "net/cert/cert_database.h"
21 #include "net/proxy/proxy_server.h" 21 #include "net/proxy/proxy_server.h"
22 #include "net/quic/quic_config.h" 22 #include "net/quic/quic_config.h"
23 #include "net/quic/quic_crypto_stream.h" 23 #include "net/quic/quic_crypto_stream.h"
24 #include "net/quic/quic_http_stream.h" 24 #include "net/quic/quic_http_stream.h"
25 #include "net/quic/quic_protocol.h" 25 #include "net/quic/quic_protocol.h"
26 26
27 namespace net { 27 namespace net {
28 28
29 class CertVerifier; 29 class CertVerifier;
30 class ChannelIDService;
30 class ClientSocketFactory; 31 class ClientSocketFactory;
31 class HostResolver; 32 class HostResolver;
32 class HttpServerProperties; 33 class HttpServerProperties;
33 class QuicClock; 34 class QuicClock;
34 class QuicClientSession; 35 class QuicClientSession;
35 class QuicConnectionHelper; 36 class QuicConnectionHelper;
36 class QuicCryptoClientStreamFactory; 37 class QuicCryptoClientStreamFactory;
37 class QuicRandom; 38 class QuicRandom;
38 class QuicServerInfoFactory; 39 class QuicServerInfoFactory;
39 class QuicServerId; 40 class QuicServerId;
40 class QuicStreamFactory; 41 class QuicStreamFactory;
41 class ServerBoundCertService;
42 42
43 namespace test { 43 namespace test {
44 class QuicStreamFactoryPeer; 44 class QuicStreamFactoryPeer;
45 } // namespace test 45 } // namespace test
46 46
47 // Encapsulates a pending request for a QuicHttpStream. 47 // Encapsulates a pending request for a QuicHttpStream.
48 // If the request is still pending when it is destroyed, it will 48 // If the request is still pending when it is destroyed, it will
49 // cancel the request with the factory. 49 // cancel the request with the factory.
50 class NET_EXPORT_PRIVATE QuicStreamRequest { 50 class NET_EXPORT_PRIVATE QuicStreamRequest {
51 public: 51 public:
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // QuicClientSessions. 85 // QuicClientSessions.
86 class NET_EXPORT_PRIVATE QuicStreamFactory 86 class NET_EXPORT_PRIVATE QuicStreamFactory
87 : public NetworkChangeNotifier::IPAddressObserver, 87 : public NetworkChangeNotifier::IPAddressObserver,
88 public CertDatabase::Observer { 88 public CertDatabase::Observer {
89 public: 89 public:
90 QuicStreamFactory( 90 QuicStreamFactory(
91 HostResolver* host_resolver, 91 HostResolver* host_resolver,
92 ClientSocketFactory* client_socket_factory, 92 ClientSocketFactory* client_socket_factory,
93 base::WeakPtr<HttpServerProperties> http_server_properties, 93 base::WeakPtr<HttpServerProperties> http_server_properties,
94 CertVerifier* cert_verifier, 94 CertVerifier* cert_verifier,
95 ServerBoundCertService* server_bound_cert_service, 95 ChannelIDService* channel_id_service,
96 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, 96 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory,
97 QuicRandom* random_generator, 97 QuicRandom* random_generator,
98 QuicClock* clock, 98 QuicClock* clock,
99 size_t max_packet_length, 99 size_t max_packet_length,
100 const std::string& user_agent_id, 100 const std::string& user_agent_id,
101 const QuicVersionVector& supported_versions, 101 const QuicVersionVector& supported_versions,
102 bool enable_port_selection, 102 bool enable_port_selection,
103 bool enable_pacing, 103 bool enable_pacing,
104 bool enable_time_based_loss_detection, 104 bool enable_time_based_loss_detection,
105 const QuicTagVector& connection_options); 105 const QuicTagVector& connection_options);
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 uint64 port_seed_; 281 uint64 port_seed_;
282 282
283 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; 283 base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
284 284
285 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); 285 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
286 }; 286 };
287 287
288 } // namespace net 288 } // namespace net
289 289
290 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ 290 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698