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

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

Issue 2392343002: Plumbing in notification replies: PlatformNotificationService -> SW (Closed)
Patch Set: Remove todo as it doesn't seem necessary after all 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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 int /* request_id */) 488 int /* request_id */)
489 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, 489 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent,
490 int /* request_id */) 490 int /* request_id */)
491 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ExtendableMessageEvent, 491 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ExtendableMessageEvent,
492 int /* request_id */, 492 int /* request_id */,
493 ServiceWorkerMsg_ExtendableMessageEvent_Params) 493 ServiceWorkerMsg_ExtendableMessageEvent_Params)
494 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_FetchEvent, 494 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_FetchEvent,
495 int /* response_id */, 495 int /* response_id */,
496 int /* event_finish_id */, 496 int /* event_finish_id */,
497 content::ServiceWorkerFetchRequest) 497 content::ServiceWorkerFetchRequest)
498 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent, 498 IPC_MESSAGE_CONTROL5(ServiceWorkerMsg_NotificationClickEvent,
499 int /* request_id */, 499 int /* request_id */,
500 std::string /* notification_id */, 500 std::string /* notification_id */,
501 content::PlatformNotificationData /* notification_data */, 501 content::PlatformNotificationData /* notification_data */,
502 int /* action_index */) 502 int /* action_index */,
503 base::string16 /* notification reply */)
503 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent, 504 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent,
504 int /* request_id */, 505 int /* request_id */,
505 std::string /* notification_id */, 506 std::string /* notification_id */,
506 content::PlatformNotificationData /* notification_data */) 507 content::PlatformNotificationData /* notification_data */)
507 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, 508 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent,
508 int /* request_id */, 509 int /* request_id */,
509 content::PushEventPayload /* data */) 510 content::PushEventPayload /* data */)
510 511
511 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, 512 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting,
512 int /* request_id */) 513 int /* request_id */)
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 548
548 // Sent via EmbeddedWorker as a response of NavigateClient. 549 // Sent via EmbeddedWorker as a response of NavigateClient.
549 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 550 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
550 int /* request_id */, 551 int /* request_id */,
551 content::ServiceWorkerClientInfo /* client */) 552 content::ServiceWorkerClientInfo /* client */)
552 553
553 // Sent via EmbeddedWorker as an error response of NavigateClient. 554 // Sent via EmbeddedWorker as an error response of NavigateClient.
554 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 555 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
555 int /* request_id */, 556 int /* request_id */,
556 GURL /* url */) 557 GURL /* url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698