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

Unified Diff: components/password_manager/core/browser/affiliated_match_helper.h

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/affiliated_match_helper.h
diff --git a/components/password_manager/core/browser/affiliated_match_helper.h b/components/password_manager/core/browser/affiliated_match_helper.h
index a72268f86369cd525e881d88865b5b3d056b781f..6f0d5bd76bd59b6b602b1835566a122d296cb5fb 100644
--- a/components/password_manager/core/browser/affiliated_match_helper.h
+++ b/components/password_manager/core/browser/affiliated_match_helper.h
@@ -71,7 +71,7 @@ class AffiliatedMatchHelper : public PasswordStore::Observer,
// |observed_form| if it is web-based. Otherwise, yields the empty list. The
// |result_callback| will be invoked in both cases, on the same thread.
virtual void GetAffiliatedAndroidRealms(
- const autofill::PasswordForm& observed_form,
+ const PasswordStore::FormDigest& observed_form,
const AffiliatedRealmsCallback& result_callback);
// Retrieves realms of web sites affiliated with the Android application that
@@ -82,7 +82,7 @@ class AffiliatedMatchHelper : public PasswordStore::Observer,
// long as the |android_form| is from the PasswordStore, this should rarely
// happen as affiliation information for those applications are prefetched.
virtual void GetAffiliatedWebRealms(
- const autofill::PasswordForm& android_form,
+ const PasswordStore::FormDigest& android_form,
const AffiliatedRealmsCallback& result_callback);
// Retrieves realms of web sites affiliated with the Android credentials in
@@ -98,11 +98,11 @@ class AffiliatedMatchHelper : public PasswordStore::Observer,
void TrimAffiliationCache();
// Returns whether or not |form| represents an Android credential.
- static bool IsValidAndroidCredential(const autofill::PasswordForm& form);
+ static bool IsValidAndroidCredential(const PasswordStore::FormDigest& form);
// Returns whether or not |form| represents a valid Web credential for the
// purposes of affiliation-based matching.
- static bool IsValidWebCredential(const autofill::PasswordForm& form);
+ static bool IsValidWebCredential(const PasswordStore::FormDigest& form);
// Sets the task runner to be used to delay I/O heavy initialization. Should
// be called before Initialize(). Used only for testing.

Powered by Google App Engine
This is Rietveld 408576698