Index: crypto/apple_keychain_mac.mm |
diff --git a/crypto/apple_keychain_mac.mm b/crypto/apple_keychain_mac.mm |
index 240c32067bcf147858e21746affbe2883cd3d171..ff5fa3abb39ab0c7f49c961b2e98900e7fea616a 100644 |
--- a/crypto/apple_keychain_mac.mm |
+++ b/crypto/apple_keychain_mac.mm |
@@ -55,14 +55,24 @@ OSStatus AppleKeychain::SearchCreateFromAttributes( |
const SecKeychainAttributeList* attrList, |
SecKeychainSearchRef* searchRef) const { |
base::AutoLock lock(GetMacSecurityServicesLock()); |
+// Eventually, this deprecated method should be removed entirely. |
+// https://crbug.com/595468 |
+#pragma clang diagnostic push |
+#pragma clang diagnostic ignored "-Wdeprecated-declarations" |
return SecKeychainSearchCreateFromAttributes(keychainOrArray, itemClass, |
attrList, searchRef); |
+#pragma clang diagnostic pop |
} |
OSStatus AppleKeychain::SearchCopyNext(SecKeychainSearchRef searchRef, |
SecKeychainItemRef* itemRef) const { |
base::AutoLock lock(GetMacSecurityServicesLock()); |
+// Eventually, this deprecated method should be removed entirely. |
+// https://crbug.com/595468 |
+#pragma clang diagnostic push |
+#pragma clang diagnostic ignored "-Wdeprecated-declarations" |
return SecKeychainSearchCopyNext(searchRef, itemRef); |
+#pragma clang diagnostic pop |
} |
OSStatus AppleKeychain::AddInternetPassword( |