Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Unified Diff: ios/chrome/browser/passwords/credential_manager.mm

Issue 1946563003: Fix blacklisting password forms with Credential Manager API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ios Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/password_manager/core/common/credential_manager_types_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1389ebae6a1c031178be02469f5f2de344634be5..3ad9eb29c611f7a0fd0baaa41095190ce5c0d818 100644
--- a/ios/chrome/browser/passwords/credential_manager.mm
+++ b/ios/chrome/browser/passwords/credential_manager.mm
@@ -205,7 +205,9 @@ void CredentialManager::SignedIn(int request_id,
// accordingly.
form_manager_.reset(
new password_manager::CredentialManagerPasswordFormManager(
- client_, driver_->AsWeakPtr(), *form, this));
+ client_, driver_->AsWeakPtr(),
+ *password_manager::CreateObservedPasswordFormFromOrigin(page_url),
+ std::move(form), this));
}
void CredentialManager::SignedOut(int request_id, const GURL& source_url) {
« no previous file with comments | « components/password_manager/core/common/credential_manager_types_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698