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

Unified Diff: chrome/browser/notifications/notification_ui_manager_impl.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/notification_ui_manager_impl.h
diff --git a/chrome/browser/notifications/notification_ui_manager_impl.h b/chrome/browser/notifications/notification_ui_manager_impl.h
index f8544ea38a06e6a99b5ef47f5e6452e08ac36135..5ced721830b03adf250968dc2c426b4e2f0be5c0 100644
--- a/chrome/browser/notifications/notification_ui_manager_impl.h
+++ b/chrome/browser/notifications/notification_ui_manager_impl.h
@@ -34,7 +34,8 @@ class NotificationUIManagerImpl
// NotificationUIManager:
virtual void Add(const Notification& notification,
Profile* profile) OVERRIDE;
- virtual bool DoesIdExist(const std::string& notification_id) OVERRIDE;
+ virtual const Notification* FindById(
+ const std::string& notification_id) const OVERRIDE;
virtual bool CancelById(const std::string& notification_id) OVERRIDE;
virtual std::set<std::string> GetAllIdsByProfileAndSourceOrigin(
Profile* profile,
« no previous file with comments | « chrome/browser/notifications/notification_ui_manager.h ('k') | chrome/browser/notifications/notification_ui_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698