| Index: content/renderer/service_worker/service_worker_context_client.cc
|
| diff --git a/content/renderer/service_worker/service_worker_context_client.cc b/content/renderer/service_worker/service_worker_context_client.cc
|
| index 4db7e3ac4b13e923483dd1e665d1324e40b6e776..86026ad6d87b2d8e0a9b2c879612b804bde06f72 100644
|
| --- a/content/renderer/service_worker/service_worker_context_client.cc
|
| +++ b/content/renderer/service_worker/service_worker_context_client.cc
|
| @@ -835,26 +835,24 @@ void ServiceWorkerContextClient::OnFetchEvent(
|
|
|
| void ServiceWorkerContextClient::OnNotificationClickEvent(
|
| int request_id,
|
| - int64_t persistent_notification_id,
|
| + const std::string& notification_id,
|
| const PlatformNotificationData& notification_data,
|
| int action_index) {
|
| TRACE_EVENT0("ServiceWorker",
|
| "ServiceWorkerContextClient::OnNotificationClickEvent");
|
| proxy_->dispatchNotificationClickEvent(
|
| - request_id,
|
| - persistent_notification_id,
|
| - ToWebNotificationData(notification_data),
|
| - action_index);
|
| + request_id, blink::WebString::fromUTF8(notification_id),
|
| + ToWebNotificationData(notification_data), action_index);
|
| }
|
|
|
| void ServiceWorkerContextClient::OnNotificationCloseEvent(
|
| int request_id,
|
| - int64_t persistent_notification_id,
|
| + const std::string& notification_id,
|
| const PlatformNotificationData& notification_data) {
|
| TRACE_EVENT0("ServiceWorker",
|
| "ServiceWorkerContextClient::OnNotificationCloseEvent");
|
| proxy_->dispatchNotificationCloseEvent(
|
| - request_id, persistent_notification_id,
|
| + request_id, blink::WebString::fromUTF8(notification_id),
|
| ToWebNotificationData(notification_data));
|
| }
|
|
|
|
|