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

Unified Diff: components/history/core/browser/history_delete_directives_data_type_controller.cc

Issue 2511703004: [Sync] Remove UIDataTypeController (Closed)
Patch Set: Rebase. 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/history/core/browser/history_delete_directives_data_type_controller.cc
diff --git a/components/history/core/browser/history_delete_directives_data_type_controller.cc b/components/history/core/browser/history_delete_directives_data_type_controller.cc
index f067ab9a636d7b12c2ad0fc688bb9ebb53baad96..0566bfcf5168283dfa7bba05d6b782b5d35e4e80 100644
--- a/components/history/core/browser/history_delete_directives_data_type_controller.cc
+++ b/components/history/core/browser/history_delete_directives_data_type_controller.cc
@@ -4,6 +4,7 @@
#include "components/history/core/browser/history_delete_directives_data_type_controller.h"
+#include "base/threading/thread_task_runner_handle.h"
#include "components/sync/driver/sync_client.h"
#include "components/sync/driver/sync_service.h"
@@ -12,9 +13,11 @@ namespace browser_sync {
HistoryDeleteDirectivesDataTypeController::
HistoryDeleteDirectivesDataTypeController(const base::Closure& dump_stack,
syncer::SyncClient* sync_client)
- : syncer::UIDataTypeController(syncer::HISTORY_DELETE_DIRECTIVES,
- dump_stack,
- sync_client),
+ : syncer::NonUIDataTypeController(syncer::HISTORY_DELETE_DIRECTIVES,
+ dump_stack,
+ sync_client,
+ syncer::GROUP_UI,
+ base::ThreadTaskRunnerHandle::Get()),
sync_client_(sync_client) {}
HistoryDeleteDirectivesDataTypeController::

Powered by Google App Engine
This is Rietveld 408576698