Android: Work around driver bug reporting GL errors.
[chromium-blink-merge.git] / crypto / mac_security_services_lock.h
blob06850cda835b053741afeb496dc0d2acdf7e393a
1 // Copyright (c) 2012 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_
8 #include "crypto/crypto_export.h"
10 namespace base {
11 class Lock;
15 namespace crypto {
17 // The Mac OS X certificate and key management wrappers over CSSM are not
18 // thread-safe. In particular, code that accesses the CSSM database is
19 // problematic.
21 // http://developer.apple.com/mac/library/documentation/Security/Reference/certifkeytrustservices/Reference/reference.html
22 CRYPTO_EXPORT base::Lock& GetMacSecurityServicesLock();
24 } // namespace crypto
26 #endif // CRYPTO_MAC_SECURITY_SERVICES_LOCK_H_