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

Unified Diff: chrome/browser/password_manager/password_store_default_unittest.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_default_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_default_unittest.cc b/chrome/browser/password_manager/password_store_default_unittest.cc
index b419a4da94c8b947954f8752384d2860770fb308..9e10b1d86737ae33394f1d2bc1421377c126f219 100644
--- a/chrome/browser/password_manager/password_store_default_unittest.cc
+++ b/chrome/browser/password_manager/password_store_default_unittest.cc
@@ -135,7 +135,11 @@ ACTION(QuitUIMessageLoop) {
TEST_F(PasswordStoreDefaultTest, NonASCIIData) {
scoped_refptr<PasswordStoreDefault> store(
- new PasswordStoreDefault(login_db_.release(), profile_.get()));
+ new PasswordStoreDefault(
+ base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current(),
+ login_db_.release(),
+ profile_.get()));
store->Init();
// Some non-ASCII password form data.
@@ -188,7 +192,11 @@ TEST_F(PasswordStoreDefaultTest, NonASCIIData) {
TEST_F(PasswordStoreDefaultTest, Notifications) {
scoped_refptr<PasswordStore> store(
- new PasswordStoreDefault(login_db_.release(), profile_.get()));
+ new PasswordStoreDefault(
+ base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current(),
+ login_db_.release(),
+ profile_.get()));
store->Init();
PasswordFormData form_data =

Powered by Google App Engine
This is Rietveld 408576698