| 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" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 IPC_STRUCT_TRAITS_MEMBER(active) | 101 IPC_STRUCT_TRAITS_MEMBER(active) |
| 102 IPC_STRUCT_TRAITS_END() | 102 IPC_STRUCT_TRAITS_END() |
| 103 | 103 |
| 104 IPC_ENUM_TRAITS_MAX_VALUE( | 104 IPC_ENUM_TRAITS_MAX_VALUE( |
| 105 blink::WebServiceWorkerCacheError, | 105 blink::WebServiceWorkerCacheError, |
| 106 blink::WebServiceWorkerCacheErrorLast) | 106 blink::WebServiceWorkerCacheErrorLast) |
| 107 | 107 |
| 108 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebGeofencingEventType, | 108 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebGeofencingEventType, |
| 109 blink::WebGeofencingEventTypeLast) | 109 blink::WebGeofencingEventTypeLast) |
| 110 | 110 |
| 111 IPC_STRUCT_TRAITS_BEGIN(content::CrossOriginServiceWorkerClient) |
| 112 IPC_STRUCT_TRAITS_MEMBER(target_url) |
| 113 IPC_STRUCT_TRAITS_MEMBER(message_port_id) |
| 114 IPC_STRUCT_TRAITS_END() |
| 115 |
| 111 //--------------------------------------------------------------------------- | 116 //--------------------------------------------------------------------------- |
| 112 // Messages sent from the child process to the browser. | 117 // Messages sent from the child process to the browser. |
| 113 | 118 |
| 114 IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_RegisterServiceWorker, | 119 IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_RegisterServiceWorker, |
| 115 int /* thread_id */, | 120 int /* thread_id */, |
| 116 int /* request_id */, | 121 int /* request_id */, |
| 117 int /* provider_id */, | 122 int /* provider_id */, |
| 118 GURL /* scope */, | 123 GURL /* scope */, |
| 119 GURL /* script_url */) | 124 GURL /* script_url */) |
| 120 | 125 |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 blink::WebServiceWorkerCacheError) | 433 blink::WebServiceWorkerCacheError) |
| 429 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, | 434 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, |
| 430 int /* request_id */, | 435 int /* request_id */, |
| 431 blink::WebServiceWorkerCacheError) | 436 blink::WebServiceWorkerCacheError) |
| 432 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, | 437 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, |
| 433 int /* request_id */, | 438 int /* request_id */, |
| 434 blink::WebServiceWorkerCacheError) | 439 blink::WebServiceWorkerCacheError) |
| 435 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, | 440 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, |
| 436 int /* request_id */, | 441 int /* request_id */, |
| 437 blink::WebServiceWorkerCacheError) | 442 blink::WebServiceWorkerCacheError) |
| 443 |
| 444 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_NavigatorConnect, |
| 445 int /* thread_id */, |
| 446 int /* request_id */, |
| 447 GURL /* target_url */, |
| 448 int /* message_port_id */) |
| 449 |
| 450 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NavigatorConnectResult, |
| 451 int /* thread_id */, |
| 452 int /* request_id */, |
| 453 bool /* allow_connect */) |
| 454 |
| 455 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CrossOriginConnectEvent, |
| 456 int /* request_id */, |
| 457 content::CrossOriginServiceWorkerClient /* client */) |
| 458 |
| 459 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished, |
| 460 int /* request_id */, |
| 461 bool /* allow_connect */) |
| 462 |
| 463 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_CrossOriginMessageToWorker, |
| 464 content::CrossOriginServiceWorkerClient /* client */, |
| 465 base::string16 /* message */, |
| 466 std::vector<int> /* sent_message_port_ids */, |
| 467 std::vector<int> /* new_routing_ids */) |
| OLD | NEW |