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

Side by Side Diff: net/quic/core/crypto/crypto_handshake_message.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
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_CRYPTO_CRYPTO_HANDSHAKE_MESSAGE_H_ 5 #ifndef NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_MESSAGE_H_
6 #define NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_MESSAGE_H_ 6 #define NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_MESSAGE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <cstdint> 11 #include <cstdint>
12 #include <memory> 12 #include <memory>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/strings/string_piece.h" 16 #include "base/strings/string_piece.h"
17 #include "net/base/net_export.h" 17 #include "net/base/net_export.h"
18 #include "net/quic/quic_protocol.h" 18 #include "net/quic/core/quic_protocol.h"
19 19
20 namespace net { 20 namespace net {
21 21
22 // An intermediate format of a handshake message that's convenient for a 22 // An intermediate format of a handshake message that's convenient for a
23 // CryptoFramer to serialize from or parse into. 23 // CryptoFramer to serialize from or parse into.
24 class NET_EXPORT_PRIVATE CryptoHandshakeMessage { 24 class NET_EXPORT_PRIVATE CryptoHandshakeMessage {
25 public: 25 public:
26 CryptoHandshakeMessage(); 26 CryptoHandshakeMessage();
27 CryptoHandshakeMessage(const CryptoHandshakeMessage& other); 27 CryptoHandshakeMessage(const CryptoHandshakeMessage& other);
28 CryptoHandshakeMessage(CryptoHandshakeMessage&& other); 28 CryptoHandshakeMessage(CryptoHandshakeMessage&& other);
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 size_t minimum_size_; 130 size_t minimum_size_;
131 131
132 // The serialized form of the handshake message. This member is constructed 132 // The serialized form of the handshake message. This member is constructed
133 // lasily. 133 // lasily.
134 mutable std::unique_ptr<QuicData> serialized_; 134 mutable std::unique_ptr<QuicData> serialized_;
135 }; 135 };
136 136
137 } // namespace net 137 } // namespace net
138 138
139 #endif // NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_MESSAGE_H_ 139 #endif // NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_MESSAGE_H_
OLDNEW
« no previous file with comments | « net/quic/core/crypto/crypto_handshake.cc ('k') | net/quic/core/crypto/crypto_handshake_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698