OLD | NEW |
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 <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "content/common/service_worker/service_worker_client_info.h" | 11 #include "content/common/service_worker/service_worker_client_info.h" |
12 #include "content/common/service_worker/service_worker_status_code.h" | 12 #include "content/common/service_worker/service_worker_status_code.h" |
13 #include "content/common/service_worker/service_worker_types.h" | 13 #include "content/common/service_worker/service_worker_types.h" |
14 #include "content/public/common/message_port_types.h" | 14 #include "content/public/common/message_port_types.h" |
15 #include "content/public/common/navigator_connect_client.h" | 15 #include "content/public/common/navigator_connect_client.h" |
16 #include "content/public/common/platform_notification_data.h" | 16 #include "content/public/common/platform_notification_data.h" |
17 #include "ipc/ipc_message_macros.h" | 17 #include "ipc/ipc_message_macros.h" |
18 #include "ipc/ipc_param_traits.h" | 18 #include "ipc/ipc_param_traits.h" |
19 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h" | 19 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h" |
20 #include "third_party/WebKit/public/platform/WebGeofencingEventType.h" | 20 #include "third_party/WebKit/public/platform/WebGeofencingEventType.h" |
21 #include "third_party/WebKit/public/platform/WebServiceWorkerError.h" | 21 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerError.h" |
22 #include "third_party/WebKit/public/platform/WebServiceWorkerEventResult.h" | 22 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerEventResult.h" |
23 #include "url/gurl.h" | 23 #include "url/gurl.h" |
24 | 24 |
25 #undef IPC_MESSAGE_EXPORT | 25 #undef IPC_MESSAGE_EXPORT |
26 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 26 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
27 | 27 |
28 #define IPC_MESSAGE_START ServiceWorkerMsgStart | 28 #define IPC_MESSAGE_START ServiceWorkerMsgStart |
29 | 29 |
30 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerError::ErrorType, | 30 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerError::ErrorType, |
31 blink::WebServiceWorkerError::ErrorTypeLast) | 31 blink::WebServiceWorkerError::ErrorTypeLast) |
32 | 32 |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 | 494 |
495 // Sent via EmbeddedWorker as a response of NavigateClient. | 495 // Sent via EmbeddedWorker as a response of NavigateClient. |
496 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 496 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
497 int /* request_id */, | 497 int /* request_id */, |
498 content::ServiceWorkerClientInfo /* client */) | 498 content::ServiceWorkerClientInfo /* client */) |
499 | 499 |
500 // Sent via EmbeddedWorker as an error response of NavigateClient. | 500 // Sent via EmbeddedWorker as an error response of NavigateClient. |
501 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 501 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
502 int /* request_id */, | 502 int /* request_id */, |
503 GURL /* url */) | 503 GURL /* url */) |
OLD | NEW |