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

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

Issue 13976007: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated copyright notice Created 7 years, 8 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
« no previous file with comments | « net/quic/quic_crypto_client_stream.cc ('k') | net/quic/quic_crypto_client_stream_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_CRYPTO_CLIENT_STREAM_FACTORY_H_ 5 #ifndef NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_FACTORY_H_
6 #define NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_FACTORY_H_ 6 #define NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 class QuicCryptoClientStream; 14 class QuicCryptoClientStream;
15 class QuicSession; 15 class QuicSession;
16 16
17 // An interface used to instantiate QuicCryptoClientStream objects. Used to 17 // An interface used to instantiate QuicCryptoClientStream objects. Used to
18 // facilitate testing code with mock implementations. 18 // facilitate testing code with mock implementations.
19 class NET_EXPORT QuicCryptoClientStreamFactory { 19 class NET_EXPORT QuicCryptoClientStreamFactory {
20 public: 20 public:
21 virtual ~QuicCryptoClientStreamFactory() {} 21 virtual ~QuicCryptoClientStreamFactory() {}
22 22
23 virtual QuicCryptoClientStream* CreateQuicCryptoClientStream( 23 virtual QuicCryptoClientStream* CreateQuicCryptoClientStream(
24 QuicSession* session, const std::string& server_hostname) = 0; 24 const string& server_hostname,
25 const QuicConfig& config,
26 QuicSession* session,
27 QuicCryptoClientConfig* crypto_config) = 0;
25 }; 28 };
26 29
27 } // namespace net 30 } // namespace net
28 31
29 #endif // NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_FACTORY_H_ 32 #endif // NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_FACTORY_H_
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_client_stream.cc ('k') | net/quic/quic_crypto_client_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698