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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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: 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
deleted file mode 100644
index c903929a776303aaf460828c10f76197f0b3be01..0000000000000000000000000000000000000000
--- a/sync/internal_api/public/engine/passive_model_worker.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "sync/internal_api/public/engine/passive_model_worker.h"
-
-#include "base/message_loop/message_loop.h"
-
-namespace syncer {
-
-PassiveModelWorker::PassiveModelWorker(WorkerLoopDestructionObserver* observer)
- : ModelSafeWorker(observer) {}
-
-PassiveModelWorker::~PassiveModelWorker() {
-}
-
-void PassiveModelWorker::RegisterForLoopDestruction() {
- SetWorkingLoopToCurrent();
-}
-
-SyncerError PassiveModelWorker::DoWorkAndWaitUntilDoneImpl(
- const WorkCallback& work) {
- // Simply do the work on the current thread.
- return work.Run();
-}
-
-ModelSafeGroup PassiveModelWorker::GetModelSafeGroup() {
- return GROUP_PASSIVE;
-}
-
-} // namespace syncer
« no previous file with comments | « sync/internal_api/public/engine/passive_model_worker.h ('k') | sync/internal_api/public/engine/polling_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698