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

Unified Diff: content/browser/service_worker/service_worker_version.h

Issue 1269923003: Plumb notification action index for desktop SW notificationclick (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@actions
Patch Set: Created 5 years, 4 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: content/browser/service_worker/service_worker_version.h
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
index a1bb88e056e5ebb36673eb9f82ced1ab3694c4bf..36f7f611a39b9ab14feacceb44a7d5adbd212e06 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -220,7 +220,8 @@ class CONTENT_EXPORT ServiceWorkerVersion
void DispatchNotificationClickEvent(
const StatusCallback& callback,
int64_t persistent_notification_id,
- const PlatformNotificationData& notification_data);
+ const PlatformNotificationData& notification_data,
+ int action_index);
// Sends push event to the associated embedded worker and asynchronously calls
// |callback| when it errors out or it gets a response from the worker to

Powered by Google App Engine
This is Rietveld 408576698