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

Unified Diff: chrome/browser/sync/glue/extension_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: chrome/browser/sync/glue/extension_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/extension_data_type_controller.cc b/chrome/browser/sync/glue/extension_data_type_controller.cc
index bdb9851649d90ae2f16998d987399478ba010d04..0f31f298d79584da4b32b8bc229aa06824c65ad6 100644
--- a/chrome/browser/sync/glue/extension_data_type_controller.cc
+++ b/chrome/browser/sync/glue/extension_data_type_controller.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/sync/glue/extension_data_type_controller.h"
#include "base/metrics/histogram_macros.h"
+#include "base/threading/thread_task_runner_handle.h"
#include "chrome/browser/profiles/profile.h"
#include "extensions/browser/extension_system.h"
@@ -15,7 +16,12 @@ ExtensionDataTypeController::ExtensionDataTypeController(
const base::Closure& dump_stack,
syncer::SyncClient* sync_client,
Profile* profile)
- : UIDataTypeController(type, dump_stack, sync_client), profile_(profile) {
+ : NonUIDataTypeController(type,
+ dump_stack,
+ sync_client,
+ syncer::GROUP_UI,
+ base::ThreadTaskRunnerHandle::Get()),
+ profile_(profile) {
DCHECK(type == syncer::EXTENSIONS || type == syncer::APPS);
}

Powered by Google App Engine
This is Rietveld 408576698