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

Unified Diff: chrome/browser/password_manager/password_store_win_unittest.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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_win_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_win_unittest.cc b/chrome/browser/password_manager/password_store_win_unittest.cc
index 21508c5acf8ba1deee8ed94d7d5fa427369877a0..2185a5e8d5fcc707a7e8b720c0cb8ad006b210e2 100644
--- a/chrome/browser/password_manager/password_store_win_unittest.cc
+++ b/chrome/browser/password_manager/password_store_win_unittest.cc
@@ -129,13 +129,13 @@ class PasswordStoreWinTest : public testing::Test {
base::FilePath path = temp_dir_.path().AppendASCII("web_data_test");
wdbs_ = new WebDatabaseService(
- path, BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI),
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB));
+ path, BrowserThread::GetTaskRunnerForThread(BrowserThread::UI),
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::DB));
// Need to add at least one table so the database gets created.
wdbs_->AddTable(std::unique_ptr<WebDatabaseTable>(new LoginsTable()));
wdbs_->LoadDatabase();
wds_ = new PasswordWebDataService(
- wdbs_, BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI),
+ wdbs_, BrowserThread::GetTaskRunnerForThread(BrowserThread::UI),
WebDataServiceBase::ProfileErrorCallback());
wds_->Init();
}
@@ -170,7 +170,7 @@ class PasswordStoreWinTest : public testing::Test {
PasswordStoreWin* CreatePasswordStore() {
return new PasswordStoreWin(
base::ThreadTaskRunnerHandle::Get(),
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB),
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::DB),
base::WrapUnique(new LoginDatabase(test_login_db_file_path())),
wds_.get());
}

Powered by Google App Engine
This is Rietveld 408576698