| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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" |
| 11 #include "content/common/cache_storage/cache_storage_types.h" | 11 #include "content/common/cache_storage/cache_storage_types.h" |
| 12 #include "content/common/service_worker/service_worker_types.h" | 12 #include "content/common/service_worker/service_worker_types.h" |
| 13 #include "ipc/ipc_message_macros.h" | 13 #include "ipc/ipc_message_macros.h" |
| 14 #include "ipc/ipc_param_traits.h" | 14 #include "ipc/ipc_param_traits.h" |
| 15 #include "third_party/WebKit/public/platform/WebServiceWorkerCacheError.h" | 15 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerCacheError.h" |
| 16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 17 | 17 |
| 18 #undef IPC_MESSAGE_EXPORT | 18 #undef IPC_MESSAGE_EXPORT |
| 19 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 19 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 20 | 20 |
| 21 #define IPC_MESSAGE_START CacheStorageMsgStart | 21 #define IPC_MESSAGE_START CacheStorageMsgStart |
| 22 | 22 |
| 23 // TODO(jsbell): This depends on traits for content::ServiceWorkerResponse | 23 // TODO(jsbell): This depends on traits for content::ServiceWorkerResponse |
| 24 // which are defined in service_worker_messages.h - correct this implicit | 24 // which are defined in service_worker_messages.h - correct this implicit |
| 25 // cross-dependency. | 25 // cross-dependency. |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 int /* request_id */, | 188 int /* request_id */, |
| 189 blink::WebServiceWorkerCacheError) | 189 blink::WebServiceWorkerCacheError) |
| 190 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheKeysError, | 190 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheKeysError, |
| 191 int /* thread_id */, | 191 int /* thread_id */, |
| 192 int /* request_id */, | 192 int /* request_id */, |
| 193 blink::WebServiceWorkerCacheError) | 193 blink::WebServiceWorkerCacheError) |
| 194 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheBatchError, | 194 IPC_MESSAGE_CONTROL3(CacheStorageMsg_CacheBatchError, |
| 195 int /* thread_id */, | 195 int /* thread_id */, |
| 196 int /* request_id */, | 196 int /* request_id */, |
| 197 blink::WebServiceWorkerCacheError) | 197 blink::WebServiceWorkerCacheError) |
| OLD | NEW |