Chromium Code Reviews| 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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 368 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_InstallEvent, | 369 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_InstallEvent, |
| 369 int /* request_id */, | 370 int /* request_id */, |
| 370 int /* active_version_id */) | 371 int /* active_version_id */) |
| 371 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, | 372 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, |
| 372 int /* request_id */) | 373 int /* request_id */) |
| 373 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, | 374 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, |
| 374 int /* request_id */, | 375 int /* request_id */, |
| 375 content::ServiceWorkerFetchRequest) | 376 content::ServiceWorkerFetchRequest) |
| 376 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent, | 377 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent, |
| 377 int /* request_id */) | 378 int /* request_id */) |
| 378 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NotificationClickEvent, | 379 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, |
| 379 int /* request_id */, | 380 int /* request_id */, |
| 380 std::string /* notification_id */) | 381 std::string /* notification_id */, |
| 382 content::ShowDesktopNotificationHostMsgParams) | |
|
Mike West
2014/12/09 11:47:30
It's not clear what aspects of this struct you're
Peter Beverloo
2014/12/09 11:51:58
It's being used in service_worker_script_context.c
| |
| 381 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, | 383 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, |
| 382 int /* request_id */, | 384 int /* request_id */, |
| 383 std::string /* data */) | 385 std::string /* data */) |
| 384 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, | 386 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, |
| 385 int /* request_id */, | 387 int /* request_id */, |
| 386 blink::WebGeofencingEventType /* event_type */, | 388 blink::WebGeofencingEventType /* event_type */, |
| 387 std::string /* region_id */, | 389 std::string /* region_id */, |
| 388 blink::WebCircularGeofencingRegion /* region */) | 390 blink::WebCircularGeofencingRegion /* region */) |
| 389 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, | 391 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, |
| 390 base::string16 /* message */, | 392 base::string16 /* message */, |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 453 blink::WebServiceWorkerCacheError) | 455 blink::WebServiceWorkerCacheError) |
| 454 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, | 456 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, |
| 455 int /* request_id */, | 457 int /* request_id */, |
| 456 blink::WebServiceWorkerCacheError) | 458 blink::WebServiceWorkerCacheError) |
| 457 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, | 459 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, |
| 458 int /* request_id */, | 460 int /* request_id */, |
| 459 blink::WebServiceWorkerCacheError) | 461 blink::WebServiceWorkerCacheError) |
| 460 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, | 462 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, |
| 461 int /* request_id */, | 463 int /* request_id */, |
| 462 blink::WebServiceWorkerCacheError) | 464 blink::WebServiceWorkerCacheError) |
| OLD | NEW |