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

Unified Diff: chrome/browser/sync/glue/extension_data_type_controller.cc

Issue 9395058: [Sync] Remove SyncableServiceAdapter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and address comments Created 8 years, 10 months 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 1f976899975aff747cf21f3846f8472c33ff4cb7..90517d89a663bfc36a6b4bd198bfb9895c21063f 100644
--- a/chrome/browser/sync/glue/extension_data_type_controller.cc
+++ b/chrome/browser/sync/glue/extension_data_type_controller.cc
@@ -15,9 +15,9 @@ ExtensionDataTypeController::ExtensionDataTypeController(
ProfileSyncComponentsFactory* profile_sync_factory,
Profile* profile,
ProfileSyncService* sync_service)
- : FrontendDataTypeController(profile_sync_factory,
- profile,
- sync_service),
+ : UIDataTypeController(profile_sync_factory,
+ profile,
+ sync_service),
type_(type) {
DCHECK(type_ == syncable::EXTENSIONS ||
type_ == syncable::APPS);
@@ -35,18 +35,4 @@ bool ExtensionDataTypeController::StartModels() {
return true;
}
-void ExtensionDataTypeController::CreateSyncComponents() {
- ProfileSyncComponentsFactory::SyncComponents sync_components =
- profile_sync_factory_->CreateExtensionOrAppSyncComponents(type_,
- sync_service_,
- this);
- set_model_associator(sync_components.model_associator);
- generic_change_processor_.reset(static_cast<GenericChangeProcessor*>(
- sync_components.change_processor));
-}
-
-GenericChangeProcessor* ExtensionDataTypeController::change_processor() const {
- return generic_change_processor_.get();
-}
-
} // namespace browser_sync

Powered by Google App Engine
This is Rietveld 408576698