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

Unified Diff: chrome/browser/notifications/stub_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/stub_notification_platform_bridge.h
diff --git a/chrome/browser/notifications/stub_notification_platform_bridge.h b/chrome/browser/notifications/stub_notification_platform_bridge.h
index 368c502f905b5ef6f8e6362ce76c561553ec8acf..49d8cd454229cc4ac0f202e4126d148553474f65 100644
--- a/chrome/browser/notifications/stub_notification_platform_bridge.h
+++ b/chrome/browser/notifications/stub_notification_platform_bridge.h
@@ -10,6 +10,7 @@
#include "base/macros.h"
#include "chrome/browser/notifications/notification.h"
+#include "chrome/browser/notifications/notification_common.h"
#include "chrome/browser/notifications/notification_platform_bridge.h"
// Implementation of NotificationPlatformBridge used for tests.
@@ -22,7 +23,8 @@ class StubNotificationPlatformBridge : public NotificationPlatformBridge {
Notification GetNotificationAt(std::string profile_id, size_t index);
// NotificationPlatformBridge implementation.
- void Display(const std::string& notification_id,
+ void Display(NotificationCommon::Type notification_type,
+ const std::string& notification_id,
const std::string& profile_id,
bool incognito,
const Notification& notification) override;

Powered by Google App Engine
This is Rietveld 408576698