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

Unified Diff: chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc

Issue 1128523002: Usage of ThreadTaskRunner in lieu of in [chrome/browser/sync],[components/sync_driver] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Review Comments Created 5 years, 7 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/glue/frontend_data_type_controller_unittest.cc
diff --git a/chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc b/chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc
index d2ef4618e54cc2f92b62749441c65a20cdab8848..497c5472320d790de47c9cf5df3058e11521af1d 100644
--- a/chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc
@@ -9,6 +9,7 @@
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
+#include "base/thread_task_runner_handle.h"
#include "base/tracked_objects.h"
#include "chrome/browser/sync/glue/frontend_data_type_controller.h"
#include "chrome/browser/sync/glue/frontend_data_type_controller_mock.h"
@@ -41,7 +42,7 @@ class FrontendDataTypeControllerFake : public FrontendDataTypeController {
Profile* profile,
ProfileSyncService* sync_service,
FrontendDataTypeControllerMock* mock)
- : FrontendDataTypeController(base::MessageLoopProxy::current(),
+ : FrontendDataTypeController(base::ThreadTaskRunnerHandle::Get(),
base::Closure(),
profile_sync_factory,
profile,

Powered by Google App Engine
This is Rietveld 408576698