| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 // on the correct thread. | 185 // on the correct thread. |
| 186 | 186 |
| 187 // Response to ServiceWorkerMsg_RegisterServiceWorker. | 187 // Response to ServiceWorkerMsg_RegisterServiceWorker. |
| 188 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistered, | 188 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistered, |
| 189 int /* thread_id */, | 189 int /* thread_id */, |
| 190 int /* request_id */, | 190 int /* request_id */, |
| 191 content::ServiceWorkerRegistrationObjectInfo, | 191 content::ServiceWorkerRegistrationObjectInfo, |
| 192 content::ServiceWorkerVersionAttributes) | 192 content::ServiceWorkerVersionAttributes) |
| 193 | 193 |
| 194 // Response to ServiceWorkerMsg_UnregisterServiceWorker. | 194 // Response to ServiceWorkerMsg_UnregisterServiceWorker. |
| 195 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerUnregistered, | 195 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerUnregistered, |
| 196 int /* thread_id */, | 196 int /* thread_id */, |
| 197 int /* request_id */) | 197 int /* request_id */, |
| 198 bool /* is_success */) |
| 198 | 199 |
| 199 // Sent when any kind of registration error occurs during a | 200 // Sent when any kind of registration error occurs during a |
| 200 // RegisterServiceWorker handler above. | 201 // RegisterServiceWorker handler above. |
| 201 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError, | 202 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError, |
| 202 int /* thread_id */, | 203 int /* thread_id */, |
| 203 int /* request_id */, | 204 int /* request_id */, |
| 204 blink::WebServiceWorkerError::ErrorType /* code */, | 205 blink::WebServiceWorkerError::ErrorType /* code */, |
| 205 base::string16 /* message */) | 206 base::string16 /* message */) |
| 206 | 207 |
| 207 // Sent when any kind of registration error occurs during a | 208 // Sent when any kind of registration error occurs during a |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 blink::WebServiceWorkerCacheError /* reason */) | 296 blink::WebServiceWorkerCacheError /* reason */) |
| 296 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateError, | 297 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateError, |
| 297 int /* request_id */, | 298 int /* request_id */, |
| 298 blink::WebServiceWorkerCacheError /* reason */) | 299 blink::WebServiceWorkerCacheError /* reason */) |
| 299 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageDeleteError, | 300 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageDeleteError, |
| 300 int /* request_id */, | 301 int /* request_id */, |
| 301 blink::WebServiceWorkerCacheError /* reason */) | 302 blink::WebServiceWorkerCacheError /* reason */) |
| 302 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysError, | 303 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysError, |
| 303 int /* request_id */, | 304 int /* request_id */, |
| 304 blink::WebServiceWorkerCacheError /* reason */) | 305 blink::WebServiceWorkerCacheError /* reason */) |
| OLD | NEW |