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

Unified Diff: components/password_manager/core/browser/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/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();

Powered by Google App Engine
This is Rietveld 408576698