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

Side by Side Diff: content/common/service_worker/service_worker_messages.h

Issue 2034663002: ServiceWorker: Keep the worker alive until FetchEvent.waitUntil settles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Message definition file, included multiple times, hence no include guard. 5 // Message definition file, included multiple times, hence no include guard.
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 int /* request_id */, 257 int /* request_id */,
258 blink::WebServiceWorkerEventResult, 258 blink::WebServiceWorkerEventResult,
259 bool /* has_fetch_event_handler */) 259 bool /* has_fetch_event_handler */)
260 260
261 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, 261 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished,
262 int /* request_id */, 262 int /* request_id */,
263 blink::WebServiceWorkerEventResult) 263 blink::WebServiceWorkerEventResult)
264 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ExtendableMessageEventFinished, 264 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ExtendableMessageEventFinished,
265 int /* request_id */, 265 int /* request_id */,
266 blink::WebServiceWorkerEventResult) 266 blink::WebServiceWorkerEventResult)
267 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, 267 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventResponse,
268 int /* request_id */, 268 int /* response_id */,
269 content::ServiceWorkerFetchEventResult, 269 content::ServiceWorkerFetchEventResult,
270 content::ServiceWorkerResponse) 270 content::ServiceWorkerResponse)
271 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_FetchEventFinished,
272 int /* event_finish_id */,
273 blink::WebServiceWorkerEventResult)
271 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationClickEventFinished, 274 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationClickEventFinished,
272 int /* request_id */, 275 int /* request_id */,
273 blink::WebServiceWorkerEventResult) 276 blink::WebServiceWorkerEventResult)
274 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationCloseEventFinished, 277 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationCloseEventFinished,
275 int /* request_id */, 278 int /* request_id */,
276 blink::WebServiceWorkerEventResult) 279 blink::WebServiceWorkerEventResult)
277 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, 280 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished,
278 int /* request_id */, 281 int /* request_id */,
279 blink::WebServiceWorkerEventResult) 282 blink::WebServiceWorkerEventResult)
280 283
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 ServiceWorkerMsg_MessageToDocument_Params) 473 ServiceWorkerMsg_MessageToDocument_Params)
471 474
472 // Sent via EmbeddedWorker to dispatch events. 475 // Sent via EmbeddedWorker to dispatch events.
473 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, 476 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent,
474 int /* request_id */) 477 int /* request_id */)
475 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, 478 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent,
476 int /* request_id */) 479 int /* request_id */)
477 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ExtendableMessageEvent, 480 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ExtendableMessageEvent,
478 int /* request_id */, 481 int /* request_id */,
479 ServiceWorkerMsg_ExtendableMessageEvent_Params) 482 ServiceWorkerMsg_ExtendableMessageEvent_Params)
480 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, 483 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_FetchEvent,
481 int /* request_id */, 484 int /* response_id */,
485 int /* event_finish_id */,
482 content::ServiceWorkerFetchRequest) 486 content::ServiceWorkerFetchRequest)
483 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent, 487 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent,
484 int /* request_id */, 488 int /* request_id */,
485 int64_t /* persistent_notification_id */, 489 int64_t /* persistent_notification_id */,
486 content::PlatformNotificationData /* notification_data */, 490 content::PlatformNotificationData /* notification_data */,
487 int /* action_index */) 491 int /* action_index */)
488 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent, 492 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent,
489 int /* request_id */, 493 int /* request_id */,
490 int64_t /* persistent_notification_id */, 494 int64_t /* persistent_notification_id */,
491 content::PlatformNotificationData /* notification_data */) 495 content::PlatformNotificationData /* notification_data */)
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 536
533 // Sent via EmbeddedWorker as a response of NavigateClient. 537 // Sent via EmbeddedWorker as a response of NavigateClient.
534 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 538 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
535 int /* request_id */, 539 int /* request_id */,
536 content::ServiceWorkerClientInfo /* client */) 540 content::ServiceWorkerClientInfo /* client */)
537 541
538 // Sent via EmbeddedWorker as an error response of NavigateClient. 542 // Sent via EmbeddedWorker as an error response of NavigateClient.
539 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 543 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
540 int /* request_id */, 544 int /* request_id */,
541 GURL /* url */) 545 GURL /* url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698