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

Unified Diff: sync/api/sync_data_unittest.cc

Issue 375403002: Replace MessageLoopProxy with ThreadTaskRunnerHandle in src/sync/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: sync/api/sync_data_unittest.cc
diff --git a/sync/api/sync_data_unittest.cc b/sync/api/sync_data_unittest.cc
index fb305dee2f5230cc3ab085f3732edfb7b551c26b..aa34b0e9bc8418ff6f69346acaa358431591607a 100644
--- a/sync/api/sync_data_unittest.cc
+++ b/sync/api/sync_data_unittest.cc
@@ -8,7 +8,7 @@
#include "base/memory/ref_counted_memory.h"
#include "base/message_loop/message_loop.h"
-#include "base/message_loop/message_loop_proxy.h"
+#include "base/thread_task_runner_handle.h"
#include "base/time/time.h"
#include "sync/api/attachments/attachment_id.h"
#include "sync/api/attachments/attachment_service.h"
@@ -35,7 +35,7 @@ class SyncDataTest : public testing::Test {
: attachment_service(AttachmentServiceImpl::CreateForTest()),
attachment_service_weak_ptr_factory(attachment_service.get()),
attachment_service_proxy(
- base::MessageLoopProxy::current(),
+ base::ThreadTaskRunnerHandle::Get(),
attachment_service_weak_ptr_factory.GetWeakPtr()) {}
base::MessageLoop loop;
sync_pb::EntitySpecifics specifics;

Powered by Google App Engine
This is Rietveld 408576698