| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Multiply-included message file, hence no include guard. | 5 // Multiply-included message file, hence no include guard. |
| 6 | 6 |
| 7 #include "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
| 8 #include "webkit/appcache/appcache_interfaces.h" | 8 #include "webkit/appcache/appcache_interfaces.h" |
| 9 | 9 |
| 10 #define IPC_MESSAGE_START AppCacheMsgStart | 10 #define IPC_MESSAGE_START AppCacheMsgStart |
| 11 | 11 |
| 12 IPC_ENUM_TRAITS(appcache::EventID) | 12 IPC_ENUM_TRAITS(appcache::EventID) |
| 13 IPC_ENUM_TRAITS(appcache::Status) | 13 IPC_ENUM_TRAITS(appcache::Status) |
| 14 | 14 |
| 15 IPC_STRUCT_TRAITS_BEGIN(appcache::AppCacheInfo) | 15 IPC_STRUCT_TRAITS_BEGIN(appcache::AppCacheInfo) |
| 16 IPC_STRUCT_TRAITS_MEMBER(manifest_url) | 16 IPC_STRUCT_TRAITS_MEMBER(manifest_url) |
| 17 IPC_STRUCT_TRAITS_MEMBER(creation_time) | 17 IPC_STRUCT_TRAITS_MEMBER(creation_time) |
| 18 IPC_STRUCT_TRAITS_MEMBER(last_update_time) | 18 IPC_STRUCT_TRAITS_MEMBER(last_update_time) |
| 19 IPC_STRUCT_TRAITS_MEMBER(last_access_time) | 19 IPC_STRUCT_TRAITS_MEMBER(last_access_time) |
| 20 IPC_STRUCT_TRAITS_MEMBER(cache_id) | 20 IPC_STRUCT_TRAITS_MEMBER(cache_id) |
| 21 IPC_STRUCT_TRAITS_MEMBER(group_id) |
| 21 IPC_STRUCT_TRAITS_MEMBER(status) | 22 IPC_STRUCT_TRAITS_MEMBER(status) |
| 22 IPC_STRUCT_TRAITS_MEMBER(size) | 23 IPC_STRUCT_TRAITS_MEMBER(size) |
| 23 IPC_STRUCT_TRAITS_MEMBER(is_complete) | 24 IPC_STRUCT_TRAITS_MEMBER(is_complete) |
| 24 IPC_STRUCT_TRAITS_END() | 25 IPC_STRUCT_TRAITS_END() |
| 25 | 26 |
| 26 IPC_STRUCT_TRAITS_BEGIN(appcache::AppCacheResourceInfo) | 27 IPC_STRUCT_TRAITS_BEGIN(appcache::AppCacheResourceInfo) |
| 27 IPC_STRUCT_TRAITS_MEMBER(url) | 28 IPC_STRUCT_TRAITS_MEMBER(url) |
| 28 IPC_STRUCT_TRAITS_MEMBER(size) | 29 IPC_STRUCT_TRAITS_MEMBER(size) |
| 29 IPC_STRUCT_TRAITS_MEMBER(is_master) | 30 IPC_STRUCT_TRAITS_MEMBER(is_master) |
| 30 IPC_STRUCT_TRAITS_MEMBER(is_manifest) | 31 IPC_STRUCT_TRAITS_MEMBER(is_manifest) |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 // Notifies the renderer of an AppCache logging message. | 137 // Notifies the renderer of an AppCache logging message. |
| 137 IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage, | 138 IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage, |
| 138 int /* host_id */, | 139 int /* host_id */, |
| 139 int /* log_level */, | 140 int /* log_level */, |
| 140 std::string /* message */) | 141 std::string /* message */) |
| 141 | 142 |
| 142 // Notifies the renderer of the fact that AppCache access was blocked. | 143 // Notifies the renderer of the fact that AppCache access was blocked. |
| 143 IPC_MESSAGE_CONTROL2(AppCacheMsg_ContentBlocked, | 144 IPC_MESSAGE_CONTROL2(AppCacheMsg_ContentBlocked, |
| 144 int /* host_id */, | 145 int /* host_id */, |
| 145 GURL /* manifest_url */) | 146 GURL /* manifest_url */) |
| OLD | NEW |