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

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

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

Powered by Google App Engine
This is Rietveld 408576698