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

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, 6 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 int /* request_id */, 246 int /* request_id */,
247 blink::WebServiceWorkerEventResult, 247 blink::WebServiceWorkerEventResult,
248 bool /* has_fetch_event_handler */) 248 bool /* has_fetch_event_handler */)
249 249
250 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, 250 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished,
251 int /* request_id */, 251 int /* request_id */,
252 blink::WebServiceWorkerEventResult) 252 blink::WebServiceWorkerEventResult)
253 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ExtendableMessageEventFinished, 253 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ExtendableMessageEventFinished,
254 int /* request_id */, 254 int /* request_id */,
255 blink::WebServiceWorkerEventResult) 255 blink::WebServiceWorkerEventResult)
256 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, 256 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventResponse,
257 int /* request_id */, 257 int /* request_id */,
falken 2016/06/16 06:23:11 response_id
shimazu 2016/06/21 02:43:38 Done.
258 content::ServiceWorkerFetchEventResult, 258 content::ServiceWorkerFetchEventResult,
259 content::ServiceWorkerResponse) 259 content::ServiceWorkerResponse)
260 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_FetchEventFinished,
261 int /* request_id */,
falken 2016/06/16 06:23:11 event_finish_id
shimazu 2016/06/21 02:43:38 Done.
262 blink::WebServiceWorkerEventResult)
260 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationClickEventFinished, 263 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationClickEventFinished,
261 int /* request_id */, 264 int /* request_id */,
262 blink::WebServiceWorkerEventResult) 265 blink::WebServiceWorkerEventResult)
263 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationCloseEventFinished, 266 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationCloseEventFinished,
264 int /* request_id */, 267 int /* request_id */,
265 blink::WebServiceWorkerEventResult) 268 blink::WebServiceWorkerEventResult)
266 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, 269 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished,
267 int /* request_id */, 270 int /* request_id */,
268 blink::WebServiceWorkerEventResult) 271 blink::WebServiceWorkerEventResult)
269 272
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 ServiceWorkerMsg_MessageToDocument_Params) 462 ServiceWorkerMsg_MessageToDocument_Params)
460 463
461 // Sent via EmbeddedWorker to dispatch events. 464 // Sent via EmbeddedWorker to dispatch events.
462 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, 465 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent,
463 int /* request_id */) 466 int /* request_id */)
464 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, 467 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent,
465 int /* request_id */) 468 int /* request_id */)
466 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ExtendableMessageEvent, 469 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ExtendableMessageEvent,
467 int /* request_id */, 470 int /* request_id */,
468 ServiceWorkerMsg_ExtendableMessageEvent_Params) 471 ServiceWorkerMsg_ExtendableMessageEvent_Params)
469 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, 472 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_FetchEvent,
470 int /* request_id */, 473 int /* response_request_id */,
474 int /* finish_request_id */,
falken 2016/06/16 06:23:11 I think in your naming system, this is actually "i
shimazu 2016/06/21 02:43:38 Done.
471 content::ServiceWorkerFetchRequest) 475 content::ServiceWorkerFetchRequest)
472 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent, 476 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent,
473 int /* request_id */, 477 int /* request_id */,
474 int64_t /* persistent_notification_id */, 478 int64_t /* persistent_notification_id */,
475 content::PlatformNotificationData /* notification_data */, 479 content::PlatformNotificationData /* notification_data */,
476 int /* action_index */) 480 int /* action_index */)
477 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent, 481 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent,
478 int /* request_id */, 482 int /* request_id */,
479 int64_t /* persistent_notification_id */, 483 int64_t /* persistent_notification_id */,
480 content::PlatformNotificationData /* notification_data */) 484 content::PlatformNotificationData /* notification_data */)
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 525
522 // Sent via EmbeddedWorker as a response of NavigateClient. 526 // Sent via EmbeddedWorker as a response of NavigateClient.
523 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 527 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
524 int /* request_id */, 528 int /* request_id */,
525 content::ServiceWorkerClientInfo /* client */) 529 content::ServiceWorkerClientInfo /* client */)
526 530
527 // Sent via EmbeddedWorker as an error response of NavigateClient. 531 // Sent via EmbeddedWorker as an error response of NavigateClient.
528 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 532 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
529 int /* request_id */, 533 int /* request_id */,
530 GURL /* url */) 534 GURL /* url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698