| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 IPC_STRUCT_TRAITS_MEMBER(headers) | 70 IPC_STRUCT_TRAITS_MEMBER(headers) |
| 71 IPC_STRUCT_TRAITS_MEMBER(blob_uuid) | 71 IPC_STRUCT_TRAITS_MEMBER(blob_uuid) |
| 72 IPC_STRUCT_TRAITS_MEMBER(blob_size) | 72 IPC_STRUCT_TRAITS_MEMBER(blob_size) |
| 73 IPC_STRUCT_TRAITS_MEMBER(stream_url) | 73 IPC_STRUCT_TRAITS_MEMBER(stream_url) |
| 74 IPC_STRUCT_TRAITS_END() | 74 IPC_STRUCT_TRAITS_END() |
| 75 | 75 |
| 76 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerObjectInfo) | 76 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerObjectInfo) |
| 77 IPC_STRUCT_TRAITS_MEMBER(handle_id) | 77 IPC_STRUCT_TRAITS_MEMBER(handle_id) |
| 78 IPC_STRUCT_TRAITS_MEMBER(url) | 78 IPC_STRUCT_TRAITS_MEMBER(url) |
| 79 IPC_STRUCT_TRAITS_MEMBER(state) | 79 IPC_STRUCT_TRAITS_MEMBER(state) |
| 80 IPC_STRUCT_TRAITS_MEMBER(version_id) | 80 IPC_STRUCT_TRAITS_MEMBER(version_uuid) |
| 81 IPC_STRUCT_TRAITS_END() | 81 IPC_STRUCT_TRAITS_END() |
| 82 | 82 |
| 83 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerRegistrationObjectInfo) | 83 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerRegistrationObjectInfo) |
| 84 IPC_STRUCT_TRAITS_MEMBER(handle_id) | 84 IPC_STRUCT_TRAITS_MEMBER(handle_id) |
| 85 IPC_STRUCT_TRAITS_MEMBER(scope) | 85 IPC_STRUCT_TRAITS_MEMBER(scope) |
| 86 IPC_STRUCT_TRAITS_MEMBER(registration_id) | 86 IPC_STRUCT_TRAITS_MEMBER(registration_id) |
| 87 IPC_STRUCT_TRAITS_END() | 87 IPC_STRUCT_TRAITS_END() |
| 88 | 88 |
| 89 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerVersionAttributes) | 89 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerVersionAttributes) |
| 90 IPC_STRUCT_TRAITS_MEMBER(installing) | 90 IPC_STRUCT_TRAITS_MEMBER(installing) |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_DecrementRegistrationRefCount, | 185 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_DecrementRegistrationRefCount, |
| 186 int /* registration_handle_id */) | 186 int /* registration_handle_id */) |
| 187 | 187 |
| 188 // Tells the browser to terminate a service worker. Used in layout tests to | 188 // Tells the browser to terminate a service worker. Used in layout tests to |
| 189 // verify behavior when a service worker isn't running. | 189 // verify behavior when a service worker isn't running. |
| 190 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_TerminateWorker, | 190 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_TerminateWorker, |
| 191 int /* handle_id */) | 191 int /* handle_id */) |
| 192 | 192 |
| 193 // Informs the browser that |provider_id| is associated | 193 // Informs the browser that |provider_id| is associated |
| 194 // with a service worker script running context and | 194 // with a service worker script running context and |
| 195 // |version_id| identifies which ServiceWorkerVersion. | 195 // |version_uuid| identifies which ServiceWorkerVersion. |
| 196 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_SetVersionId, | 196 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_SetVersionId, |
| 197 int /* provider_id */, | 197 int /* provider_id */, |
| 198 int64 /* version_id */) | 198 std::string /* version_uuid */) |
| 199 | 199 |
| 200 // Informs the browser that event handling has finished. | 200 // Informs the browser that event handling has finished. |
| 201 // Routed to the target ServiceWorkerVersion. | 201 // Routed to the target ServiceWorkerVersion. |
| 202 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, | 202 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, |
| 203 int /* request_id */, | 203 int /* request_id */, |
| 204 blink::WebServiceWorkerEventResult) | 204 blink::WebServiceWorkerEventResult) |
| 205 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, | 205 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, |
| 206 int /* request_id */, | 206 int /* request_id */, |
| 207 blink::WebServiceWorkerEventResult) | 207 blink::WebServiceWorkerEventResult) |
| 208 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, | 208 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, | 470 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, |
| 471 int /* request_id */, | 471 int /* request_id */, |
| 472 content::ServiceWorkerClientInfo /* client */) | 472 content::ServiceWorkerClientInfo /* client */) |
| 473 | 473 |
| 474 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. | 474 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. |
| 475 IPC_MESSAGE_CONTROL3( | 475 IPC_MESSAGE_CONTROL3( |
| 476 ServiceWorkerMsg_SendStashedMessagePorts, | 476 ServiceWorkerMsg_SendStashedMessagePorts, |
| 477 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, | 477 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, |
| 478 std::vector<int> /* new_routing_ids */, | 478 std::vector<int> /* new_routing_ids */, |
| 479 std::vector<base::string16> /* port_names */) | 479 std::vector<base::string16> /* port_names */) |
| OLD | NEW |