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

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

Issue 15715008: Reland 201932: Add API function chrome.notifications.getAll (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-implement the mac fix. 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/notification_ui_manager_mac.h
diff --git a/chrome/browser/notifications/notification_ui_manager_mac.h b/chrome/browser/notifications/notification_ui_manager_mac.h
index 6b95ee29e26fc0e0b7d68b0cac32b3091c838559..928676810f2d1a57101456b31c629aaadb590cc5 100644
--- a/chrome/browser/notifications/notification_ui_manager_mac.h
+++ b/chrome/browser/notifications/notification_ui_manager_mac.h
@@ -8,6 +8,7 @@
#import <AppKit/AppKit.h>
#include <map>
+#include <set>
#include "base/basictypes.h"
#include "base/memory/scoped_nsobject.h"
@@ -33,6 +34,8 @@ class NotificationUIManagerMac : public BalloonNotificationUIManager {
// NotificationUIManager:
virtual void Add(const Notification& notification,
Profile* profile) OVERRIDE;
+ virtual std::set<std::string> GetAllIdsByProfileAndSourceOrigin(
+ Profile* profile, const GURL& source_origin) OVERRIDE;
virtual bool CancelById(const std::string& notification_id) OVERRIDE;
virtual bool CancelAllBySourceOrigin(const GURL& source_origin) OVERRIDE;
virtual bool CancelAllByProfile(Profile* profile) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698