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

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

Issue 14767029: Add API function chrome.notifications.getAll (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 7 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_notification_ui_manager.h
diff --git a/chrome/browser/notifications/balloon_notification_ui_manager.h b/chrome/browser/notifications/balloon_notification_ui_manager.h
index 12bb78ef743a5a7d38bb174fe02c62b7a1bbed9e..953891eb3899abf19c994fa5825f4c79641fa465 100644
--- a/chrome/browser/notifications/balloon_notification_ui_manager.h
+++ b/chrome/browser/notifications/balloon_notification_ui_manager.h
@@ -36,6 +36,9 @@ class BalloonNotificationUIManager
// NotificationUIManager:
virtual bool DoesIdExist(const std::string& notification_id) OVERRIDE;
virtual bool CancelById(const std::string& notification_id) OVERRIDE;
+ virtual std::set<std::string> GetAllIdsByProfileAndSourceOrigin(
+ Profile* profile,
+ const GURL& source) OVERRIDE;
virtual bool CancelAllBySourceOrigin(const GURL& source_origin) OVERRIDE;
virtual bool CancelAllByProfile(Profile* profile) OVERRIDE;
virtual void CancelAll() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698