Index: chrome/browser/notifications/desktop_notification_service.h |
diff --git a/chrome/browser/notifications/desktop_notification_service.h b/chrome/browser/notifications/desktop_notification_service.h |
index 6e9a6d881d60ca74adc071dd7b9e5aea07d0d7aa..8be6f855c3c2d2f361e58ed44f8a0c15981140e3 100644 |
--- a/chrome/browser/notifications/desktop_notification_service.h |
+++ b/chrome/browser/notifications/desktop_notification_service.h |
@@ -21,7 +21,7 @@ class Task; |
// The DesktopNotificationService is an object, owned by the Profile, |
// which provides the creation of desktop "toasts" to web pages and workers. |
-class DesktopNotificationService : public NotificationObserver { |
+class DesktopNotificationService { |
public: |
enum DesktopNotificationSource { |
PageNotification, |
@@ -71,11 +71,6 @@ class DesktopNotificationService : public NotificationObserver { |
NotificationsPrefsCache* prefs_cache() { return prefs_cache_; } |
- // NotificationObserver interface. |
- virtual void Observe(NotificationType type, |
- const NotificationSource& source, |
- const NotificationDetails& details); |
- |
// Creates a data:xxxx URL which contains the full HTML for a notification |
// using supplied icon, title, and text, run through a template which contains |
// the standard formatting for notifications. |
@@ -103,9 +98,6 @@ class DesktopNotificationService : public NotificationObserver { |
// UI for desktop toasts. |
NotificationUIManager* ui_manager_; |
- // Connection to the service providing the other kind of notifications. |
- NotificationRegistrar notification_registrar_; |
- |
DISALLOW_COPY_AND_ASSIGN(DesktopNotificationService); |
}; |