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_KEYCHAIN_MAC_H_ |
6 #define CRYPTO_KEYCHAIN_MAC_H_ | 6 #define CRYPTO_KEYCHAIN_MAC_H_ |
7 | 7 |
8 #include <Security/Security.h> | 8 #include <Security/Security.h> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
| 11 #include "build/build_config.h" |
11 #include "crypto/crypto_export.h" | 12 #include "crypto/crypto_export.h" |
12 | 13 |
13 #if defined (OS_IOS) | 14 #if defined (OS_IOS) |
14 typedef void* SecKeychainRef; | 15 typedef void* SecKeychainRef; |
15 typedef void* SecKeychainItemRef; | 16 typedef void* SecKeychainItemRef; |
16 typedef void SecKeychainAttributeList; | 17 typedef void SecKeychainAttributeList; |
17 #endif | 18 #endif |
18 | 19 |
19 namespace crypto { | 20 namespace crypto { |
20 | 21 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 virtual void Free(CFTypeRef ref) const; | 100 virtual void Free(CFTypeRef ref) const; |
100 #endif // !defined(OS_IOS) | 101 #endif // !defined(OS_IOS) |
101 | 102 |
102 private: | 103 private: |
103 DISALLOW_COPY_AND_ASSIGN(AppleKeychain); | 104 DISALLOW_COPY_AND_ASSIGN(AppleKeychain); |
104 }; | 105 }; |
105 | 106 |
106 } // namespace crypto | 107 } // namespace crypto |
107 | 108 |
108 #endif // CRYPTO_KEYCHAIN_MAC_H_ | 109 #endif // CRYPTO_KEYCHAIN_MAC_H_ |
OLD | NEW |