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

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

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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
« no previous file with comments | « net/quic/quic_crypto_client_stream.cc ('k') | net/quic/quic_crypto_client_stream_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_FACTORY_H_
6 #define NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_FACTORY_H_
7
8 #include <memory>
9 #include <string>
10
11 #include "net/base/net_export.h"
12 #include "net/quic/quic_server_id.h"
13
14 namespace net {
15
16 class ProofVerifyContext;
17 class QuicChromiumClientSession;
18 class QuicCryptoClientConfig;
19 class QuicCryptoClientStream;
20
21 // An interface used to instantiate QuicCryptoClientStream objects. Used to
22 // facilitate testing code with mock implementations.
23 class NET_EXPORT QuicCryptoClientStreamFactory {
24 public:
25 virtual ~QuicCryptoClientStreamFactory() {}
26
27 virtual QuicCryptoClientStream* CreateQuicCryptoClientStream(
28 const QuicServerId& server_id,
29 QuicChromiumClientSession* session,
30 std::unique_ptr<ProofVerifyContext> proof_verify_context,
31 QuicCryptoClientConfig* crypto_config) = 0;
32
33 static QuicCryptoClientStreamFactory* GetDefaultFactory();
34 };
35
36 } // namespace net
37
38 #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_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698