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

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

Issue 2678733002: [ServiceWorker] Mojofy ActivateEvent of Service Worker (Closed)
Patch Set: Just rebase Created 3 years, 10 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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 int /* embedded_worker_id */) 275 int /* embedded_worker_id */)
276 276
277 // Informs the browser that event handling has finished. 277 // Informs the browser that event handling has finished.
278 // Routed to the target ServiceWorkerVersion. 278 // Routed to the target ServiceWorkerVersion.
279 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_InstallEventFinished, 279 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_InstallEventFinished,
280 int /* request_id */, 280 int /* request_id */,
281 blink::WebServiceWorkerEventResult, 281 blink::WebServiceWorkerEventResult,
282 bool /* has_fetch_event_handler */, 282 bool /* has_fetch_event_handler */,
283 base::Time /* dispatch_event_time */) 283 base::Time /* dispatch_event_time */)
284 284
285 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_ActivateEventFinished,
286 int /* request_id */,
287 blink::WebServiceWorkerEventResult,
288 base::Time /* dispatch_event_time */)
289 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_FetchEventResponse, 285 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_FetchEventResponse,
290 int /* fetch_event_id */, 286 int /* fetch_event_id */,
291 content::ServiceWorkerFetchEventResult, 287 content::ServiceWorkerFetchEventResult,
292 content::ServiceWorkerResponse, 288 content::ServiceWorkerResponse,
293 base::Time /* dispatch_event_time */) 289 base::Time /* dispatch_event_time */)
294 290
295 // Responds to a Ping from the browser. 291 // Responds to a Ping from the browser.
296 // Routed to the target ServiceWorkerVersion. 292 // Routed to the target ServiceWorkerVersion.
297 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) 293 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong)
298 294
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 // purposes (browser->renderer). |feature| must be one of the values from 511 // purposes (browser->renderer). |feature| must be one of the values from
516 // blink::UseCounter::Feature enum. 512 // blink::UseCounter::Feature enum.
517 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_CountFeature, 513 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_CountFeature,
518 int /* thread_id */, 514 int /* thread_id */,
519 int /* provider_id */, 515 int /* provider_id */,
520 uint32_t /* feature */) 516 uint32_t /* feature */)
521 517
522 // Sent via EmbeddedWorker to dispatch events. 518 // Sent via EmbeddedWorker to dispatch events.
523 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, 519 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent,
524 int /* request_id */) 520 int /* request_id */)
525 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent,
526 int /* request_id */)
527
528 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, 521 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting,
529 int /* request_id */) 522 int /* request_id */)
530 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients, 523 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients,
531 int /* request_id */) 524 int /* request_id */)
532 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError, 525 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError,
533 int /* request_id */, 526 int /* request_id */,
534 blink::WebServiceWorkerError::ErrorType /* code */, 527 blink::WebServiceWorkerError::ErrorType /* code */,
535 base::string16 /* message */) 528 base::string16 /* message */)
536 529
537 // Sent via EmbeddedWorker to Ping the worker, expecting a Pong in response. 530 // Sent via EmbeddedWorker to Ping the worker, expecting a Pong in response.
(...skipping 26 matching lines...) Expand all
564 557
565 // Sent via EmbeddedWorker as a response of NavigateClient. 558 // Sent via EmbeddedWorker as a response of NavigateClient.
566 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 559 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
567 int /* request_id */, 560 int /* request_id */,
568 content::ServiceWorkerClientInfo /* client */) 561 content::ServiceWorkerClientInfo /* client */)
569 562
570 // Sent via EmbeddedWorker as an error response of NavigateClient. 563 // Sent via EmbeddedWorker as an error response of NavigateClient.
571 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 564 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
572 int /* request_id */, 565 int /* request_id */,
573 GURL /* url */) 566 GURL /* url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698