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

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

Issue 1480153002: Investigate Android build problems in review 1414463004. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Add //url dep on GN test_support target. Created 5 years 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/password_manager_test_utils.h
diff --git a/components/password_manager/core/browser/password_manager_test_utils.h b/components/password_manager/core/browser/password_manager_test_utils.h
index c6e7c6a33b7968303ac6529027e8dd50357bd57c..369f2470e1e6d24047fd54a04d24a7faa34ace9d 100644
--- a/components/password_manager/core/browser/password_manager_test_utils.h
+++ b/components/password_manager/core/browser/password_manager_test_utils.h
@@ -76,6 +76,14 @@ MATCHER_P(UnorderedPasswordFormElementsAre, expectations, "") {
result_listener->stream());
}
+class MockPasswordStoreObserver : public PasswordStore::Observer {
+ public:
+ MockPasswordStoreObserver();
+ ~MockPasswordStoreObserver() override;
+
+ MOCK_METHOD1(OnLoginsChanged, void(const PasswordStoreChangeList& changes));
+};
+
} // namespace password_manager
#endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_TEST_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698