Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: base/nss_util_internal.h

Issue 2873027: Consistently increase the reference count when calling GetDefaultNSSKeySlot (Closed)
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/nss_util.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « base/nss_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698