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_NSS_UTIL_INTERNAL_H_ | 5 #ifndef CRYPTO_NSS_UTIL_INTERNAL_H_ |
6 #define CRYPTO_NSS_UTIL_INTERNAL_H_ | 6 #define CRYPTO_NSS_UTIL_INTERNAL_H_ |
7 | 7 |
8 #include <secmodt.h> | 8 #include <secmodt.h> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
12 #include "crypto/crypto_export.h" | 13 #include "crypto/crypto_export.h" |
13 #include "crypto/scoped_nss_types.h" | 14 #include "crypto/scoped_nss_types.h" |
14 | 15 |
15 namespace base { | 16 namespace base { |
16 class FilePath; | 17 class FilePath; |
17 } | 18 } |
18 | 19 |
19 // These functions return a type defined in an NSS header, and so cannot be | 20 // These functions return a type defined in an NSS header, and so cannot be |
20 // declared in nss_util.h. Hence, they are declared here. | 21 // declared in nss_util.h. Hence, they are declared here. |
21 | 22 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 104 |
104 // Closes the NSS DB for |username_hash| that was previously opened by the | 105 // Closes the NSS DB for |username_hash| that was previously opened by the |
105 // *Initialize*ForChromeOSUser functions. | 106 // *Initialize*ForChromeOSUser functions. |
106 CRYPTO_EXPORT void CloseChromeOSUserForTesting( | 107 CRYPTO_EXPORT void CloseChromeOSUserForTesting( |
107 const std::string& username_hash); | 108 const std::string& username_hash); |
108 #endif // defined(OS_CHROMEOS) | 109 #endif // defined(OS_CHROMEOS) |
109 | 110 |
110 } // namespace crypto | 111 } // namespace crypto |
111 | 112 |
112 #endif // CRYPTO_NSS_UTIL_INTERNAL_H_ | 113 #endif // CRYPTO_NSS_UTIL_INTERNAL_H_ |
OLD | NEW |