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

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

Issue 9395058: [Sync] Remove SyncableServiceAdapter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review 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/search_engine_data_type_controller.h
diff --git a/chrome/browser/sync/glue/search_engine_data_type_controller.h b/chrome/browser/sync/glue/search_engine_data_type_controller.h
index bc56e557b5bef2961023feb730f7a14936231608..02c4a87b126e01dbaf2c4333a0bf72441cffc23b 100644
--- a/chrome/browser/sync/glue/search_engine_data_type_controller.h
+++ b/chrome/browser/sync/glue/search_engine_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"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
namespace browser_sync {
-class SearchEngineDataTypeController : public FrontendDataTypeController,
+class SearchEngineDataTypeController : public UIDataTypeController,
public content::NotificationObserver {
public:
SearchEngineDataTypeController(
@@ -33,16 +33,10 @@ class SearchEngineDataTypeController : public FrontendDataTypeController,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
- protected:
- virtual GenericChangeProcessor* change_processor() const OVERRIDE;
-
private:
// FrontendDataTypeController implementations.
virtual bool StartModels() OVERRIDE;
- virtual void CleanUpState() OVERRIDE;
- virtual void CreateSyncComponents() OVERRIDE;
-
- scoped_ptr<GenericChangeProcessor> generic_change_processor_;
+ virtual void StopModels() OVERRIDE;
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698