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

Side by Side Diff: net/quic/core/crypto/crypto_protocol.h

Issue 2566473002: Fix include guards for QUIC files. (Closed)
Patch Set: Created 4 years 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PROTOCOL_H_ 5 #ifndef NET_QUIC_CORE_CRYPTO_CRYPTO_PROTOCOL_H_
6 #define NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 6 #define NET_QUIC_CORE_CRYPTO_CRYPTO_PROTOCOL_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 12
13 #include "net/quic/core/quic_tag.h" 13 #include "net/quic/core/quic_tag.h"
14 14
15 // Version and Crypto tags are written to the wire with a big-endian 15 // Version and Crypto tags are written to the wire with a big-endian
16 // representation of the name of the tag. For example 16 // representation of the name of the tag. For example
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // hellos smaller than this will be an error. This minimum size reduces the 253 // hellos smaller than this will be an error. This minimum size reduces the
254 // amplification factor of any mirror DoS attack. 254 // amplification factor of any mirror DoS attack.
255 // 255 //
256 // A client may pad an inchoate client hello to a size larger than 256 // A client may pad an inchoate client hello to a size larger than
257 // kClientHelloMinimumSize to make it more likely to receive a complete 257 // kClientHelloMinimumSize to make it more likely to receive a complete
258 // rejection message. 258 // rejection message.
259 const size_t kClientHelloMinimumSize = 1024; 259 const size_t kClientHelloMinimumSize = 1024;
260 260
261 } // namespace net 261 } // namespace net
262 262
263 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 263 #endif // NET_QUIC_CORE_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/core/crypto/crypto_handshake_message.h ('k') | net/quic/core/crypto/crypto_secret_boxer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698