OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_KEYCHAIN_MAC_H_ | 5 #ifndef CRYPTO_APPLE_KEYCHAIN_H_ |
6 #define CRYPTO_KEYCHAIN_MAC_H_ | 6 #define CRYPTO_APPLE_KEYCHAIN_H_ |
7 | 7 |
8 #include <Security/Security.h> | 8 #include <Security/Security.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "crypto/crypto_export.h" | 12 #include "crypto/crypto_export.h" |
13 | 13 |
14 #if defined (OS_IOS) | 14 #if defined (OS_IOS) |
15 typedef void* SecKeychainRef; | 15 typedef void* SecKeychainRef; |
16 typedef void* SecKeychainItemRef; | 16 typedef void* SecKeychainItemRef; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 // Calls CFRelease on the given ref, after checking that |ref| is non-NULL. | 99 // Calls CFRelease on the given ref, after checking that |ref| is non-NULL. |
100 virtual void Free(CFTypeRef ref) const; | 100 virtual void Free(CFTypeRef ref) const; |
101 #endif // !defined(OS_IOS) | 101 #endif // !defined(OS_IOS) |
102 | 102 |
103 private: | 103 private: |
104 DISALLOW_COPY_AND_ASSIGN(AppleKeychain); | 104 DISALLOW_COPY_AND_ASSIGN(AppleKeychain); |
105 }; | 105 }; |
106 | 106 |
107 } // namespace crypto | 107 } // namespace crypto |
108 | 108 |
109 #endif // CRYPTO_KEYCHAIN_MAC_H_ | 109 #endif // CRYPTO_APPLE_KEYCHAIN_H_ |
OLD | NEW |