| Index: chrome/browser/notifications/notification_ui_manager.h
|
| diff --git a/chrome/browser/notifications/notification_ui_manager.h b/chrome/browser/notifications/notification_ui_manager.h
|
| index 92dfe6ee7fc3e1df5793b99e790fd12d7acb5e75..625793917a68a33c645d5b196e742acabf71f90d 100644
|
| --- a/chrome/browser/notifications/notification_ui_manager.h
|
| +++ b/chrome/browser/notifications/notification_ui_manager.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_H_
|
| #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_H_
|
|
|
| +#include <set>
|
| #include <string>
|
| #include <vector>
|
|
|
| @@ -36,6 +37,12 @@ class NotificationUIManager {
|
| // displayed or in the queue. Returns true if anything was removed.
|
| virtual bool CancelById(const std::string& notification_id) = 0;
|
|
|
| + // Adds the notification_id for each outstanding notification to the set
|
| + // |notification_ids| (must not be NULL).
|
| + virtual std::set<std::string> GetAllIdsByProfileAndSourceOrigin(
|
| + Profile* profile,
|
| + const GURL& source) = 0;
|
| +
|
| // Removes notifications matching the |source_origin| (which could be an
|
| // extension ID). Returns true if anything was removed.
|
| virtual bool CancelAllBySourceOrigin(const GURL& source_origin) = 0;
|
|
|