| Index: content/renderer/service_worker/service_worker_script_context.h
|
| diff --git a/content/renderer/service_worker/service_worker_script_context.h b/content/renderer/service_worker/service_worker_script_context.h
|
| index 9bde541f0b8240d22c503d954ff2a8c369a3fd89..6400d8bf8d1b4b774fb91ebcf2c5ca3466a3fa4a 100644
|
| --- a/content/renderer/service_worker/service_worker_script_context.h
|
| +++ b/content/renderer/service_worker/service_worker_script_context.h
|
| @@ -35,6 +35,7 @@ class Message;
|
| namespace content {
|
|
|
| class EmbeddedWorkerContextClient;
|
| +struct ShowDesktopNotificationHostMsgParams;
|
|
|
| // TODO(kinuko): This should implement WebServiceWorkerContextClient
|
| // rather than having EmbeddedWorkerContextClient implement it.
|
| @@ -92,8 +93,10 @@ class ServiceWorkerScriptContext {
|
| void OnInstallEvent(int request_id, int active_version_id);
|
| void OnFetchEvent(int request_id, const ServiceWorkerFetchRequest& request);
|
| void OnSyncEvent(int request_id);
|
| - void OnNotificationClickEvent(int request_id,
|
| - const std::string& notification_id);
|
| + void OnNotificationClickEvent(
|
| + int request_id,
|
| + const std::string& notification_id,
|
| + const ShowDesktopNotificationHostMsgParams& notification_data);
|
| void OnPushEvent(int request_id, const std::string& data);
|
| void OnGeofencingEvent(int request_id,
|
| blink::WebGeofencingEventType event_type,
|
|
|