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

Unified Diff: chrome/browser/notifications/desktop_notification_service.h

Issue 8550003: Defer construction of NotificationUIManager to fix notification initialization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-enable pyauto test Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/notifications/desktop_notification_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/notifications/desktop_notification_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698