OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_GCM_DRIVER_CRYPTO_GCM_MESSAGE_CRYPTOGRAPHER_H_ | 5 #ifndef COMPONENTS_GCM_DRIVER_CRYPTO_GCM_MESSAGE_CRYPTOGRAPHER_H_ |
6 #define COMPONENTS_GCM_DRIVER_CRYPTO_GCM_MESSAGE_CRYPTOGRAPHER_H_ | 6 #define COMPONENTS_GCM_DRIVER_CRYPTO_GCM_MESSAGE_CRYPTOGRAPHER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
8 #include <stdint.h> | 9 #include <stdint.h> |
9 #include <string> | 10 #include <string> |
10 | 11 |
11 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
12 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
13 #include "base/strings/string_piece.h" | 14 #include "base/strings/string_piece.h" |
14 | 15 |
15 namespace gcm { | 16 namespace gcm { |
16 | 17 |
17 // Messages delivered through GCM may be encrypted according to the IETF Web | 18 // Messages delivered through GCM may be encrypted according to the IETF Web |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 bool allow_empty_auth_secret_for_tests_ = false; | 117 bool allow_empty_auth_secret_for_tests_ = false; |
117 | 118 |
118 void set_allow_empty_auth_secret_for_tests(bool value) { | 119 void set_allow_empty_auth_secret_for_tests(bool value) { |
119 allow_empty_auth_secret_for_tests_ = value; | 120 allow_empty_auth_secret_for_tests_ = value; |
120 } | 121 } |
121 }; | 122 }; |
122 | 123 |
123 } // namespace gcm | 124 } // namespace gcm |
124 | 125 |
125 #endif // COMPONENTS_GCM_DRIVER_CRYPTO_GCM_MESSAGE_CRYPTOGRAPHER_H_ | 126 #endif // COMPONENTS_GCM_DRIVER_CRYPTO_GCM_MESSAGE_CRYPTOGRAPHER_H_ |
OLD | NEW |