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

Side by Side Diff: net/quic/core/crypto/crypto_server_config_protobuf.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_SERVER_CONFIG_PROTOBUF_H_ 5 #ifndef NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_
6 #define NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_ 6 #define NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/stl_util.h" 16 #include "base/stl_util.h"
17 #include "base/strings/string_piece.h" 17 #include "base/strings/string_piece.h"
18 #include "net/base/net_export.h" 18 #include "net/base/net_export.h"
19 #include "net/quic/crypto/crypto_protocol.h" 19 #include "net/quic/core/crypto/crypto_protocol.h"
20 20
21 namespace net { 21 namespace net {
22 22
23 // QuicServerConfigProtobuf contains QUIC server config block and the private 23 // QuicServerConfigProtobuf contains QUIC server config block and the private
24 // keys needed to prove ownership. 24 // keys needed to prove ownership.
25 // TODO(rch): sync with server more rationally. 25 // TODO(rch): sync with server more rationally.
26 class NET_EXPORT_PRIVATE QuicServerConfigProtobuf { 26 class NET_EXPORT_PRIVATE QuicServerConfigProtobuf {
27 public: 27 public:
28 // PrivateKey contains a QUIC tag of a key exchange algorithm and a 28 // PrivateKey contains a QUIC tag of a key exchange algorithm and a
29 // serialised private key for that algorithm. The format of the serialised 29 // serialised private key for that algorithm. The format of the serialised
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // tokens when talking to clients that select this server config. 106 // tokens when talking to clients that select this server config.
107 // It can be of any length as it is fed into a KDF before use. 107 // It can be of any length as it is fed into a KDF before use.
108 std::string source_address_token_secret_override_; 108 std::string source_address_token_secret_override_;
109 109
110 DISALLOW_COPY_AND_ASSIGN(QuicServerConfigProtobuf); 110 DISALLOW_COPY_AND_ASSIGN(QuicServerConfigProtobuf);
111 }; 111 };
112 112
113 } // namespace net 113 } // namespace net
114 114
115 #endif // NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_ 115 #endif // NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_
OLDNEW
« no previous file with comments | « net/quic/core/crypto/crypto_secret_boxer_test.cc ('k') | net/quic/core/crypto/crypto_server_config_protobuf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698