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

Unified Diff: chrome/test/data/notifications/platform_notification_service.js

Issue 2392343002: Plumbing in notification replies: PlatformNotificationService -> SW (Closed)
Patch Set: include base/logging.h for NOTIMPLEMENTED Created 4 years, 2 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/test/data/notifications/platform_notification_service.js
diff --git a/chrome/test/data/notifications/platform_notification_service.js b/chrome/test/data/notifications/platform_notification_service.js
index e7a3bf20eb628743b084eac3952f8e27990361d6..07a15b14447892daa890597042557cb6b1463ef5 100644
--- a/chrome/test/data/notifications/platform_notification_service.js
+++ b/chrome/test/data/notifications/platform_notification_service.js
@@ -21,7 +21,8 @@ addEventListener('notificationclick', function (event) {
if (message == 'action_button_click')
message += ' ' + event.action;
-
+ if (event.reply)
+ message += ' ' + event.reply;
messagePort.postMessage(message);
});

Powered by Google App Engine
This is Rietveld 408576698