OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "base/strings/string16.h" | 7 #include "base/strings/string16.h" |
8 #include "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
9 #include "ipc/ipc_param_traits.h" | 9 #include "ipc/ipc_param_traits.h" |
10 #include "url/gurl.h" | 10 #include "url/gurl.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerRegistered, | 32 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerRegistered, |
33 int32 /* thread_id */, | 33 int32 /* thread_id */, |
34 int32 /* request_id */, | 34 int32 /* request_id */, |
35 int32 /* service_worker_id */) | 35 int32 /* service_worker_id */) |
36 | 36 |
37 // Response to ServiceWorkerMsg_UnregisterServiceWorker | 37 // Response to ServiceWorkerMsg_UnregisterServiceWorker |
38 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerUnregistered, | 38 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerUnregistered, |
39 int32 /* thread_id */, | 39 int32 /* thread_id */, |
40 int32 /* request_id */, | 40 int32 /* request_id */, |
41 int32 /* service_worker_id */) | 41 int32 /* service_worker_id */) |
| 42 |
| 43 // Any kind of registration error from RegisterServiceWorker / |
| 44 // UnregisterServiceWorker above. This can expand to include the |
| 45 // actual reason for the error, or even be split if there is a |
| 46 // significant difference between registration and unregistration |
| 47 // errors. |
| 48 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerRegistrationError, |
| 49 int32 /* thread_id */, |
| 50 int32 /* request_id */) |
OLD | NEW |