OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 BASE_NSS_SLOT_UTIL_H_ | 5 #ifndef BASE_NSS_SLOT_UTIL_H_ |
6 #define BASE_NSS_SLOT_UTIL_H_ | 6 #define BASE_NSS_SLOT_UTIL_H_ |
7 | 7 |
8 #include <secmodt.h> | 8 #include <secmodt.h> |
9 | 9 |
10 // These functions return a type defined in an NSS header, and so cannot be | 10 // These functions return a type defined in an NSS header, and so cannot be |
11 // declared in nss_util.h. Hence, they are declared here. | 11 // declared in nss_util.h. Hence, they are declared here. |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 | 14 |
| 15 // Returns a reference to the default NSS key slot. Caller must release |
| 16 // reference with PK11_FreeSlot. |
15 PK11SlotInfo* GetDefaultNSSKeySlot(); | 17 PK11SlotInfo* GetDefaultNSSKeySlot(); |
16 | 18 |
17 } // namespace base | 19 } // namespace base |
18 | 20 |
19 #endif // BASE_NSS_UTIL_H_ | 21 #endif // BASE_NSS_UTIL_H_ |
OLD | NEW |