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

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: Rebase. Created 6 years, 10 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..4d90872b54d2abc7154867f0c93d04d998ea5d8c 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_thread_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner,
+ LoginDatabase* login_db,
+ Profile* profile,
+ NativeBackend* backend)
+ : PasswordStoreDefault(
+ main_thread_runner, db_thread_runner, login_db, profile),
+ backend_(backend),
+ migration_checked_(!backend),
+ allow_fallback_(false) {
}
PasswordStoreX::~PasswordStoreX() {}
« no previous file with comments | « chrome/browser/password_manager/password_store_x.h ('k') | chrome/browser/password_manager/password_store_x_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698