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 182bb443fee5295b5e85b6323b2943b159a20e20..49d0ed91f95cfd81e10ff236d31815c6eaaddeb8 100644 |
--- a/chrome/browser/notifications/notification_ui_manager.h |
+++ b/chrome/browser/notifications/notification_ui_manager.h |
@@ -68,10 +68,17 @@ class NotificationUIManager { |
// Returns the set of all delegate IDs for notifications from the passed |
// |profile| and |source|. |
+ // TODO(peter): Change Profile* to ProfileID to clarify that the profile |
+ // should not be used for making any calls, as it might be dead. |
virtual std::set<std::string> GetAllIdsByProfileAndSourceOrigin( |
Profile* profile, |
const GURL& source) = 0; |
+ // Returns the set of all delegate IDs for notifications from |profile|. |
+ // TODO(peter): Change Profile* to ProfileID to clarify that the profile |
+ // should not be used for making any calls, as it might be dead. |
+ virtual std::set<std::string> GetAllIdsByProfile(Profile* profile) = 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; |