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

Unified Diff: components/password_manager/core/browser/credential_manager_pending_require_user_mediation_task.cc

Issue 2133953002: PasswordForm -> FormDigest for GetLogins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@413020_ssl_valid
Patch Set: Nits addressed Created 4 years, 5 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
Index: components/password_manager/core/browser/credential_manager_pending_require_user_mediation_task.cc
diff --git a/components/password_manager/core/browser/credential_manager_pending_require_user_mediation_task.cc b/components/password_manager/core/browser/credential_manager_pending_require_user_mediation_task.cc
index 8cf5b31bf420aa8bbd1307894193c922e9e622fa..d8bc5b800d12255483b3c13e8e030e20084b0958 100644
--- a/components/password_manager/core/browser/credential_manager_pending_require_user_mediation_task.cc
+++ b/components/password_manager/core/browser/credential_manager_pending_require_user_mediation_task.cc
@@ -46,7 +46,8 @@ void CredentialManagerPendingRequireUserMediationTask::
net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES);
if (registrable_domains_.count(form_registrable_domain) ||
(affiliated_realms_.count(form->signon_realm) &&
- AffiliatedMatchHelper::IsValidAndroidCredential(*form))) {
+ AffiliatedMatchHelper::IsValidAndroidCredential(
+ PasswordStore::FormDigest(*form)))) {
form->skip_zero_click = true;
// Note that UpdateLogin ends up copying the form while posting a task to
// update the PasswordStore, so it's fine to let |results| delete the

Powered by Google App Engine
This is Rietveld 408576698