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

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

Issue 2352173004: Mojoify FetchEvent of Service Worker. (Closed)
Patch Set: incorporated dcheng's comment Created 4 years, 2 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 base::Time /* dispatch_event_time */) 268 base::Time /* dispatch_event_time */)
269 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_ExtendableMessageEventFinished, 269 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_ExtendableMessageEventFinished,
270 int /* request_id */, 270 int /* request_id */,
271 blink::WebServiceWorkerEventResult, 271 blink::WebServiceWorkerEventResult,
272 base::Time /* dispatch_event_time */) 272 base::Time /* dispatch_event_time */)
273 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_FetchEventResponse, 273 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_FetchEventResponse,
274 int /* response_id */, 274 int /* response_id */,
275 content::ServiceWorkerFetchEventResult, 275 content::ServiceWorkerFetchEventResult,
276 content::ServiceWorkerResponse, 276 content::ServiceWorkerResponse,
277 base::Time /* dispatch_event_time */) 277 base::Time /* dispatch_event_time */)
278 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished,
279 int /* event_finish_id */,
280 blink::WebServiceWorkerEventResult,
281 base::Time /* dispatch_event_time */)
282 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NotificationClickEventFinished, 278 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NotificationClickEventFinished,
283 int /* request_id */, 279 int /* request_id */,
284 blink::WebServiceWorkerEventResult, 280 blink::WebServiceWorkerEventResult,
285 base::Time /* dispatch_event_time */) 281 base::Time /* dispatch_event_time */)
286 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NotificationCloseEventFinished, 282 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NotificationCloseEventFinished,
287 int /* request_id */, 283 int /* request_id */,
288 blink::WebServiceWorkerEventResult, 284 blink::WebServiceWorkerEventResult,
289 base::Time /* dispatch_event_time */) 285 base::Time /* dispatch_event_time */)
290 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_PushEventFinished, 286 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_PushEventFinished,
291 int /* request_id */, 287 int /* request_id */,
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 ServiceWorkerMsg_MessageToDocument_Params) 480 ServiceWorkerMsg_MessageToDocument_Params)
485 481
486 // Sent via EmbeddedWorker to dispatch events. 482 // Sent via EmbeddedWorker to dispatch events.
487 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, 483 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent,
488 int /* request_id */) 484 int /* request_id */)
489 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, 485 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent,
490 int /* request_id */) 486 int /* request_id */)
491 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ExtendableMessageEvent, 487 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ExtendableMessageEvent,
492 int /* request_id */, 488 int /* request_id */,
493 ServiceWorkerMsg_ExtendableMessageEvent_Params) 489 ServiceWorkerMsg_ExtendableMessageEvent_Params)
494 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_FetchEvent,
495 int /* response_id */,
496 int /* event_finish_id */,
497 content::ServiceWorkerFetchRequest)
498 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent, 490 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent,
499 int /* request_id */, 491 int /* request_id */,
500 std::string /* notification_id */, 492 std::string /* notification_id */,
501 content::PlatformNotificationData /* notification_data */, 493 content::PlatformNotificationData /* notification_data */,
502 int /* action_index */) 494 int /* action_index */)
503 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent, 495 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent,
504 int /* request_id */, 496 int /* request_id */,
505 std::string /* notification_id */, 497 std::string /* notification_id */,
506 content::PlatformNotificationData /* notification_data */) 498 content::PlatformNotificationData /* notification_data */)
507 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, 499 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 539
548 // Sent via EmbeddedWorker as a response of NavigateClient. 540 // Sent via EmbeddedWorker as a response of NavigateClient.
549 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 541 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
550 int /* request_id */, 542 int /* request_id */,
551 content::ServiceWorkerClientInfo /* client */) 543 content::ServiceWorkerClientInfo /* client */)
552 544
553 // Sent via EmbeddedWorker as an error response of NavigateClient. 545 // Sent via EmbeddedWorker as an error response of NavigateClient.
554 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 546 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
555 int /* request_id */, 547 int /* request_id */,
556 GURL /* url */) 548 GURL /* url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698