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

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

Issue 2709213005: [Mac] Add XPC alerts to GetDisplayedNotifications (Closed)
Patch Set: review Created 3 years, 8 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_platform_bridge.h
diff --git a/chrome/browser/notifications/notification_platform_bridge.h b/chrome/browser/notifications/notification_platform_bridge.h
index 0510dc52a213033d92f8393ed26f0162017587f3..0c93da80bbf12af2a74c1946e4d44c66b2cd9cce 100644
--- a/chrome/browser/notifications/notification_platform_bridge.h
+++ b/chrome/browser/notifications/notification_platform_bridge.h
@@ -11,6 +11,7 @@
#include "base/callback_forward.h"
#include "base/macros.h"
+#include "chrome/browser/notifications/displayed_notifications_dispatch_callback.h"
#include "chrome/browser/notifications/notification_common.h"
class Notification;
@@ -21,10 +22,6 @@ class Notification;
// TODO(miguelg): Add support for click and close events.
class NotificationPlatformBridge {
public:
- using DisplayedNotificationsCallback =
- base::Callback<void(std::unique_ptr<std::set<std::string>>,
- bool /* supports_synchronization */)>;
-
static NotificationPlatformBridge* Create();
virtual ~NotificationPlatformBridge() {}
@@ -46,7 +43,7 @@ class NotificationPlatformBridge {
virtual void GetDisplayed(
const std::string& profile_id,
bool incognito,
- const DisplayedNotificationsCallback& callback) const = 0;
+ const GetDisplayedNotificationsCallback& callback) const = 0;
protected:
NotificationPlatformBridge() {}

Powered by Google App Engine
This is Rietveld 408576698