| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 std::string /* uuid */) | 293 std::string /* uuid */) |
| 294 | 294 |
| 295 //--------------------------------------------------------------------------- | 295 //--------------------------------------------------------------------------- |
| 296 // Messages sent from the browser to the child process. | 296 // Messages sent from the browser to the child process. |
| 297 // | 297 // |
| 298 // NOTE: All ServiceWorkerMsg messages not sent via EmbeddedWorker must have | 298 // NOTE: All ServiceWorkerMsg messages not sent via EmbeddedWorker must have |
| 299 // a thread_id as their first field so that ServiceWorkerMessageFilter can | 299 // a thread_id as their first field so that ServiceWorkerMessageFilter can |
| 300 // extract it and dispatch the message to the correct ServiceWorkerDispatcher | 300 // extract it and dispatch the message to the correct ServiceWorkerDispatcher |
| 301 // on the correct thread. | 301 // on the correct thread. |
| 302 | 302 |
| 303 // Informs the child process of the registration associated with the service |
| 304 // worker. |
| 305 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_AssociateRegistrationWithServiceWorker, |
| 306 int /* thread_id*/, |
| 307 int /* provider_id */, |
| 308 content::ServiceWorkerRegistrationObjectInfo, |
| 309 content::ServiceWorkerVersionAttributes) |
| 310 |
| 303 // Informs the child process that the given provider gets associated or | 311 // Informs the child process that the given provider gets associated or |
| 304 // disassociated with the registration. | 312 // disassociated with the registration. |
| 305 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_AssociateRegistration, | 313 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_AssociateRegistration, |
| 306 int /* thread_id */, | 314 int /* thread_id */, |
| 307 int /* provider_id */, | 315 int /* provider_id */, |
| 308 content::ServiceWorkerRegistrationObjectInfo, | 316 content::ServiceWorkerRegistrationObjectInfo, |
| 309 content::ServiceWorkerVersionAttributes) | 317 content::ServiceWorkerVersionAttributes) |
| 310 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DisassociateRegistration, | 318 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DisassociateRegistration, |
| 311 int /* thread_id */, | 319 int /* thread_id */, |
| 312 int /* provider_id */) | 320 int /* provider_id */) |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 blink::WebServiceWorkerCacheError) | 506 blink::WebServiceWorkerCacheError) |
| 499 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, | 507 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, |
| 500 int /* request_id */, | 508 int /* request_id */, |
| 501 blink::WebServiceWorkerCacheError) | 509 blink::WebServiceWorkerCacheError) |
| 502 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, | 510 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, |
| 503 int /* request_id */, | 511 int /* request_id */, |
| 504 blink::WebServiceWorkerCacheError) | 512 blink::WebServiceWorkerCacheError) |
| 505 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, | 513 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, |
| 506 int /* request_id */, | 514 int /* request_id */, |
| 507 blink::WebServiceWorkerCacheError) | 515 blink::WebServiceWorkerCacheError) |
| OLD | NEW |