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

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

Issue 192583004: QUIC - use QuicSessionKey tuple (host, port, is_https) instead of server_hostname (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use QuicSessionKey as arg and delete server_hostname as arg Created 6 years, 9 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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "net/base/address_list.h" 14 #include "net/base/address_list.h"
15 #include "net/base/completion_callback.h" 15 #include "net/base/completion_callback.h"
16 #include "net/base/host_port_pair.h" 16 #include "net/base/host_port_pair.h"
17 #include "net/base/net_log.h" 17 #include "net/base/net_log.h"
18 #include "net/base/network_change_notifier.h" 18 #include "net/base/network_change_notifier.h"
19 #include "net/cert/cert_database.h" 19 #include "net/cert/cert_database.h"
20 #include "net/proxy/proxy_server.h" 20 #include "net/proxy/proxy_server.h"
21 #include "net/quic/quic_config.h" 21 #include "net/quic/quic_config.h"
22 #include "net/quic/quic_crypto_stream.h" 22 #include "net/quic/quic_crypto_stream.h"
23 #include "net/quic/quic_http_stream.h" 23 #include "net/quic/quic_http_stream.h"
24 #include "net/quic/quic_protocol.h" 24 #include "net/quic/quic_protocol.h"
25 #include "net/quic/quic_session_key.h"
26 25
27 namespace net { 26 namespace net {
28 27
29 class CertVerifier; 28 class CertVerifier;
30 class ClientSocketFactory; 29 class ClientSocketFactory;
31 class HostResolver; 30 class HostResolver;
32 class HttpServerProperties; 31 class HttpServerProperties;
33 class QuicClock; 32 class QuicClock;
34 class QuicClientSession; 33 class QuicClientSession;
35 class QuicConnectionHelper; 34 class QuicConnectionHelper;
36 class QuicCryptoClientStreamFactory; 35 class QuicCryptoClientStreamFactory;
37 class QuicRandom; 36 class QuicRandom;
38 class QuicServerInfoFactory; 37 class QuicServerInfoFactory;
38 class QuicSessionKey;
39 class QuicStreamFactory; 39 class QuicStreamFactory;
40 40
41 namespace test { 41 namespace test {
42 class QuicStreamFactoryPeer; 42 class QuicStreamFactoryPeer;
43 } // namespace test 43 } // namespace test
44 44
45 // Encapsulates a pending request for a QuicHttpStream. 45 // Encapsulates a pending request for a QuicHttpStream.
46 // If the request is still pending when it is destroyed, it will 46 // If the request is still pending when it is destroyed, it will
47 // cancel the request with the factory. 47 // cancel the request with the factory.
48 class NET_EXPORT_PRIVATE QuicStreamRequest { 48 class NET_EXPORT_PRIVATE QuicStreamRequest {
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 uint64 port_seed_; 288 uint64 port_seed_;
289 289
290 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; 290 base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
291 291
292 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); 292 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
293 }; 293 };
294 294
295 } // namespace net 295 } // namespace net
296 296
297 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ 297 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698