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

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: Merge with TOT 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 <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 #include "net/quic/quic_session_key.h"
27 26
28 namespace net { 27 namespace net {
29 28
30 class CertVerifier; 29 class CertVerifier;
31 class ClientSocketFactory; 30 class ClientSocketFactory;
32 class HostResolver; 31 class HostResolver;
33 class HttpServerProperties; 32 class HttpServerProperties;
34 class QuicClock; 33 class QuicClock;
35 class QuicClientSession; 34 class QuicClientSession;
36 class QuicConnectionHelper; 35 class QuicConnectionHelper;
37 class QuicCryptoClientStreamFactory; 36 class QuicCryptoClientStreamFactory;
38 class QuicRandom; 37 class QuicRandom;
39 class QuicServerInfoFactory; 38 class QuicServerInfoFactory;
39 class QuicSessionKey;
40 class QuicStreamFactory; 40 class QuicStreamFactory;
41 41
42 namespace test { 42 namespace test {
43 class QuicStreamFactoryPeer; 43 class QuicStreamFactoryPeer;
44 } // namespace test 44 } // namespace test
45 45
46 // Encapsulates a pending request for a QuicHttpStream. 46 // Encapsulates a pending request for a QuicHttpStream.
47 // If the request is still pending when it is destroyed, it will 47 // If the request is still pending when it is destroyed, it will
48 // cancel the request with the factory. 48 // cancel the request with the factory.
49 class NET_EXPORT_PRIVATE QuicStreamRequest { 49 class NET_EXPORT_PRIVATE QuicStreamRequest {
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 uint64 port_seed_; 308 uint64 port_seed_;
309 309
310 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; 310 base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
311 311
312 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); 312 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
313 }; 313 };
314 314
315 } // namespace net 315 } // namespace net
316 316
317 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ 317 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698