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

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

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.h
diff --git a/sync/internal_api/public/engine/passive_model_worker.h b/sync/internal_api/public/engine/passive_model_worker.h
deleted file mode 100644
index 29ad028223b50dc708b9ca9d6da70162f58700de..0000000000000000000000000000000000000000
--- a/sync/internal_api/public/engine/passive_model_worker.h
+++ /dev/null
@@ -1,38 +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_INTERNAL_API_PUBLIC_ENGINE_PASSIVE_MODEL_WORKER_H_
-#define SYNC_INTERNAL_API_PUBLIC_ENGINE_PASSIVE_MODEL_WORKER_H_
-
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-#include "sync/base/sync_export.h"
-#include "sync/internal_api/public/engine/model_safe_worker.h"
-#include "sync/internal_api/public/util/syncer_error.h"
-
-namespace syncer {
-
-// Implementation of ModelSafeWorker for passive types. All work is
-// done on the same thread DoWorkAndWaitUntilDone (i.e., the sync
-// thread).
-class SYNC_EXPORT PassiveModelWorker : public ModelSafeWorker {
- public:
- explicit PassiveModelWorker(WorkerLoopDestructionObserver* observer);
-
- // ModelSafeWorker implementation. Called on the sync thread.
- void RegisterForLoopDestruction() override;
- ModelSafeGroup GetModelSafeGroup() override;
-
- protected:
- SyncerError DoWorkAndWaitUntilDoneImpl(const WorkCallback& work) override;
-
- private:
- ~PassiveModelWorker() override;
-
- DISALLOW_COPY_AND_ASSIGN(PassiveModelWorker);
-};
-
-} // namespace syncer
-
-#endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_PASSIVE_MODEL_WORKER_H_
« no previous file with comments | « sync/internal_api/public/engine/model_safe_worker_unittest.cc ('k') | sync/internal_api/public/engine/passive_model_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698