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

Unified Diff: chrome/browser/password_manager/password_store_proxy_mac.cc

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: chrome/browser/password_manager/password_store_proxy_mac.cc
diff --git a/chrome/browser/password_manager/password_store_proxy_mac.cc b/chrome/browser/password_manager/password_store_proxy_mac.cc
index e82ebe5729aa24a01a56adfafabdda6e9752ccc2..84e950a5c7d94eda6f39c6f0d52c9e744cd4e5da 100644
--- a/chrome/browser/password_manager/password_store_proxy_mac.cc
+++ b/chrome/browser/password_manager/password_store_proxy_mac.cc
@@ -36,7 +36,8 @@ PasswordStoreProxyMac::~PasswordStoreProxyMac() {
}
bool PasswordStoreProxyMac::Init(
- const syncer::SyncableService::StartSyncFlare& flare) {
+ const syncer::SyncableService::StartSyncFlare& flare,
+ PrefService* prefs) {
// Set up a background thread.
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
thread_.reset(new base::Thread("Chrome_PasswordStore_Thread"));
@@ -51,7 +52,7 @@ bool PasswordStoreProxyMac::Init(
static_cast<MigrationStatus>(migration_status_.GetValue()))))
return false;
- return password_manager::PasswordStore::Init(flare);
+ return password_manager::PasswordStore::Init(flare, prefs);
}
void PasswordStoreProxyMac::ShutdownOnUIThread() {

Powered by Google App Engine
This is Rietveld 408576698