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

Unified Diff: chrome/browser/sync/glue/app_notification_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/app_notification_data_type_controller.h
diff --git a/chrome/browser/sync/glue/app_notification_data_type_controller.h b/chrome/browser/sync/glue/app_notification_data_type_controller.h
index dec21b5d009daf2bb7cbc5e778755dc966de2176..7d3dec710be66f85a3869bedd932db51b1530a17 100644
--- a/chrome/browser/sync/glue/app_notification_data_type_controller.h
+++ b/chrome/browser/sync/glue/app_notification_data_type_controller.h
@@ -9,7 +9,7 @@
#include <string>
#include "base/compiler_specific.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"
@@ -18,7 +18,7 @@ class AppNotificationManager;
namespace browser_sync {
class AppNotificationDataTypeController
- : public FrontendDataTypeController,
+ : public UIDataTypeController,
public content::NotificationObserver {
public:
AppNotificationDataTypeController(
@@ -27,9 +27,6 @@ class AppNotificationDataTypeController
ProfileSyncService* sync_service);
virtual ~AppNotificationDataTypeController();
- // FrontendDataTypeController implementation.
- virtual syncable::ModelType type() const OVERRIDE;
-
// NotificationObserver interface.
virtual void Observe(int type,
const content::NotificationSource& source,
@@ -41,8 +38,7 @@ class AppNotificationDataTypeController
private:
// FrontendDataTypeController implementations.
virtual bool StartModels() OVERRIDE;
- virtual void CleanUpState() OVERRIDE;
- virtual void CreateSyncComponents() OVERRIDE;
+ virtual void StopModels() OVERRIDE;
content::NotificationRegistrar registrar_;
« no previous file with comments | « chrome/browser/sync/api/fake_syncable_service.cc ('k') | chrome/browser/sync/glue/app_notification_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698