OLD | NEW |
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_CORE_CRYPTO_NULL_ENCRYPTER_H_ | 5 #ifndef NET_QUIC_CORE_CRYPTO_NULL_ENCRYPTER_H_ |
6 #define NET_QUIC_CORE_CRYPTO_NULL_ENCRYPTER_H_ | 6 #define NET_QUIC_CORE_CRYPTO_NULL_ENCRYPTER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <cstddef> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "net/quic/core/crypto/quic_encrypter.h" | 12 #include "net/quic/core/crypto/quic_encrypter.h" |
13 #include "net/quic/core/quic_types.h" | 13 #include "net/quic/core/quic_types.h" |
14 #include "net/quic/platform/api/quic_export.h" | 14 #include "net/quic/platform/api/quic_export.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 | 17 |
18 // A NullEncrypter is a QuicEncrypter used before a crypto negotiation | 18 // A NullEncrypter is a QuicEncrypter used before a crypto negotiation |
(...skipping 26 matching lines...) Expand all Loading... |
45 size_t GetHashLength() const; | 45 size_t GetHashLength() const; |
46 | 46 |
47 Perspective perspective_; | 47 Perspective perspective_; |
48 | 48 |
49 DISALLOW_COPY_AND_ASSIGN(NullEncrypter); | 49 DISALLOW_COPY_AND_ASSIGN(NullEncrypter); |
50 }; | 50 }; |
51 | 51 |
52 } // namespace net | 52 } // namespace net |
53 | 53 |
54 #endif // NET_QUIC_CORE_CRYPTO_NULL_ENCRYPTER_H_ | 54 #endif // NET_QUIC_CORE_CRYPTO_NULL_ENCRYPTER_H_ |
OLD | NEW |