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

Unified Diff: chrome/browser/password_manager/password_store_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_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_unittest.cc b/chrome/browser/password_manager/password_store_unittest.cc
index 531d5f0b7ecc059058f99e4daf3aa738c60c2ecb..6b8033698dd958122984cbcbc9cc9d5c8380d8fa 100644
--- a/chrome/browser/password_manager/password_store_unittest.cc
+++ b/chrome/browser/password_manager/password_store_unittest.cc
@@ -128,7 +128,11 @@ ACTION(QuitUIMessageLoop) {
TEST_F(PasswordStoreTest, IgnoreOldWwwGoogleLogins) {
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();
const time_t cutoff = 1325376000; // 00:00 Jan 1 2012 UTC

Powered by Google App Engine
This is Rietveld 408576698