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

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

Issue 9395058: [Sync] Remove SyncableServiceAdapter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 9 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.h
diff --git a/chrome/browser/sync/glue/extension_data_type_controller.h b/chrome/browser/sync/glue/extension_data_type_controller.h
index 89a371de824836d28423abf1070f0001191f1dd2..008775afcf146602a48cf79e5486655151ac6d48 100644
--- a/chrome/browser/sync/glue/extension_data_type_controller.h
+++ b/chrome/browser/sync/glue/extension_data_type_controller.h
@@ -10,13 +10,13 @@
#include "base/compiler_specific.h"
#include "chrome/browser/sync/glue/generic_change_processor.h"
-#include "chrome/browser/sync/glue/frontend_data_type_controller.h"
+#include "chrome/browser/sync/glue/ui_data_type_controller.h"
namespace browser_sync {
// TODO(zea): Rename this and ExtensionSettingsDTC to ExtensionOrApp*, since
// both actually handle the APP datatypes as well.
-class ExtensionDataTypeController : public FrontendDataTypeController {
+class ExtensionDataTypeController : public UIDataTypeController {
public:
ExtensionDataTypeController(
syncable::ModelType type, // Either EXTENSIONS or APPS.
@@ -25,21 +25,9 @@ class ExtensionDataTypeController : public FrontendDataTypeController {
ProfileSyncService* sync_service);
virtual ~ExtensionDataTypeController();
- // DataTypeController implementation.
- virtual syncable::ModelType type() const OVERRIDE;
-
- protected:
- virtual GenericChangeProcessor* change_processor() const OVERRIDE;
-
private:
// DataTypeController implementations.
virtual bool StartModels() OVERRIDE;
- virtual void CreateSyncComponents() OVERRIDE;
-
- scoped_ptr<GenericChangeProcessor> generic_change_processor_;
-
- // Either EXTENSIONS or APPS.
- syncable::ModelType type_;
DISALLOW_COPY_AND_ASSIGN(ExtensionDataTypeController);
};

Powered by Google App Engine
This is Rietveld 408576698