| Index: chrome/browser/notifications/message_center_notification_manager.h
|
| diff --git a/chrome/browser/notifications/message_center_notification_manager.h b/chrome/browser/notifications/message_center_notification_manager.h
|
| index e8400f935431a3e0ba77a9224d8d99a7ab95e9d1..48bfe77316c82dde48d6f7d4a738715762eca7cb 100644
|
| --- a/chrome/browser/notifications/message_center_notification_manager.h
|
| +++ b/chrome/browser/notifications/message_center_notification_manager.h
|
| @@ -181,6 +181,9 @@ class MessageCenterNotificationManager
|
| // empty string otherwise.
|
| std::string GetExtensionId();
|
|
|
| + // Route a new notification to an app/extension.
|
| + void AddToAlternateProvider(std::string extension_id);
|
| +
|
| private:
|
| // Weak, guaranteed not to be used after profile removal by parent class.
|
| Profile* profile_;
|
| @@ -206,6 +209,10 @@ class MessageCenterNotificationManager
|
| // 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.
|
|
|