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

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

Issue 2569993002: [ServiceWorker] Mojofy PushEvent of Service Worker. (Closed)
Patch Set: Created 4 years 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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 content::ServiceWorkerResponse, 292 content::ServiceWorkerResponse,
293 base::Time /* dispatch_event_time */) 293 base::Time /* dispatch_event_time */)
294 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NotificationClickEventFinished, 294 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NotificationClickEventFinished,
295 int /* request_id */, 295 int /* request_id */,
296 blink::WebServiceWorkerEventResult, 296 blink::WebServiceWorkerEventResult,
297 base::Time /* dispatch_event_time */) 297 base::Time /* dispatch_event_time */)
298 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NotificationCloseEventFinished, 298 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NotificationCloseEventFinished,
299 int /* request_id */, 299 int /* request_id */,
300 blink::WebServiceWorkerEventResult, 300 blink::WebServiceWorkerEventResult,
301 base::Time /* dispatch_event_time */) 301 base::Time /* dispatch_event_time */)
302 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_PushEventFinished,
303 int /* request_id */,
304 blink::WebServiceWorkerEventResult,
305 base::Time /* dispatch_event_time */)
306 302
307 // Responds to a Ping from the browser. 303 // Responds to a Ping from the browser.
308 // Routed to the target ServiceWorkerVersion. 304 // Routed to the target ServiceWorkerVersion.
309 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) 305 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong)
310 306
311 // Asks the browser to retrieve client of the sender ServiceWorker. 307 // Asks the browser to retrieve client of the sender ServiceWorker.
312 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GetClient, 308 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GetClient,
313 int /* request_id */, 309 int /* request_id */,
314 std::string /* client_uuid */) 310 std::string /* client_uuid */)
315 311
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 IPC_MESSAGE_CONTROL5(ServiceWorkerMsg_NotificationClickEvent, 525 IPC_MESSAGE_CONTROL5(ServiceWorkerMsg_NotificationClickEvent,
530 int /* request_id */, 526 int /* request_id */,
531 std::string /* notification_id */, 527 std::string /* notification_id */,
532 content::PlatformNotificationData /* notification_data */, 528 content::PlatformNotificationData /* notification_data */,
533 int /* action_index */, 529 int /* action_index */,
534 base::NullableString16 /* notification reply */) 530 base::NullableString16 /* notification reply */)
535 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent, 531 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent,
536 int /* request_id */, 532 int /* request_id */,
537 std::string /* notification_id */, 533 std::string /* notification_id */,
538 content::PlatformNotificationData /* notification_data */) 534 content::PlatformNotificationData /* notification_data */)
539 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent,
540 int /* request_id */,
541 content::PushEventPayload /* data */)
542 535
543 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, 536 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting,
544 int /* request_id */) 537 int /* request_id */)
545 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients, 538 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients,
546 int /* request_id */) 539 int /* request_id */)
547 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError, 540 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError,
548 int /* request_id */, 541 int /* request_id */,
549 blink::WebServiceWorkerError::ErrorType /* code */, 542 blink::WebServiceWorkerError::ErrorType /* code */,
550 base::string16 /* message */) 543 base::string16 /* message */)
551 544
(...skipping 27 matching lines...) Expand all
579 572
580 // Sent via EmbeddedWorker as a response of NavigateClient. 573 // Sent via EmbeddedWorker as a response of NavigateClient.
581 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 574 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
582 int /* request_id */, 575 int /* request_id */,
583 content::ServiceWorkerClientInfo /* client */) 576 content::ServiceWorkerClientInfo /* client */)
584 577
585 // Sent via EmbeddedWorker as an error response of NavigateClient. 578 // Sent via EmbeddedWorker as an error response of NavigateClient.
586 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 579 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
587 int /* request_id */, 580 int /* request_id */,
588 GURL /* url */) 581 GURL /* url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698