chromeos: bluetooth: add BluetoothNodeClient
[chromium-blink-merge.git] / crypto / mac_security_services_lock.h
blobf857cda2750d90e9d71910dcc3875ee180f1cb89
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
3 // found in the LICENSE file.
5 #ifndef CRYPTO_MAC_SECURITY_SERVICES_LOCK_H_
6 #define CRYPTO_MAC_SECURITY_SERVICES_LOCK_H_
7 #pragma once
9 #include "crypto/crypto_export.h"
11 namespace base {
12 class Lock;
16 namespace crypto {
18 // The Mac OS X certificate and key management wrappers over CSSM are not
19 // thread-safe. In particular, code that accesses the CSSM database is
20 // problematic.
22 // http://developer.apple.com/mac/library/documentation/Security/Reference/certifkeytrustservices/Reference/reference.html
23 CRYPTO_EXPORT base::Lock& GetMacSecurityServicesLock();
25 } // namespace crypto
27 #endif // CRYPTO_MAC_SECURITY_SERVICES_LOCK_H_