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

Unified Diff: chrome/browser/notifications/balloon_collection.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.h
diff --git a/chrome/browser/notifications/balloon_collection.h b/chrome/browser/notifications/balloon_collection.h
index cd17d1a18ebaa51d37c620ae4dca9ee4dfb00418..5d54b7d137d6334610781b5a1bed0402cbba3bc6 100644
--- a/chrome/browser/notifications/balloon_collection.h
+++ b/chrome/browser/notifications/balloon_collection.h
@@ -55,7 +55,7 @@ class BalloonCollection {
Profile* profile) = 0;
// Returns true if any balloon has this notification id.
- virtual bool DoesIdExist(const std::string& id) = 0;
+ virtual const Notification* FindById(const std::string& id) const = 0;
// Removes any balloons that have this notification id. Returns
// true if anything was removed.

Powered by Google App Engine
This is Rietveld 408576698