Index: sync/test/engine/fake_model_worker.h |
diff --git a/sync/test/engine/fake_model_worker.h b/sync/test/engine/fake_model_worker.h |
deleted file mode 100644 |
index 603d76952a2067609c86b8c33469a5cad24c9c99..0000000000000000000000000000000000000000 |
--- a/sync/test/engine/fake_model_worker.h |
+++ /dev/null |
@@ -1,42 +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. |
- |
-#ifndef SYNC_TEST_ENGINE_FAKE_MODEL_WORKER_H_ |
-#define SYNC_TEST_ENGINE_FAKE_MODEL_WORKER_H_ |
- |
-#include <vector> |
- |
-#include "base/compiler_specific.h" |
-#include "base/macros.h" |
-#include "base/threading/non_thread_safe.h" |
-#include "sync/internal_api/public/engine/model_safe_worker.h" |
-#include "sync/internal_api/public/util/syncer_error.h" |
- |
-namespace syncer { |
- |
-// Fake implementation of ModelSafeWorker that does work on the |
-// current thread regardless of the group. |
-class FakeModelWorker : public ModelSafeWorker, public base::NonThreadSafe { |
- public: |
- explicit FakeModelWorker(ModelSafeGroup group); |
- |
- // ModelSafeWorker implementation. |
- void RegisterForLoopDestruction() override; |
- ModelSafeGroup GetModelSafeGroup() override; |
- |
- protected: |
- SyncerError DoWorkAndWaitUntilDoneImpl(const WorkCallback& work) override; |
- |
- private: |
- ~FakeModelWorker() override; |
- |
- const ModelSafeGroup group_; |
- |
- DISALLOW_COPY_AND_ASSIGN(FakeModelWorker); |
-}; |
- |
-} // namespace syncer |
- |
-#endif // SYNC_TEST_ENGINE_FAKE_MODEL_WORKER_H_ |
- |