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

Unified Diff: components/sync/engine/passive_model_worker.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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
« no previous file with comments | « components/sync/engine/passive_model_worker.h ('k') | components/sync/engine_impl/model_type_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine/passive_model_worker.cc
diff --git a/components/sync/engine/passive_model_worker.cc b/components/sync/engine/passive_model_worker.cc
index 2ea6edf9a69ff3a4b371999c5b75e00442d965d9..623b31961526b5d5ec0bc078dc1d64c324bdbfd2 100644
--- a/components/sync/engine/passive_model_worker.cc
+++ b/components/sync/engine/passive_model_worker.cc
@@ -4,19 +4,14 @@
#include "components/sync/engine/passive_model_worker.h"
-#include "base/message_loop/message_loop.h"
+#include "base/callback.h"
namespace syncer {
-PassiveModelWorker::PassiveModelWorker(WorkerLoopDestructionObserver* observer)
- : ModelSafeWorker(observer) {}
+PassiveModelWorker::PassiveModelWorker() = default;
PassiveModelWorker::~PassiveModelWorker() {}
-void PassiveModelWorker::RegisterForLoopDestruction() {
- SetWorkingLoopToCurrent();
-}
-
SyncerError PassiveModelWorker::DoWorkAndWaitUntilDoneImpl(
const WorkCallback& work) {
// Simply do the work on the current thread.
« no previous file with comments | « components/sync/engine/passive_model_worker.h ('k') | components/sync/engine_impl/model_type_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698