Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / net / quic / p2p / quic_p2p_crypto_stream.h
blob82ff785ac151ebff6d61bb423bc3caf49a7bf147
1 // Copyright 2015 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_P2P_QUIC_P2P_CRYPTO_STREAM_H_
6 #define NET_QUIC_P2P_QUIC_P2P_CRYPTO_STREAM_H_
8 #include "net/quic/p2p/quic_p2p_crypto_config.h"
9 #include "net/quic/quic_crypto_stream.h"
11 namespace net {
13 class QuicSession;
15 class NET_EXPORT_PRIVATE QuicP2PCryptoStream : public QuicCryptoStream {
16 public:
17 QuicP2PCryptoStream(QuicSession* session, const QuicP2PCryptoConfig& config);
18 ~QuicP2PCryptoStream() override;
20 bool Connect();
22 private:
23 QuicP2PCryptoConfig config_;
25 DISALLOW_COPY_AND_ASSIGN(QuicP2PCryptoStream);
28 } // namespace net
30 #endif // NET_QUIC_P2P_QUIC_P2P_CRYPTO_STREAM_H_