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 f32044a36d22f0b28aa431e1335e6906e688bc2b..075e42569efcf87dc7fd028952a8d436802e3612 100644 |
--- a/chrome/browser/notifications/desktop_notification_service.h |
+++ b/chrome/browser/notifications/desktop_notification_service.h |
@@ -46,9 +46,6 @@ class DesktopNotificationService : public content::NotificationObserver, |
NotificationUIManager* ui_manager); |
virtual ~DesktopNotificationService(); |
- // Sets a UI manager to display notifications. |
- void SetUIManager(NotificationUIManager* ui_manager); |
- |
// Requests permission (using an info-bar) for a given origin. |
// |callback_context| contains an opaque value to pass back to the |
// requesting process when the info-bar finishes. A NULL tab can be given if |
@@ -139,6 +136,8 @@ class DesktopNotificationService : public content::NotificationObserver, |
// Notifies the observers when permissions settings change. |
void NotifySettingsChange(); |
+ NotificationUIManager* GetUIManager(); |
+ |
// The profile which owns this object. |
Profile* profile_; |