Index: ios/chrome/browser/passwords/credential_manager.h |
diff --git a/ios/chrome/browser/passwords/credential_manager.h b/ios/chrome/browser/passwords/credential_manager.h |
index da6c4d6e9bcca061ac61dc91a987822dc902cebe..68dcf723611e9d0205403cd9f2dd05659fe075db 100644 |
--- a/ios/chrome/browser/passwords/credential_manager.h |
+++ b/ios/chrome/browser/passwords/credential_manager.h |
@@ -58,9 +58,11 @@ class CredentialManager |
bool IsZeroClickAllowed() const override; |
GURL GetOrigin() const override; |
void SendCredential( |
- int id, |
+ const password_manager::SendCredentialCallback& send_callback, |
const password_manager::CredentialInfo& credential) override; |
- void SendPasswordForm(int id, const autofill::PasswordForm* form) override; |
+ void SendPasswordForm( |
+ const password_manager::SendCredentialCallback& send_callback, |
+ const autofill::PasswordForm* form) override; |
password_manager::PasswordManagerClient* client() const override; |
autofill::PasswordForm GetSynthesizedFormForOrigin() const override; |
@@ -84,6 +86,9 @@ class CredentialManager |
ERROR_TYPE_SECURITY_ERROR_UNTRUSTED_ORIGIN, |
}; |
+ void SendCredentialByID(int request_id, |
+ const password_manager::CredentialInfo& credential); |
+ |
// Sends a message via |js_manager_| to resolve the JavaScript Promise |
// associated with |request_id|. Invoked after a page-initiated credential |
// event is acknowledged by the PasswordStore. |