| 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_IncrementRegistrationRefCount, | 237 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_IncrementRegistrationRefCount, |
| 238 int /* registration_handle_id */) | 238 int /* registration_handle_id */) |
| 239 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_DecrementRegistrationRefCount, | 239 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_DecrementRegistrationRefCount, |
| 240 int /* registration_handle_id */) | 240 int /* registration_handle_id */) |
| 241 | 241 |
| 242 // Tells the browser to terminate a service worker. Used in layout tests to | 242 // Tells the browser to terminate a service worker. Used in layout tests to |
| 243 // verify behavior when a service worker isn't running. | 243 // verify behavior when a service worker isn't running. |
| 244 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_TerminateWorker, | 244 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_TerminateWorker, |
| 245 int /* handle_id */) | 245 int /* handle_id */) |
| 246 | 246 |
| 247 // Informs the browser that |provider_id| is associated | 247 // Informs the browser that a service worker is starting up in a provider. |
| 248 // with a service worker script running context and | 248 // |provider_id| identifies the ServiceWorkerProviderHost hosting the service |
| 249 // |version_id| identifies which ServiceWorkerVersion. | 249 // worker. |version_id| identifies the ServiceWorkerVersion and |
| 250 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_SetVersionId, | 250 // |embedded_worker_id| identifies the EmbeddedWorkerInstance. |
| 251 IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_SetVersionId, |
| 251 int /* provider_id */, | 252 int /* provider_id */, |
| 252 int64_t /* version_id */) | 253 int64_t /* version_id */, |
| 254 int /* embedded_worker_id */) |
| 253 | 255 |
| 254 // Informs the browser that event handling has finished. | 256 // Informs the browser that event handling has finished. |
| 255 // Routed to the target ServiceWorkerVersion. | 257 // Routed to the target ServiceWorkerVersion. |
| 256 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_InstallEventFinished, | 258 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_InstallEventFinished, |
| 257 int /* request_id */, | 259 int /* request_id */, |
| 258 blink::WebServiceWorkerEventResult, | 260 blink::WebServiceWorkerEventResult, |
| 259 bool /* has_fetch_event_handler */) | 261 bool /* has_fetch_event_handler */) |
| 260 | 262 |
| 261 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, | 263 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, |
| 262 int /* request_id */, | 264 int /* request_id */, |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 536 | 538 |
| 537 // Sent via EmbeddedWorker as a response of NavigateClient. | 539 // Sent via EmbeddedWorker as a response of NavigateClient. |
| 538 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 540 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
| 539 int /* request_id */, | 541 int /* request_id */, |
| 540 content::ServiceWorkerClientInfo /* client */) | 542 content::ServiceWorkerClientInfo /* client */) |
| 541 | 543 |
| 542 // Sent via EmbeddedWorker as an error response of NavigateClient. | 544 // Sent via EmbeddedWorker as an error response of NavigateClient. |
| 543 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 545 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
| 544 int /* request_id */, | 546 int /* request_id */, |
| 545 GURL /* url */) | 547 GURL /* url */) |
| OLD | NEW |