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

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

Issue 10537158: Add support for Ash to Notifications (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months 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
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 578c76efb2ec1eec66a5dccc63607510ff65d59d..bc5a2915a48a3f6b37cc97bf77b342a3aeddb22e 100644
--- a/chrome/browser/notifications/balloon_collection_base.h
+++ b/chrome/browser/notifications/balloon_collection_base.h
@@ -48,6 +48,10 @@ class BalloonCollectionBase {
const Balloons& balloons() const { return balloons_; }
+ // Returns the balloon matching the given notification id, or
+ // NULL if there is no matching balloon.
+ Balloon* FindBalloonById(const std::string& notification_id);
+
// Returns the balloon matching the given notification, or
// NULL if there is no matching balloon.
Balloon* FindBalloon(const Notification& notification);

Powered by Google App Engine
This is Rietveld 408576698