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

Unified Diff: sync/internal_api/public/engine/passive_model_worker.cc

Issue 14113050: sync: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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: sync/internal_api/public/engine/passive_model_worker.cc
diff --git a/sync/internal_api/public/engine/passive_model_worker.cc b/sync/internal_api/public/engine/passive_model_worker.cc
index 10d20ee4f87be8773483ca2d8074283b0e76395f..50d00cf08176b5b65ce1d9d446bbf66e40784747 100644
--- a/sync/internal_api/public/engine/passive_model_worker.cc
+++ b/sync/internal_api/public/engine/passive_model_worker.cc
@@ -8,7 +8,7 @@
namespace syncer {
-PassiveModelWorker::PassiveModelWorker(const MessageLoop* sync_loop)
+PassiveModelWorker::PassiveModelWorker(const base::MessageLoop* sync_loop)
: sync_loop_(sync_loop) {}
PassiveModelWorker::~PassiveModelWorker() {
@@ -16,7 +16,7 @@ PassiveModelWorker::~PassiveModelWorker() {
SyncerError PassiveModelWorker::DoWorkAndWaitUntilDone(
const WorkCallback& work) {
- DCHECK_EQ(MessageLoop::current(), sync_loop_);
+ DCHECK_EQ(base::MessageLoop::current(), sync_loop_);
// Simply do the work on the current thread.
return work.Run();
}
« no previous file with comments | « sync/internal_api/js_sync_manager_observer_unittest.cc ('k') | sync/internal_api/public/util/weak_handle_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698