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

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

Issue 152683002: Passwords: Remove references to BrowserThread from PasswordStore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix more tests. Created 6 years, 11 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_x.cc
diff --git a/chrome/browser/password_manager/password_store_x.cc b/chrome/browser/password_manager/password_store_x.cc
index 4d1b031d8163146d554e30704ec9683ef0cabe36..95c58b89859c3b7f28d8894c468c729dc85b0f3d 100644
--- a/chrome/browser/password_manager/password_store_x.cc
+++ b/chrome/browser/password_manager/password_store_x.cc
@@ -23,11 +23,17 @@ using autofill::PasswordForm;
using content::BrowserThread;
using std::vector;
-PasswordStoreX::PasswordStoreX(LoginDatabase* login_db,
- Profile* profile,
- NativeBackend* backend)
- : PasswordStoreDefault(login_db, profile),
- backend_(backend), migration_checked_(!backend), allow_fallback_(false) {
+PasswordStoreX::PasswordStoreX(
+ scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner,
+ LoginDatabase* login_db,
+ Profile* profile,
+ NativeBackend* backend)
+ : PasswordStoreDefault(
+ main_task_runner, db_thread_runner, login_db, profile),
+ backend_(backend),
+ migration_checked_(!backend),
+ allow_fallback_(false) {
}
PasswordStoreX::~PasswordStoreX() {}

Powered by Google App Engine
This is Rietveld 408576698