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

Side by Side Diff: net/quic/core/crypto/crypto_utils.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/core/crypto/crypto_server_test.cc ('k') | net/quic/core/crypto/crypto_utils.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 // Some helpers for quic crypto 5 // Some helpers for quic crypto
6 6
7 #ifndef NET_QUIC_CRYPTO_CRYPTO_UTILS_H_ 7 #ifndef NET_QUIC_CRYPTO_CRYPTO_UTILS_H_
8 #define NET_QUIC_CRYPTO_CRYPTO_UTILS_H_ 8 #define NET_QUIC_CRYPTO_CRYPTO_UTILS_H_
9 9
10 #include <stddef.h> 10 #include <stddef.h>
11 #include <stdint.h> 11 #include <stdint.h>
12 12
13 #include <string> 13 #include <string>
14 14
15 #include "base/macros.h" 15 #include "base/macros.h"
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/crypto/crypto_handshake.h" 18 #include "net/quic/core/crypto/crypto_handshake.h"
19 #include "net/quic/crypto/crypto_handshake_message.h" 19 #include "net/quic/core/crypto/crypto_handshake_message.h"
20 #include "net/quic/crypto/crypto_protocol.h" 20 #include "net/quic/core/crypto/crypto_protocol.h"
21 #include "net/quic/quic_protocol.h" 21 #include "net/quic/core/quic_protocol.h"
22 #include "net/quic/quic_time.h" 22 #include "net/quic/core/quic_time.h"
23 23
24 namespace net { 24 namespace net {
25 25
26 class QuicTime; 26 class QuicTime;
27 class QuicRandom; 27 class QuicRandom;
28 struct QuicCryptoNegotiatedParameters; 28 struct QuicCryptoNegotiatedParameters;
29 29
30 class NET_EXPORT_PRIVATE CryptoUtils { 30 class NET_EXPORT_PRIVATE CryptoUtils {
31 public: 31 public:
32 // Diversification is a utility class that's used to act like a union type. 32 // Diversification is a utility class that's used to act like a union type.
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 static void HashHandshakeMessage(const CryptoHandshakeMessage& message, 161 static void HashHandshakeMessage(const CryptoHandshakeMessage& message,
162 std::string* output); 162 std::string* output);
163 163
164 private: 164 private:
165 DISALLOW_COPY_AND_ASSIGN(CryptoUtils); 165 DISALLOW_COPY_AND_ASSIGN(CryptoUtils);
166 }; 166 };
167 167
168 } // namespace net 168 } // namespace net
169 169
170 #endif // NET_QUIC_CRYPTO_CRYPTO_UTILS_H_ 170 #endif // NET_QUIC_CRYPTO_CRYPTO_UTILS_H_
OLDNEW
« no previous file with comments | « net/quic/core/crypto/crypto_server_test.cc ('k') | net/quic/core/crypto/crypto_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698