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

Unified Diff: chrome/browser/notifications/notification_platform_bridge_android.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_android.h
diff --git a/chrome/browser/notifications/notification_platform_bridge_android.h b/chrome/browser/notifications/notification_platform_bridge_android.h
index c3c612b2eb026b3ef5cc2ec4a8c2ff401d6c8554..23830efce104dea4bfe5ea92a359cd1cf8e8fc95 100644
--- a/chrome/browser/notifications/notification_platform_bridge_android.h
+++ b/chrome/browser/notifications/notification_platform_bridge_android.h
@@ -13,6 +13,7 @@
#include "base/android/scoped_java_ref.h"
#include "base/macros.h"
+#include "chrome/browser/notifications/notification_common.h"
#include "chrome/browser/notifications/notification_platform_bridge.h"
namespace user_prefs {
@@ -60,7 +61,8 @@ class NotificationPlatformBridgeAndroid : public NotificationPlatformBridge {
jboolean by_user);
// 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