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

Unified Diff: components/history/core/browser/history_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
« no previous file with comments | « components/exo/surface.h ('k') | components/history/core/browser/history_model_worker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/browser/history_model_worker.h
diff --git a/components/history/core/browser/history_model_worker.h b/components/history/core/browser/history_model_worker.h
index 1900a0fc57a5ebc8a044f2390a3196f7ef4f50f1..e98b03962f8c8c98702921094e5fcd46b46caa2f 100644
--- a/components/history/core/browser/history_model_worker.h
+++ b/components/history/core/browser/history_model_worker.h
@@ -5,14 +5,13 @@
#ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_MODEL_WORKER_H_
#define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_MODEL_WORKER_H_
-#include "base/callback_forward.h"
-#include "base/compiler_specific.h"
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
+#include "base/single_thread_task_runner.h"
#include "base/task/cancelable_task_tracker.h"
-#include "components/history/core/browser/history_db_task.h"
-#include "components/history/core/browser/history_service.h"
#include "components/sync/engine/model_safe_worker.h"
namespace history {
@@ -27,17 +26,11 @@ class HistoryModelWorker : public syncer::ModelSafeWorker {
public:
explicit HistoryModelWorker(
const base::WeakPtr<history::HistoryService>& history_service,
- const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
- syncer::WorkerLoopDestructionObserver* observer);
+ const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread);
// syncer::ModelSafeWorker implementation. Called on syncapi SyncerThread.
- void RegisterForLoopDestruction() override;
syncer::ModelSafeGroup GetModelSafeGroup() override;
- // Called on history DB thread to register HistoryModelWorker to observe
- // destruction of history backend loop.
- void RegisterOnDBThread();
-
protected:
syncer::SyncerError DoWorkAndWaitUntilDoneImpl(
const syncer::WorkCallback& work) override;
« no previous file with comments | « components/exo/surface.h ('k') | components/history/core/browser/history_model_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698