OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_CHANNEL_ID_H_ | 5 #ifndef NET_QUIC_CRYPTO_CHANNEL_ID_H_ |
6 #define NET_QUIC_CRYPTO_CHANNEL_ID_H_ | 6 #define NET_QUIC_CRYPTO_CHANNEL_ID_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "base/strings/string_piece.h" | 12 #include "base/strings/string_piece.h" |
12 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
13 #include "net/quic/quic_types.h" | 14 #include "net/quic/quic_types.h" |
14 | 15 |
15 namespace net { | 16 namespace net { |
16 | 17 |
17 // ChannelIDKey is an interface that supports signing with and serializing a | 18 // ChannelIDKey is an interface that supports signing with and serializing a |
18 // ChannelID key. | 19 // ChannelID key. |
19 class NET_EXPORT_PRIVATE ChannelIDKey { | 20 class NET_EXPORT_PRIVATE ChannelIDKey { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 base::StringPiece signature, | 90 base::StringPiece signature, |
90 bool is_channel_id_signature); | 91 bool is_channel_id_signature); |
91 | 92 |
92 private: | 93 private: |
93 DISALLOW_COPY_AND_ASSIGN(ChannelIDVerifier); | 94 DISALLOW_COPY_AND_ASSIGN(ChannelIDVerifier); |
94 }; | 95 }; |
95 | 96 |
96 } // namespace net | 97 } // namespace net |
97 | 98 |
98 #endif // NET_QUIC_CRYPTO_CHANNEL_ID_H_ | 99 #endif // NET_QUIC_CRYPTO_CHANNEL_ID_H_ |
OLD | NEW |