Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2293)

Unified Diff: chrome/browser/notifications/balloon_collection.h

Issue 11414215: Add CloseAllByProfile to NotificationUIManager and call before destroyng a Profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/notifications/balloon_collection_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/balloon_collection.h
diff --git a/chrome/browser/notifications/balloon_collection.h b/chrome/browser/notifications/balloon_collection.h
index 1a73037e2c403a0da4389e93d98278a8ae14ded4..dc652a61e08f5d3302a7ed98e98702fe0dbfa2b6 100644
--- a/chrome/browser/notifications/balloon_collection.h
+++ b/chrome/browser/notifications/balloon_collection.h
@@ -62,6 +62,9 @@ class BalloonCollection {
// true if anything was removed.
virtual bool RemoveBySourceOrigin(const GURL& source_origin) = 0;
+ // Removes any balloons matching |profile. Returns true if any were removed.
+ virtual bool RemoveByProfile(Profile* profile) = 0;
+
// Removes all balloons.
virtual void RemoveAll() = 0;
« no previous file with comments | « no previous file | chrome/browser/notifications/balloon_collection_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698