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

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

Issue 826883003: Android Notifications should be closable without a delegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a-serialize-pickle
Patch Set: rebase Created 5 years, 11 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_android.h
diff --git a/chrome/browser/notifications/notification_ui_manager_android.h b/chrome/browser/notifications/notification_ui_manager_android.h
index 159aefc410d856b3ae711c5ac6103ae8e87b8e09..edaa97a2aaaab0e2fbd0367ae8738ebe03ab4686 100644
--- a/chrome/browser/notifications/notification_ui_manager_android.h
+++ b/chrome/browser/notifications/notification_ui_manager_android.h
@@ -26,6 +26,7 @@ class NotificationUIManagerAndroid : public NotificationUIManager {
bool OnNotificationClicked(JNIEnv* env,
jobject java_object,
jstring notification_id,
+ jint platform_id,
jbyteArray serialized_notification_data);
// Called by the Java implementation when a notification has been closed.
@@ -52,7 +53,7 @@ class NotificationUIManagerAndroid : public NotificationUIManager {
private:
// Closes the Notification as displayed on the Android system.
- void PlatformCloseNotification(ProfileNotification* profile_notification);
+ void PlatformCloseNotification(const std::string& notification_id);
// Helpers that add/remove the notification from local map.
// The local map takes ownership of profile_notification object.

Powered by Google App Engine
This is Rietveld 408576698