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

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

Issue 1960653002: Fix blacklisting password forms with Credential Manager API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 7 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 b1e86fd1577e59f9cb4411ceb458010cc16f3555..1cd453bfe27a4a3775a5aab18a1342d04c0f9b69 100644
--- a/ios/chrome/browser/passwords/credential_manager.mm
+++ b/ios/chrome/browser/passwords/credential_manager.mm
@@ -204,7 +204,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