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

Unified Diff: chrome/browser/sync_file_system/drive_backend/drive_backend_sync_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/sync_file_system/drive_backend/drive_backend_sync_unittest.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc b/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc
index c95fb48d7635055ffd4a97876948ff0befd8fb63..76f7d20ace833570aadb62129d0f5aa0954f4b32 100644
--- a/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc
+++ b/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc
@@ -85,7 +85,7 @@ class DriveBackendSyncTest : public testing::Test,
ASSERT_TRUE(base_dir_.CreateUniqueTempDir());
in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default()));
- io_task_runner_ = content::BrowserThread::GetMessageLoopProxyForThread(
+ io_task_runner_ = content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::IO);
scoped_refptr<base::SequencedWorkerPool> worker_pool(
content::BrowserThread::GetBlockingPool());
@@ -93,7 +93,7 @@ class DriveBackendSyncTest : public testing::Test,
worker_pool->GetSequencedTaskRunnerWithShutdownBehavior(
worker_pool->GetSequenceToken(),
base::SequencedWorkerPool::SKIP_ON_SHUTDOWN);
- file_task_runner_ = content::BrowserThread::GetMessageLoopProxyForThread(
+ file_task_runner_ = content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::FILE);
scoped_refptr<base::SequencedTaskRunner> drive_task_runner =
worker_pool->GetSequencedTaskRunnerWithShutdownBehavior(

Powered by Google App Engine
This is Rietveld 408576698