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

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

Issue 2846023003: Creating a preference for storing a sync password hash. (Closed)
Patch Set: Reviewer's comments addressed Created 3 years, 8 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_password_store.h
diff --git a/components/password_manager/core/browser/mock_password_store.h b/components/password_manager/core/browser/mock_password_store.h
index a8dbbf4d36ba1175ab5ece206b2655031315c15d..afc92cc202ee31243f6df03ea58e5796bfc3ee98 100644
--- a/components/password_manager/core/browser/mock_password_store.h
+++ b/components/password_manager/core/browser/mock_password_store.h
@@ -13,13 +13,16 @@
#include "components/password_manager/core/browser/statistics_table.h"
#include "testing/gmock/include/gmock/gmock.h"
+class PrefService;
+
namespace password_manager {
class MockPasswordStore : public PasswordStore {
public:
MockPasswordStore();
- bool Init(const syncer::SyncableService::StartSyncFlare& flare) override {
+ bool Init(const syncer::SyncableService::StartSyncFlare& flare,
+ PrefService* prefs) override {
return true;
};
MOCK_METHOD1(RemoveLogin, void(const autofill::PasswordForm&));

Powered by Google App Engine
This is Rietveld 408576698