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

Unified Diff: components/sync/driver/glue/ui_model_worker.h

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
Index: components/sync/driver/glue/ui_model_worker.h
diff --git a/components/sync/driver/glue/ui_model_worker.h b/components/sync/driver/glue/ui_model_worker.h
index ea9d9cb7aff930128bddba1646ac25925b0cb3ae..e15ca0fa9bf37e93922ca056fe048f710b199e62 100644
--- a/components/sync/driver/glue/ui_model_worker.h
+++ b/components/sync/driver/glue/ui_model_worker.h
@@ -5,13 +5,9 @@
#ifndef COMPONENTS_SYNC_DRIVER_GLUE_UI_MODEL_WORKER_H_
#define COMPONENTS_SYNC_DRIVER_GLUE_UI_MODEL_WORKER_H_
-#include "base/callback.h"
-#include "base/compiler_specific.h"
#include "base/macros.h"
+#include "base/memory/ref_counted.h"
#include "base/single_thread_task_runner.h"
-#include "base/synchronization/condition_variable.h"
-#include "base/synchronization/lock.h"
-#include "components/sync/base/unrecoverable_error_info.h"
#include "components/sync/engine/model_safe_worker.h"
namespace syncer {
@@ -21,11 +17,9 @@ namespace syncer {
// from the MessageLoop home to the native model.
class UIModelWorker : public ModelSafeWorker {
public:
- UIModelWorker(const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
- WorkerLoopDestructionObserver* observer);
+ explicit UIModelWorker(scoped_refptr<base::SingleThreadTaskRunner> ui_thread);
// ModelSafeWorker implementation. Called on syncapi SyncerThread.
- void RegisterForLoopDestruction() override;
ModelSafeGroup GetModelSafeGroup() override;
protected:
« no previous file with comments | « components/sync/driver/glue/sync_backend_registrar_unittest.cc ('k') | components/sync/driver/glue/ui_model_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698