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

Unified Diff: chrome/browser/password_manager/password_store_default.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_default.cc
diff --git a/chrome/browser/password_manager/password_store_default.cc b/chrome/browser/password_manager/password_store_default.cc
index 14876ed0258143621ce9e519511c2e4d4d54e4f9..aa29ddb89f15b930883baec26a92d8847592301e 100644
--- a/chrome/browser/password_manager/password_store_default.cc
+++ b/chrome/browser/password_manager/password_store_default.cc
@@ -20,9 +20,14 @@
using autofill::PasswordForm;
using content::BrowserThread;
-PasswordStoreDefault::PasswordStoreDefault(LoginDatabase* login_db,
- Profile* profile)
- : login_db_(login_db), profile_(profile) {
+PasswordStoreDefault::PasswordStoreDefault(
+ scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner,
+ LoginDatabase* login_db,
+ Profile* profile)
+ : PasswordStore(main_thread_runner, db_thread_runner),
+ login_db_(login_db),
+ profile_(profile) {
DCHECK(login_db);
DCHECK(profile);
}

Powered by Google App Engine
This is Rietveld 408576698