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

Unified Diff: components/password_manager/core/browser/login_database.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/login_database.cc
diff --git a/components/password_manager/core/browser/login_database.cc b/components/password_manager/core/browser/login_database.cc
index 3c227a27d072fcfa92340a9f19f296d5cf1983f5..c51f1f90df24d4dd015d7beb0dba84fabaeaf34d 100644
--- a/components/password_manager/core/browser/login_database.cc
+++ b/components/password_manager/core/browser/login_database.cc
@@ -1028,7 +1028,7 @@ LoginDatabase::EncryptionResult LoginDatabase::InitPasswordFormFromStatement(
}
bool LoginDatabase::GetLogins(
- const PasswordForm& form,
+ const PasswordStore::FormDigest& form,
ScopedVector<autofill::PasswordForm>* forms) const {
DCHECK(forms);
const GURL signon_realm(form.signon_realm);
@@ -1181,7 +1181,7 @@ std::string LoginDatabase::GetEncryptedPassword(
// static
bool LoginDatabase::StatementToForms(
sql::Statement* statement,
- const autofill::PasswordForm* matched_form,
+ const PasswordStore::FormDigest* matched_form,
ScopedVector<autofill::PasswordForm>* forms) {
PSLDomainMatchMetric psl_domain_match_metric = PSL_DOMAIN_MATCH_NONE;

Powered by Google App Engine
This is Rietveld 408576698