| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 base::string16 /* fetch_store_name */) | 194 base::string16 /* fetch_store_name */) |
| 195 | 195 |
| 196 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageHas, | 196 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageHas, |
| 197 int /* request_id */, | 197 int /* request_id */, |
| 198 base::string16 /* fetch_store_name */) | 198 base::string16 /* fetch_store_name */) |
| 199 | 199 |
| 200 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageCreate, | 200 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageCreate, |
| 201 int /* request_id */, | 201 int /* request_id */, |
| 202 base::string16 /* fetch_store_name */) | 202 base::string16 /* fetch_store_name */) |
| 203 | 203 |
| 204 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageOpen, |
| 205 int /* request_id */, |
| 206 base::string16 /* fetch_store_name */) |
| 207 |
| 204 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageDelete, | 208 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageDelete, |
| 205 int /* request_id */, | 209 int /* request_id */, |
| 206 base::string16 /* fetch_store_name */) | 210 base::string16 /* fetch_store_name */) |
| 207 | 211 |
| 208 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_CacheStorageKeys, | 212 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_CacheStorageKeys, |
| 209 int /* request_id */) | 213 int /* request_id */) |
| 210 | 214 |
| 211 // Cache operations in the browser. | 215 // Cache operations in the browser. |
| 212 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_CacheMatch, | 216 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_CacheMatch, |
| 213 int /* request_id */, | 217 int /* request_id */, |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 | 366 |
| 363 // Sent via EmbeddedWorker at successful completion of CacheStorage operations. | 367 // Sent via EmbeddedWorker at successful completion of CacheStorage operations. |
| 364 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageGetSuccess, | 368 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageGetSuccess, |
| 365 int /* request_id */, | 369 int /* request_id */, |
| 366 int /* fetch_store_id */) | 370 int /* fetch_store_id */) |
| 367 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_CacheStorageHasSuccess, | 371 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_CacheStorageHasSuccess, |
| 368 int /* request_id */) | 372 int /* request_id */) |
| 369 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateSuccess, | 373 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateSuccess, |
| 370 int /* request_id */, | 374 int /* request_id */, |
| 371 int /* fetch_store_id */) | 375 int /* fetch_store_id */) |
| 376 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageOpenSuccess, |
| 377 int /* request_id */, |
| 378 int /* fetch_store_id */) |
| 372 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_CacheStorageDeleteSuccess, | 379 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_CacheStorageDeleteSuccess, |
| 373 int /* request_id */) | 380 int /* request_id */) |
| 374 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysSuccess, | 381 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysSuccess, |
| 375 int /* request_id */, | 382 int /* request_id */, |
| 376 std::vector<base::string16> /* keys */) | 383 std::vector<base::string16> /* keys */) |
| 377 | 384 |
| 378 // Sent via EmbeddedWorker at erroneous completion of CacheStorage operations. | 385 // Sent via EmbeddedWorker at erroneous completion of CacheStorage operations. |
| 379 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageGetError, | 386 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageGetError, |
| 380 int /* request_id */, | 387 int /* request_id */, |
| 381 blink::WebServiceWorkerCacheError /* reason */) | 388 blink::WebServiceWorkerCacheError /* reason */) |
| 382 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageHasError, | 389 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageHasError, |
| 383 int /* request_id */, | 390 int /* request_id */, |
| 384 blink::WebServiceWorkerCacheError /* reason */) | 391 blink::WebServiceWorkerCacheError /* reason */) |
| 385 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateError, | 392 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateError, |
| 386 int /* request_id */, | 393 int /* request_id */, |
| 387 blink::WebServiceWorkerCacheError /* reason */) | 394 blink::WebServiceWorkerCacheError /* reason */) |
| 395 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageOpenError, |
| 396 int /* request_id */, |
| 397 blink::WebServiceWorkerCacheError /* reason */) |
| 388 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageDeleteError, | 398 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageDeleteError, |
| 389 int /* request_id */, | 399 int /* request_id */, |
| 390 blink::WebServiceWorkerCacheError /* reason */) | 400 blink::WebServiceWorkerCacheError /* reason */) |
| 391 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysError, | 401 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysError, |
| 392 int /* request_id */, | 402 int /* request_id */, |
| 393 blink::WebServiceWorkerCacheError /* reason */) | 403 blink::WebServiceWorkerCacheError /* reason */) |
| 394 | 404 |
| 395 // Sent via EmbeddedWorker at successful completion of Cache operations. | 405 // Sent via EmbeddedWorker at successful completion of Cache operations. |
| 396 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchSuccess, | 406 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchSuccess, |
| 397 int /* request_id */, | 407 int /* request_id */, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 412 blink::WebServiceWorkerCacheError) | 422 blink::WebServiceWorkerCacheError) |
| 413 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, | 423 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, |
| 414 int /* request_id */, | 424 int /* request_id */, |
| 415 blink::WebServiceWorkerCacheError) | 425 blink::WebServiceWorkerCacheError) |
| 416 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, | 426 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, |
| 417 int /* request_id */, | 427 int /* request_id */, |
| 418 blink::WebServiceWorkerCacheError) | 428 blink::WebServiceWorkerCacheError) |
| 419 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, | 429 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, |
| 420 int /* request_id */, | 430 int /* request_id */, |
| 421 blink::WebServiceWorkerCacheError) | 431 blink::WebServiceWorkerCacheError) |
| OLD | NEW |