Index: chrome/browser/notifications/balloon_collection_base.h |
diff --git a/chrome/browser/notifications/balloon_collection_base.h b/chrome/browser/notifications/balloon_collection_base.h |
index e25e8afa7434b2837c23187e73da770b6b010172..b113d02976197df0cca327ca834ae245c05b7373 100644 |
--- a/chrome/browser/notifications/balloon_collection_base.h |
+++ b/chrome/browser/notifications/balloon_collection_base.h |
@@ -15,6 +15,7 @@ |
class Balloon; |
class GURL; |
class Notification; |
+class Profile; |
// This class provides support for implementing a BalloonCollection |
// including the parts common between Chrome UI and ChromeOS UI. |
@@ -42,6 +43,10 @@ class BalloonCollectionBase { |
// was found. |
virtual bool CloseAllBySourceOrigin(const GURL& source_origin); |
+ // Finds all balloons matching the given profile and calls CloseByScript |
+ // on them. Returns true if anything was found. |
+ virtual bool CloseAllByProfile(Profile* profile); |
+ |
// Calls CloseByScript on all balloons. |
virtual void CloseAll(); |