| 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/navigator_connect_types.h" | |
| 12 #include "content/common/service_worker/service_worker_status_code.h" | 11 #include "content/common/service_worker/service_worker_status_code.h" |
| 13 #include "content/common/service_worker/service_worker_types.h" | 12 #include "content/common/service_worker/service_worker_types.h" |
| 13 #include "content/public/common/navigator_connect_client.h" |
| 14 #include "content/public/common/platform_notification_data.h" | 14 #include "content/public/common/platform_notification_data.h" |
| 15 #include "ipc/ipc_message_macros.h" | 15 #include "ipc/ipc_message_macros.h" |
| 16 #include "ipc/ipc_param_traits.h" | 16 #include "ipc/ipc_param_traits.h" |
| 17 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h" | 17 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h" |
| 18 #include "third_party/WebKit/public/platform/WebGeofencingEventType.h" | 18 #include "third_party/WebKit/public/platform/WebGeofencingEventType.h" |
| 19 #include "third_party/WebKit/public/platform/WebServiceWorkerCacheError.h" | 19 #include "third_party/WebKit/public/platform/WebServiceWorkerCacheError.h" |
| 20 #include "third_party/WebKit/public/platform/WebServiceWorkerError.h" | 20 #include "third_party/WebKit/public/platform/WebServiceWorkerError.h" |
| 21 #include "third_party/WebKit/public/platform/WebServiceWorkerEventResult.h" | 21 #include "third_party/WebKit/public/platform/WebServiceWorkerEventResult.h" |
| 22 #include "url/gurl.h" | 22 #include "url/gurl.h" |
| 23 | 23 |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, | 416 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, |
| 417 int /* request_id */, | 417 int /* request_id */, |
| 418 std::string /* data */) | 418 std::string /* data */) |
| 419 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, | 419 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, |
| 420 int /* request_id */, | 420 int /* request_id */, |
| 421 blink::WebGeofencingEventType /* event_type */, | 421 blink::WebGeofencingEventType /* event_type */, |
| 422 std::string /* region_id */, | 422 std::string /* region_id */, |
| 423 blink::WebCircularGeofencingRegion /* region */) | 423 blink::WebCircularGeofencingRegion /* region */) |
| 424 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CrossOriginConnectEvent, | 424 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CrossOriginConnectEvent, |
| 425 int /* request_id */, | 425 int /* request_id */, |
| 426 content::CrossOriginServiceWorkerClient /* client */) | 426 content::NavigatorConnectClient /* client */) |
| 427 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, | 427 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, |
| 428 base::string16 /* message */, | 428 base::string16 /* message */, |
| 429 std::vector<int> /* sent_message_port_ids */, | 429 std::vector<int> /* sent_message_port_ids */, |
| 430 std::vector<int> /* new_routing_ids */) | 430 std::vector<int> /* new_routing_ids */) |
| 431 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_CrossOriginMessageToWorker, | 431 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_CrossOriginMessageToWorker, |
| 432 content::CrossOriginServiceWorkerClient /* client */, | 432 content::NavigatorConnectClient /* client */, |
| 433 base::string16 /* message */, | 433 base::string16 /* message */, |
| 434 std::vector<int> /* sent_message_port_ids */, | 434 std::vector<int> /* sent_message_port_ids */, |
| 435 std::vector<int> /* new_routing_ids */) | 435 std::vector<int> /* new_routing_ids */) |
| 436 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, | 436 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, |
| 437 int /* request_id */) | 437 int /* request_id */) |
| 438 | 438 |
| 439 // Sent via EmbeddedWorker as a response of GetClientDocuments. | 439 // Sent via EmbeddedWorker as a response of GetClientDocuments. |
| 440 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, | 440 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, |
| 441 int /* request_id */, | 441 int /* request_id */, |
| 442 std::vector<content::ServiceWorkerClientInfo>) | 442 std::vector<content::ServiceWorkerClientInfo>) |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 blink::WebServiceWorkerCacheError) | 498 blink::WebServiceWorkerCacheError) |
| 499 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, | 499 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, |
| 500 int /* request_id */, | 500 int /* request_id */, |
| 501 blink::WebServiceWorkerCacheError) | 501 blink::WebServiceWorkerCacheError) |
| 502 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, | 502 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, |
| 503 int /* request_id */, | 503 int /* request_id */, |
| 504 blink::WebServiceWorkerCacheError) | 504 blink::WebServiceWorkerCacheError) |
| 505 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, | 505 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, |
| 506 int /* request_id */, | 506 int /* request_id */, |
| 507 blink::WebServiceWorkerCacheError) | 507 blink::WebServiceWorkerCacheError) |
| OLD | NEW |