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

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

Issue 2300093002: Make //content responsible for generating notification Ids (Closed)
Patch Set: comments Created 4 years, 3 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
« no previous file with comments | « content/common/platform_notification_messages.h ('k') | content/public/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_CONTROL4(ServiceWorkerMsg_NotificationClickEvent,
499 int /* request_id */, 499 int /* request_id */,
500 int64_t /* persistent_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 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent, 503 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent,
504 int /* request_id */, 504 int /* request_id */,
505 int64_t /* persistent_notification_id */, 505 std::string /* notification_id */,
506 content::PlatformNotificationData /* notification_data */) 506 content::PlatformNotificationData /* notification_data */)
507 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, 507 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent,
508 int /* request_id */, 508 int /* request_id */,
509 content::PushEventPayload /* data */) 509 content::PushEventPayload /* data */)
510 510
511 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, 511 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting,
512 int /* request_id */) 512 int /* request_id */)
513 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients, 513 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients,
514 int /* request_id */) 514 int /* request_id */)
515 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError, 515 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 547
548 // Sent via EmbeddedWorker as a response of NavigateClient. 548 // Sent via EmbeddedWorker as a response of NavigateClient.
549 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 549 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
550 int /* request_id */, 550 int /* request_id */,
551 content::ServiceWorkerClientInfo /* client */) 551 content::ServiceWorkerClientInfo /* client */)
552 552
553 // Sent via EmbeddedWorker as an error response of NavigateClient. 553 // Sent via EmbeddedWorker as an error response of NavigateClient.
554 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 554 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
555 int /* request_id */, 555 int /* request_id */,
556 GURL /* url */) 556 GURL /* url */)
OLDNEW
« no previous file with comments | « content/common/platform_notification_messages.h ('k') | content/public/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698