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

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

Issue 2093953002: Introduce a new API to handle native notification clicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 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_platform_bridge.h
diff --git a/chrome/browser/notifications/notification_platform_bridge.h b/chrome/browser/notifications/notification_platform_bridge.h
index 4b7d3c67310c54506d59de077e7fdd1e89618393..722a497509a99c2f33844d2409b9637af48d8780 100644
--- a/chrome/browser/notifications/notification_platform_bridge.h
+++ b/chrome/browser/notifications/notification_platform_bridge.h
@@ -9,6 +9,7 @@
#include <string>
#include "base/macros.h"
+#include "chrome/browser/notifications/notification_common.h"
class Notification;
@@ -23,7 +24,8 @@ class NotificationPlatformBridge {
virtual ~NotificationPlatformBridge() {}
// Shows a toast on screen using the data passed in |notification|.
- virtual void Display(const std::string& notification_id,
+ virtual void Display(NotificationCommon::Type notification_type,
+ const std::string& notification_id,
const std::string& profile_id,
bool is_incognito,
const Notification& notification) = 0;

Powered by Google App Engine
This is Rietveld 408576698