Add explicit |forceOnlineSignin| to user pod status
[chromium-blink-merge.git] / net / quic / quic_crypto_client_stream_factory.h
blob4fa5f573ea0b21b1216c5fc61800c3c7ae460c96
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.
5 #ifndef NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_FACTORY_H_
6 #define NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_FACTORY_H_
8 #include <string>
10 #include "net/base/net_export.h"
12 namespace net {
14 class QuicCryptoClientStream;
15 class QuicSession;
17 // An interface used to instantiate QuicCryptoClientStream objects. Used to
18 // facilitate testing code with mock implementations.
19 class NET_EXPORT QuicCryptoClientStreamFactory {
20 public:
21 virtual ~QuicCryptoClientStreamFactory() {}
23 virtual QuicCryptoClientStream* CreateQuicCryptoClientStream(
24 const string& server_hostname,
25 QuicSession* session,
26 QuicCryptoClientConfig* crypto_config) = 0;
29 } // namespace net
31 #endif // NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_FACTORY_H_