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

Side by Side Diff: base/crypto/cssm_init.h

Issue 259026: Implement signature_creator_mac (Closed)
Patch Set: cr change Created 11 years, 2 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/base.gyp ('k') | base/crypto/cssm_init.cc » ('j') | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_CRYPTO_CSSM_INIT_H_ 5 #ifndef BASE_CRYPTO_CSSM_INIT_H_
6 #define BASE_CRYPTO_CSSM_INIT_H_ 6 #define BASE_CRYPTO_CSSM_INIT_H_
7 7
8 #include <Security/cssm.h>
9
10 #include "base/logging.h"
11 #include "base/scoped_ptr.h"
12
8 namespace base { 13 namespace base {
9 14
10 // Initialize CSSM if it isn't already initialized. This must be called before 15 // Initialize CSSM if it isn't already initialized. This must be called before
11 // any other CSSM functions. This function is thread-safe, and CSSM will only 16 // any other CSSM functions. This function is thread-safe, and CSSM will only
12 // ever be initialized once. CSSM will be properly shut down on program exit. 17 // ever be initialized once. CSSM will be properly shut down on program exit.
13 void EnsureCSSMInit(); 18 void EnsureCSSMInit();
14 19
20 // Set of pointers to memory function wrappers that are required for CSSM
21 extern const CSSM_API_MEMORY_FUNCS kCssmMemoryFunctions;
22
15 } // namespace base 23 } // namespace base
16 24
17 #endif // BASE_CRYPTO_CSSM_INIT_H_ 25 #endif // BASE_CRYPTO_CSSM_INIT_H_
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | base/crypto/cssm_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698