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

Unified Diff: chrome/browser/password_manager/password_store_x_unittest.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_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_x_unittest.cc b/chrome/browser/password_manager/password_store_x_unittest.cc
index 9beb6ffdcbbb1443ce2177320f4a670c9f643160..602f4f518b141110fa45d54857e1f93d3e29010b 100644
--- a/chrome/browser/password_manager/password_store_x_unittest.cc
+++ b/chrome/browser/password_manager/password_store_x_unittest.cc
@@ -284,9 +284,12 @@ ACTION(STLDeleteElements0) {
TEST_P(PasswordStoreXTest, Notifications) {
scoped_refptr<PasswordStoreX> store(
- new PasswordStoreX(login_db_.release(),
- profile_.get(),
- GetBackend()));
+ new PasswordStoreX(
+ base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current(),
+ login_db_.release(),
+ profile_.get(),
+ GetBackend()));
store->Init();
PasswordFormData form_data =
@@ -396,9 +399,12 @@ TEST_P(PasswordStoreXTest, NativeMigration) {
// Initializing the PasswordStore shouldn't trigger a native migration (yet).
scoped_refptr<PasswordStoreX> store(
- new PasswordStoreX(login_db_.release(),
- profile_.get(),
- GetBackend()));
+ new PasswordStoreX(
+ base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current(),
+ login_db_.release(),
+ profile_.get(),
+ GetBackend()));
store->Init();
MockPasswordStoreConsumer consumer;
« no previous file with comments | « chrome/browser/password_manager/password_store_x.cc ('k') | chrome/browser/password_manager/test_password_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698