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

Unified Diff: components/password_manager/core/browser/mock_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/mock_affiliated_match_helper.h
diff --git a/components/password_manager/core/browser/mock_affiliated_match_helper.h b/components/password_manager/core/browser/mock_affiliated_match_helper.h
index c0cc814e573f4327c21d320f1ca1ac70b3cf8beb..81cf077f85e8b1e96ea7e39adf12ca237025d8e7 100644
--- a/components/password_manager/core/browser/mock_affiliated_match_helper.h
+++ b/components/password_manager/core/browser/mock_affiliated_match_helper.h
@@ -25,14 +25,14 @@ class MockAffiliatedMatchHelper : public AffiliatedMatchHelper {
// |expected_observed_form|, and will cause the result callback supplied to
// GetAffiliatedAndroidRealms() to be invoked with |results_to_return|.
void ExpectCallToGetAffiliatedAndroidRealms(
- const autofill::PasswordForm& expected_observed_form,
+ const PasswordStore::FormDigest& expected_observed_form,
const std::vector<std::string>& results_to_return);
// Expects GetAffiliatedWebRealms() to be called with the
// |expected_android_form|, and will cause the result callback supplied to
// GetAffiliatedWebRealms() to be invoked with |results_to_return|.
void ExpectCallToGetAffiliatedWebRealms(
- const autofill::PasswordForm& expected_android_form,
+ const PasswordStore::FormDigest& expected_android_form,
const std::vector<std::string>& results_to_return);
void ExpectCallToInjectAffiliatedWebRealms(
@@ -40,16 +40,16 @@ class MockAffiliatedMatchHelper : public AffiliatedMatchHelper {
private:
MOCK_METHOD1(OnGetAffiliatedAndroidRealmsCalled,
- std::vector<std::string>(const autofill::PasswordForm&));
+ std::vector<std::string>(const PasswordStore::FormDigest&));
MOCK_METHOD1(OnGetAffiliatedWebRealmsCalled,
- std::vector<std::string>(const autofill::PasswordForm&));
+ std::vector<std::string>(const PasswordStore::FormDigest&));
MOCK_METHOD0(OnInjectAffiliatedWebRealmsCalled, std::vector<std::string>());
void GetAffiliatedAndroidRealms(
- const autofill::PasswordForm& observed_form,
+ const PasswordStore::FormDigest& observed_form,
const AffiliatedRealmsCallback& result_callback) override;
void GetAffiliatedWebRealms(
- const autofill::PasswordForm& android_form,
+ const PasswordStore::FormDigest& android_form,
const AffiliatedRealmsCallback& result_callback) override;
void InjectAffiliatedWebRealms(

Powered by Google App Engine
This is Rietveld 408576698