Index: trunk/src/chrome/browser/notifications/message_center_notification_manager.h |
=================================================================== |
--- trunk/src/chrome/browser/notifications/message_center_notification_manager.h (revision 289543) |
+++ trunk/src/chrome/browser/notifications/message_center_notification_manager.h (working copy) |
@@ -181,9 +181,6 @@ |
// empty string otherwise. |
std::string GetExtensionId(); |
- // Route a new notification to an app/extension. |
- void AddToAlternateProvider(const std::string extension_id); |
- |
private: |
// Weak, guaranteed not to be used after profile removal by parent class. |
Profile* profile_; |
@@ -200,8 +197,8 @@ |
typedef std::map<std::string, ProfileNotification*> NotificationMap; |
NotificationMap profile_notifications_; |
- // Helpers that add/remove the notification from local map. |
- // The local map takes ownership of profile_notification object. |
+ // Helpers that add/remove the notification from local map and MessageCenter. |
+ // They take ownership of profile_notification object. |
void AddProfileNotification(ProfileNotification* profile_notification); |
void RemoveProfileNotification(ProfileNotification* profile_notification); |
@@ -209,10 +206,6 @@ |
// notification is found. |
ProfileNotification* FindProfileNotification(const std::string& id) const; |
- // Get the extension ID of the extension that the user chose to take over |
- // Chorme Notification Center. |
- std::string GetExtensionTakingOverNotifications(Profile* profile); |
- |
#if defined(OS_WIN) |
// This function is run on update to ensure that the notification balloon is |
// shown only when there are no popups present. |