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