| 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
|
| deleted file mode 100644
|
| index b36ee71fd03b29a42891e1105d8ca27db9fb1bc5..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/sync/glue/app_notification_data_type_controller.h
|
| +++ /dev/null
|
| @@ -1,53 +0,0 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef CHROME_BROWSER_SYNC_GLUE_APP_NOTIFICATION_DATA_TYPE_CONTROLLER_H__
|
| -#define CHROME_BROWSER_SYNC_GLUE_APP_NOTIFICATION_DATA_TYPE_CONTROLLER_H__
|
| -
|
| -#include <string>
|
| -
|
| -#include "base/compiler_specific.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 extensions {
|
| -class AppNotificationManager;
|
| -}
|
| -
|
| -namespace browser_sync {
|
| -
|
| -class AppNotificationDataTypeController
|
| - : public UIDataTypeController,
|
| - public content::NotificationObserver {
|
| - public:
|
| - AppNotificationDataTypeController(
|
| - ProfileSyncComponentsFactory* profile_sync_factory,
|
| - Profile* profile,
|
| - ProfileSyncService* sync_service);
|
| -
|
| - // NotificationObserver interface.
|
| - virtual void Observe(int type,
|
| - const content::NotificationSource& source,
|
| - const content::NotificationDetails& details) OVERRIDE;
|
| -
|
| - // Overridden in test to control creation and init order.
|
| - virtual extensions::AppNotificationManager* GetAppNotificationManager();
|
| -
|
| - private:
|
| - friend class TestAppNotificationDataTypeController;
|
| - virtual ~AppNotificationDataTypeController();
|
| -
|
| - // FrontendDataTypeController implementations.
|
| - virtual bool StartModels() OVERRIDE;
|
| - virtual void StopModels() OVERRIDE;
|
| -
|
| - content::NotificationRegistrar registrar_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(AppNotificationDataTypeController);
|
| -};
|
| -
|
| -} // namespace browser_sync
|
| -
|
| -#endif // CHROME_BROWSER_SYNC_GLUE_APP_NOTIFICATION_DATA_TYPE_CONTROLLER_H__
|
|
|