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

Unified Diff: third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h

Issue 2300093002: Make //content responsible for generating notification Ids (Closed)
Patch Set: comments Created 4 years, 3 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: third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h
diff --git a/third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h b/third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h
index 2f815b3b6f3f671e3be3cebce74d6f6c6483a5b3..f5a0cc904ced876585ad8f392416c8c2b604815b 100644
--- a/third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h
+++ b/third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h
@@ -21,7 +21,7 @@ class WebServiceWorkerRegistration;
// Structure representing the info associated with a persistent notification.
struct WebPersistentNotificationInfo {
- int64_t persistentId = 0;
+ WebString notificationId;
WebNotificationData data;
};
@@ -50,8 +50,8 @@ public:
// Closes a notification previously shown, and removes it if being shown.
virtual void close(WebNotificationDelegate*) = 0;
- // Closes a persistent notification identified by its persistent notification Id.
- virtual void closePersistent(const WebSecurityOrigin&, int64_t persistentNotificationId) = 0;
+ // Closes a persistent notification identified by its notification Id.
+ virtual void closePersistent(const WebSecurityOrigin&, const WebString& tag, const WebString& notificationId) = 0;
// Indicates that the delegate object is being destroyed, and must no longer
// be used by the embedder to dispatch events.

Powered by Google App Engine
This is Rietveld 408576698