| Index: ios/chrome/browser/passwords/credential_manager.mm
|
| diff --git a/ios/chrome/browser/passwords/credential_manager.mm b/ios/chrome/browser/passwords/credential_manager.mm
|
| index 7376962e22b7bc64d8a0c05d64ce73df58356c92..76261153b96b2389b202041aa73d07713de2ae3f 100644
|
| --- a/ios/chrome/browser/passwords/credential_manager.mm
|
| +++ b/ios/chrome/browser/passwords/credential_manager.mm
|
| @@ -284,6 +284,20 @@ void CredentialManager::SendCredential(
|
| }];
|
| }
|
|
|
| +void CredentialManager::SendPasswordForm(int request_id,
|
| + const autofill::PasswordForm* form) {
|
| + password_manager::CredentialInfo info;
|
| + if (form) {
|
| + password_manager::CredentialType type_to_return =
|
| + form->federation_origin.unique()
|
| + ? password_manager::CredentialType::CREDENTIAL_TYPE_PASSWORD
|
| + : password_manager::CredentialType::CREDENTIAL_TYPE_FEDERATED;
|
| + info = password_manager::CredentialInfo(*form, type_to_return);
|
| + // TODO(vasilii): update |skip_zero_click| in the store (crbug.com/594110).
|
| + }
|
| + SendCredential(request_id, info);
|
| +}
|
| +
|
| password_manager::PasswordManagerClient* CredentialManager::client() const {
|
| return client_;
|
| }
|
|
|