Index: components/password_manager/core/browser/password_store.h |
diff --git a/components/password_manager/core/browser/password_store.h b/components/password_manager/core/browser/password_store.h |
index e7f7ccb59223e49529d8803ec63e9174de578179..b405e2fa06ddfc52009355b5843429af2fee9b11 100644 |
--- a/components/password_manager/core/browser/password_store.h |
+++ b/components/password_manager/core/browser/password_store.h |
@@ -28,6 +28,7 @@ |
#endif |
class PasswordStoreProxyMac; |
+class PrefService; |
namespace autofill { |
struct PasswordForm; |
@@ -92,7 +93,8 @@ class PasswordStore : protected PasswordStoreSync, |
scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner); |
// Reimplement this to add custom initialization. Always call this too. |
- virtual bool Init(const syncer::SyncableService::StartSyncFlare& flare); |
+ virtual bool Init(const syncer::SyncableService::StartSyncFlare& flare, |
+ PrefService* prefs); |
// RefcountedKeyedService: |
void ShutdownOnUIThread() override; |
@@ -550,7 +552,8 @@ class PasswordStore : protected PasswordStoreSync, |
// Creates PasswordSyncableService and PasswordReuseDetector instances on the |
// background thread. |
void InitOnBackgroundThread( |
- const syncer::SyncableService::StartSyncFlare& flare); |
+ const syncer::SyncableService::StartSyncFlare& flare, |
+ PrefService* prefs); |
// Deletes objest that should be destroyed on the background thread. |
void DestroyOnBackgroundThread(); |