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

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

Issue 2743243005: Initialize PasswordReuseDetector on PasswordStore initialization on Mac. (Closed)
Patch Set: Added comment Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cb78af3a157f310c0b67dbcdb1c63d9300506301..e82ebe5729aa24a01a56adfafabdda6e9752ccc2 100644
--- a/chrome/browser/password_manager/password_store_proxy_mac.cc
+++ b/chrome/browser/password_manager/password_store_proxy_mac.cc
@@ -46,12 +46,12 @@ bool PasswordStoreProxyMac::Init(
return false;
}
- if (!password_manager::PasswordStore::Init(flare))
+ if (!ScheduleTask(base::Bind(
+ &PasswordStoreProxyMac::InitOnBackgroundThread, this,
+ static_cast<MigrationStatus>(migration_status_.GetValue()))))
return false;
- return ScheduleTask(
- base::Bind(&PasswordStoreProxyMac::InitOnBackgroundThread, this,
- static_cast<MigrationStatus>(migration_status_.GetValue())));
+ return password_manager::PasswordStore::Init(flare);
}
void PasswordStoreProxyMac::ShutdownOnUIThread() {
« no previous file with comments | « no previous file | chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698