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 50d00cf08176b5b65ce1d9d446bbf66e40784747..8b1a4e3c935e8168cd3831461e5f11d10450a155 100644 |
--- a/sync/internal_api/public/engine/passive_model_worker.cc |
+++ b/sync/internal_api/public/engine/passive_model_worker.cc |
@@ -8,13 +8,20 @@ |
namespace syncer { |
-PassiveModelWorker::PassiveModelWorker(const base::MessageLoop* sync_loop) |
- : sync_loop_(sync_loop) {} |
+PassiveModelWorker::PassiveModelWorker(const base::MessageLoop* sync_loop, |
+ WorkerLoopDestructionObserver* observer) |
+ : ModelSafeWorker(observer), |
+ sync_loop_(sync_loop) { |
+} |
PassiveModelWorker::~PassiveModelWorker() { |
} |
-SyncerError PassiveModelWorker::DoWorkAndWaitUntilDone( |
+void PassiveModelWorker::RegisterForLoopDestruction() { |
+ NOTREACHED(); |
+} |
+ |
+SyncerError PassiveModelWorker::DoWorkAndWaitUntilDoneImpl( |
const WorkCallback& work) { |
DCHECK_EQ(base::MessageLoop::current(), sync_loop_); |
// Simply do the work on the current thread. |