| 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 7f6f74900370982846209114b62bd8df8375995f..c41e7777187355b97895f55ab7ad7dc11ac58cc6 100644
|
| --- a/content/browser/service_worker/service_worker_version.h
|
| +++ b/content/browser/service_worker/service_worker_version.h
|
| @@ -39,6 +39,7 @@ class ServiceWorkerContextCore;
|
| class ServiceWorkerProviderHost;
|
| class ServiceWorkerRegistration;
|
| class ServiceWorkerVersionInfo;
|
| +struct ShowDesktopNotificationHostMsgParams;
|
|
|
| // This class corresponds to a specific version of a ServiceWorker
|
| // script for a given pattern. When a script is upgraded, there may be
|
| @@ -204,8 +205,10 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
| // from the worker to notify completion.
|
| //
|
| // This must be called when the status() is ACTIVATED.
|
| - void DispatchNotificationClickEvent(const StatusCallback& callback,
|
| - const std::string& notification_id);
|
| + void DispatchNotificationClickEvent(
|
| + const StatusCallback& callback,
|
| + const std::string& notification_id,
|
| + const ShowDesktopNotificationHostMsgParams& notification_data);
|
|
|
| // 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
|
|
|