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

Side by Side Diff: crypto/mac_security_services_lock.h

Issue 7532023: mac: Components build for crypto (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | Annotate | Revision Log
« crypto/cssm_init.h ('K') | « crypto/cssm_init.h ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_MAC_SECURITY_SERVICES_LOCK_H_ 5 #ifndef CRYPTO_MAC_SECURITY_SERVICES_LOCK_H_
6 #define CRYPTO_MAC_SECURITY_SERVICES_LOCK_H_ 6 #define CRYPTO_MAC_SECURITY_SERVICES_LOCK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "crypto/crypto_api.h"
10
9 namespace base { 11 namespace base {
10 class Lock; 12 class Lock;
11 } 13 }
12 14
13 15
14 namespace crypto { 16 namespace crypto {
15 17
16 // The Mac OS X certificate and key management wrappers over CSSM are not 18 // The Mac OS X certificate and key management wrappers over CSSM are not
17 // thread-safe. In particular, code that accesses the CSSM database is 19 // thread-safe. In particular, code that accesses the CSSM database is
18 // problematic. 20 // problematic.
19 // 21 //
20 // http://developer.apple.com/mac/library/documentation/Security/Reference/certi fkeytrustservices/Reference/reference.html 22 // http://developer.apple.com/mac/library/documentation/Security/Reference/certi fkeytrustservices/Reference/reference.html
21 base::Lock& GetMacSecurityServicesLock(); 23 CRYPTO_API base::Lock& GetMacSecurityServicesLock();
22 24
23 } // namespace crypto 25 } // namespace crypto
24 26
25 #endif // CRYPTO_MAC_SECURITY_SERVICES_LOCK_H_ 27 #endif // CRYPTO_MAC_SECURITY_SERVICES_LOCK_H_
OLDNEW
« crypto/cssm_init.h ('K') | « crypto/cssm_init.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698