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

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

Issue 20136004: Allow partial update for notification update API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add more tests per feedback Created 7 years, 5 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 8c4e442c31ce50e8ae85d4a51a93eeff9b48edcf..89f33414caf6de55aa7078b153d30d99f7946a83 100644
--- a/chrome/browser/notifications/balloon_collection_base.h
+++ b/chrome/browser/notifications/balloon_collection_base.h
@@ -34,7 +34,7 @@ class BalloonCollectionBase {
virtual void Remove(Balloon* balloon);
// Returns true if any balloon matches the given notification id.
- virtual bool DoesIdExist(const std::string& id);
+ virtual const Notification* FindById(const std::string& id) const;
// Finds any balloon matching the given notification id, and
// calls CloseByScript on it. Returns true if anything was
« no previous file with comments | « chrome/browser/notifications/balloon_collection.h ('k') | chrome/browser/notifications/balloon_collection_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698