| 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_status_code.h" | 11 #include "content/common/service_worker/service_worker_status_code.h" |
| 12 #include "content/common/service_worker/service_worker_types.h" | 12 #include "content/common/service_worker/service_worker_types.h" |
| 13 #include "content/public/common/show_desktop_notification_params.h" |
| 13 #include "ipc/ipc_message_macros.h" | 14 #include "ipc/ipc_message_macros.h" |
| 14 #include "ipc/ipc_param_traits.h" | 15 #include "ipc/ipc_param_traits.h" |
| 15 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h" | 16 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h" |
| 16 #include "third_party/WebKit/public/platform/WebGeofencingEventType.h" | 17 #include "third_party/WebKit/public/platform/WebGeofencingEventType.h" |
| 17 #include "third_party/WebKit/public/platform/WebServiceWorkerCacheError.h" | 18 #include "third_party/WebKit/public/platform/WebServiceWorkerCacheError.h" |
| 18 #include "third_party/WebKit/public/platform/WebServiceWorkerError.h" | 19 #include "third_party/WebKit/public/platform/WebServiceWorkerError.h" |
| 19 #include "third_party/WebKit/public/platform/WebServiceWorkerEventResult.h" | 20 #include "third_party/WebKit/public/platform/WebServiceWorkerEventResult.h" |
| 20 #include "url/gurl.h" | 21 #include "url/gurl.h" |
| 21 | 22 |
| 22 #undef IPC_MESSAGE_EXPORT | 23 #undef IPC_MESSAGE_EXPORT |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_InstallEvent, | 363 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_InstallEvent, |
| 363 int /* request_id */, | 364 int /* request_id */, |
| 364 int /* active_version_id */) | 365 int /* active_version_id */) |
| 365 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, | 366 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, |
| 366 int /* request_id */) | 367 int /* request_id */) |
| 367 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, | 368 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, |
| 368 int /* request_id */, | 369 int /* request_id */, |
| 369 content::ServiceWorkerFetchRequest) | 370 content::ServiceWorkerFetchRequest) |
| 370 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent, | 371 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent, |
| 371 int /* request_id */) | 372 int /* request_id */) |
| 372 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NotificationClickEvent, | 373 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, |
| 373 int /* request_id */, | 374 int /* request_id */, |
| 374 std::string /* notification_id */) | 375 std::string /* notification_id */, |
| 376 content::ShowDesktopNotificationHostMsgParams) |
| 375 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, | 377 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, |
| 376 int /* request_id */, | 378 int /* request_id */, |
| 377 std::string /* data */) | 379 std::string /* data */) |
| 378 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, | 380 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, |
| 379 int /* request_id */, | 381 int /* request_id */, |
| 380 blink::WebGeofencingEventType /* event_type */, | 382 blink::WebGeofencingEventType /* event_type */, |
| 381 std::string /* region_id */, | 383 std::string /* region_id */, |
| 382 blink::WebCircularGeofencingRegion /* region */) | 384 blink::WebCircularGeofencingRegion /* region */) |
| 383 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, | 385 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, |
| 384 base::string16 /* message */, | 386 base::string16 /* message */, |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 blink::WebServiceWorkerCacheError) | 443 blink::WebServiceWorkerCacheError) |
| 442 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, | 444 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, |
| 443 int /* request_id */, | 445 int /* request_id */, |
| 444 blink::WebServiceWorkerCacheError) | 446 blink::WebServiceWorkerCacheError) |
| 445 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, | 447 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, |
| 446 int /* request_id */, | 448 int /* request_id */, |
| 447 blink::WebServiceWorkerCacheError) | 449 blink::WebServiceWorkerCacheError) |
| 448 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, | 450 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, |
| 449 int /* request_id */, | 451 int /* request_id */, |
| 450 blink::WebServiceWorkerCacheError) | 452 blink::WebServiceWorkerCacheError) |
| OLD | NEW |