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 CRYPTO_SECURE_HASH_H_ | 5 #ifndef CRYPTO_SECURE_HASH_H_ |
6 #define CRYPTO_SECURE_HASH_H_ | 6 #define CRYPTO_SECURE_HASH_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stddef.h> |
| 9 |
| 10 #include "base/macros.h" |
9 #include "crypto/crypto_export.h" | 11 #include "crypto/crypto_export.h" |
10 | 12 |
11 namespace base { | 13 namespace base { |
12 class Pickle; | 14 class Pickle; |
13 class PickleIterator; | 15 class PickleIterator; |
14 } | 16 } |
15 | 17 |
16 namespace crypto { | 18 namespace crypto { |
17 | 19 |
18 // A wrapper to calculate secure hashes incrementally, allowing to | 20 // A wrapper to calculate secure hashes incrementally, allowing to |
(...skipping 24 matching lines...) Expand all Loading... |
43 protected: | 45 protected: |
44 SecureHash() {} | 46 SecureHash() {} |
45 | 47 |
46 private: | 48 private: |
47 DISALLOW_COPY_AND_ASSIGN(SecureHash); | 49 DISALLOW_COPY_AND_ASSIGN(SecureHash); |
48 }; | 50 }; |
49 | 51 |
50 } // namespace crypto | 52 } // namespace crypto |
51 | 53 |
52 #endif // CRYPTO_SECURE_HASH_H_ | 54 #endif // CRYPTO_SECURE_HASH_H_ |
OLD | NEW |