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

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

Issue 1904163002: Move Web Notifications to use Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@skbitmap-blink
Patch Set: it works \o/ Created 4 years, 7 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/content_browser.gypi » ('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>
11 11
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "content/common/service_worker/service_worker_client_info.h" 13 #include "content/common/service_worker/service_worker_client_info.h"
14 #include "content/common/service_worker/service_worker_status_code.h" 14 #include "content/common/service_worker/service_worker_status_code.h"
15 #include "content/common/service_worker/service_worker_types.h" 15 #include "content/common/service_worker/service_worker_types.h"
16 #include "content/public/common/message_port_types.h" 16 #include "content/public/common/message_port_types.h"
17 #include "content/public/common/platform_notification_data.h"
18 #include "content/public/common/push_event_payload.h" 17 #include "content/public/common/push_event_payload.h"
19 #include "ipc/ipc_message_macros.h" 18 #include "ipc/ipc_message_macros.h"
20 #include "ipc/ipc_param_traits.h" 19 #include "ipc/ipc_param_traits.h"
21 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h" 20 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h"
22 #include "third_party/WebKit/public/platform/WebGeofencingEventType.h" 21 #include "third_party/WebKit/public/platform/WebGeofencingEventType.h"
23 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerError.h" 22 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerError.h"
24 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerEventResult.h" 23 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerEventResult.h"
25 #include "url/gurl.h" 24 #include "url/gurl.h"
26 #include "url/origin.h" 25 #include "url/origin.h"
27 26
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, 252 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished,
254 int /* request_id */, 253 int /* request_id */,
255 blink::WebServiceWorkerEventResult) 254 blink::WebServiceWorkerEventResult)
256 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ExtendableMessageEventFinished, 255 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ExtendableMessageEventFinished,
257 int /* request_id */, 256 int /* request_id */,
258 blink::WebServiceWorkerEventResult) 257 blink::WebServiceWorkerEventResult)
259 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, 258 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished,
260 int /* request_id */, 259 int /* request_id */,
261 content::ServiceWorkerFetchEventResult, 260 content::ServiceWorkerFetchEventResult,
262 content::ServiceWorkerResponse) 261 content::ServiceWorkerResponse)
263 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationClickEventFinished,
264 int /* request_id */,
265 blink::WebServiceWorkerEventResult)
266 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationCloseEventFinished,
267 int /* request_id */,
268 blink::WebServiceWorkerEventResult)
269 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, 262 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished,
270 int /* request_id */, 263 int /* request_id */,
271 blink::WebServiceWorkerEventResult) 264 blink::WebServiceWorkerEventResult)
272 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GeofencingEventFinished, 265 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GeofencingEventFinished,
273 int /* request_id */, 266 int /* request_id */,
274 blink::WebServiceWorkerEventResult) 267 blink::WebServiceWorkerEventResult)
275 268
276 // Responds to a Ping from the browser. 269 // Responds to a Ping from the browser.
277 // Routed to the target ServiceWorkerVersion. 270 // Routed to the target ServiceWorkerVersion.
278 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) 271 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong)
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, 461 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent,
469 int /* request_id */) 462 int /* request_id */)
470 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, 463 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent,
471 int /* request_id */) 464 int /* request_id */)
472 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ExtendableMessageEvent, 465 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ExtendableMessageEvent,
473 int /* request_id */, 466 int /* request_id */,
474 ServiceWorkerMsg_ExtendableMessageEvent_Params) 467 ServiceWorkerMsg_ExtendableMessageEvent_Params)
475 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, 468 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent,
476 int /* request_id */, 469 int /* request_id */,
477 content::ServiceWorkerFetchRequest) 470 content::ServiceWorkerFetchRequest)
478 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent,
479 int /* request_id */,
480 int64_t /* persistent_notification_id */,
481 content::PlatformNotificationData /* notification_data */,
482 int /* action_index */)
483 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent,
484 int /* request_id */,
485 int64_t /* persistent_notification_id */,
486 content::PlatformNotificationData /* notification_data */)
487 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, 471 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent,
488 int /* request_id */, 472 int /* request_id */,
489 content::PushEventPayload /* data */) 473 content::PushEventPayload /* data */)
490 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, 474 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent,
491 int /* request_id */, 475 int /* request_id */,
492 blink::WebGeofencingEventType /* event_type */, 476 blink::WebGeofencingEventType /* event_type */,
493 std::string /* region_id */, 477 std::string /* region_id */,
494 blink::WebCircularGeofencingRegion /* region */) 478 blink::WebCircularGeofencingRegion /* region */)
495 479
496 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, 480 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 516
533 // Sent via EmbeddedWorker as a response of NavigateClient. 517 // Sent via EmbeddedWorker as a response of NavigateClient.
534 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 518 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
535 int /* request_id */, 519 int /* request_id */,
536 content::ServiceWorkerClientInfo /* client */) 520 content::ServiceWorkerClientInfo /* client */)
537 521
538 // Sent via EmbeddedWorker as an error response of NavigateClient. 522 // Sent via EmbeddedWorker as an error response of NavigateClient.
539 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 523 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
540 int /* request_id */, 524 int /* request_id */,
541 GURL /* url */) 525 GURL /* url */)
OLDNEW
« no previous file with comments | « content/common/platform_notification_messages.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698