| 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 <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 | 234 |
| 235 // Informs the browser that |provider_id| is associated | 235 // Informs the browser that |provider_id| is associated |
| 236 // with a service worker script running context and | 236 // with a service worker script running context and |
| 237 // |version_id| identifies which ServiceWorkerVersion. | 237 // |version_id| identifies which ServiceWorkerVersion. |
| 238 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_SetVersionId, | 238 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_SetVersionId, |
| 239 int /* provider_id */, | 239 int /* provider_id */, |
| 240 int64_t /* version_id */) | 240 int64_t /* version_id */) |
| 241 | 241 |
| 242 // Informs the browser that event handling has finished. | 242 // Informs the browser that event handling has finished. |
| 243 // Routed to the target ServiceWorkerVersion. | 243 // Routed to the target ServiceWorkerVersion. |
| 244 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, | 244 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_InstallEventFinished, |
| 245 int /* request_id */, | 245 int /* request_id */, |
| 246 blink::WebServiceWorkerEventResult) | 246 blink::WebServiceWorkerEventResult, |
| 247 bool /* has_fetch_event_handler */) |
| 248 |
| 247 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, | 249 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, |
| 248 int /* request_id */, | 250 int /* request_id */, |
| 249 blink::WebServiceWorkerEventResult) | 251 blink::WebServiceWorkerEventResult) |
| 250 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ExtendableMessageEventFinished, | 252 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ExtendableMessageEventFinished, |
| 251 int /* request_id */, | 253 int /* request_id */, |
| 252 blink::WebServiceWorkerEventResult) | 254 blink::WebServiceWorkerEventResult) |
| 253 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, | 255 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, |
| 254 int /* request_id */, | 256 int /* request_id */, |
| 255 content::ServiceWorkerFetchEventResult, | 257 content::ServiceWorkerFetchEventResult, |
| 256 content::ServiceWorkerResponse) | 258 content::ServiceWorkerResponse) |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 | 520 |
| 519 // Sent via EmbeddedWorker as a response of NavigateClient. | 521 // Sent via EmbeddedWorker as a response of NavigateClient. |
| 520 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 522 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
| 521 int /* request_id */, | 523 int /* request_id */, |
| 522 content::ServiceWorkerClientInfo /* client */) | 524 content::ServiceWorkerClientInfo /* client */) |
| 523 | 525 |
| 524 // Sent via EmbeddedWorker as an error response of NavigateClient. | 526 // Sent via EmbeddedWorker as an error response of NavigateClient. |
| 525 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 527 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
| 526 int /* request_id */, | 528 int /* request_id */, |
| 527 GURL /* url */) | 529 GURL /* url */) |
| OLD | NEW |