Index: chrome/browser/password_manager/password_store_mac_internal.h |
diff --git a/chrome/browser/password_manager/password_store_mac_internal.h b/chrome/browser/password_manager/password_store_mac_internal.h |
index 21fe031c1f5dc6382c2cf17bb0107ad0a184810e..245ecbbf6cd550794997603edd8e0be61967d101 100644 |
--- a/chrome/browser/password_manager/password_store_mac_internal.h |
+++ b/chrome/browser/password_manager/password_store_mac_internal.h |
@@ -30,12 +30,9 @@ class MacKeychainPasswordFormAdapter { |
const std::string& signon_realm, |
autofill::PasswordForm::Scheme scheme); |
- // Returns the PasswordForm for the Keychain entry that matches |form| on all |
- // of the fields that uniquely identify a Keychain item, or NULL if there is |
- // no such entry. |
- // Caller is responsible for deleting the returned form. |
- autofill::PasswordForm* PasswordExactlyMatchingForm( |
- const autofill::PasswordForm& query_form); |
+ // Returns true if there is the Keychain entry that matches |query_form| on |
+ // all of the fields that uniquely identify a Keychain item. |
+ bool HasPasswordExactlyMatchingForm(const autofill::PasswordForm& query_form); |
// Returns true if the keychain contains any items that are mergeable with |
// |query_form|. This is different from actually extracting the passwords |