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 6007b550ee10d1315aecc9f3355de1f07539b913..38a0c121b92b7fb259e59c4a17dfe758a8156771 100644 |
--- a/chrome/browser/notifications/notification_ui_manager.h |
+++ b/chrome/browser/notifications/notification_ui_manager.h |
@@ -42,11 +42,13 @@ class NotificationUIManager { |
// displayed or in the queue. Returns true if anything was removed. |
virtual bool CancelById(const std::string& notification_id) = 0; |
- // Removes any notifications matching the supplied source origin |
- // (which could be an extension ID), either currently displayed or in the |
- // queue. Returns true if anything was removed. |
+ // 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; |
+ // Removes notifications matching |profile|. Returns true if any were removed. |
+ virtual bool CancelAllByProfile(Profile* profile) = 0; |
+ |
// Cancels all pending notifications and closes anything currently showing. |
// Used when the app is terminating. |
virtual void CancelAll() = 0; |