| 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/common/appcache/appcache_interfaces.h" | 8 #include "webkit/common/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_MAX_VALUE(appcache::EventID, appcache::EVENT_ID_LAST) |
| 13 IPC_ENUM_TRAITS(appcache::Status) | 13 IPC_ENUM_TRAITS_MAX_VALUE(appcache::Status, appcache::STATUS_LAST) |
| 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(group_id) |
| 22 IPC_STRUCT_TRAITS_MEMBER(status) | 22 IPC_STRUCT_TRAITS_MEMBER(status) |
| 23 IPC_STRUCT_TRAITS_MEMBER(size) | 23 IPC_STRUCT_TRAITS_MEMBER(size) |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 // Notifies the renderer of an AppCache logging message. | 137 // Notifies the renderer of an AppCache logging message. |
| 138 IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage, | 138 IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage, |
| 139 int /* host_id */, | 139 int /* host_id */, |
| 140 int /* log_level */, | 140 int /* log_level */, |
| 141 std::string /* message */) | 141 std::string /* message */) |
| 142 | 142 |
| 143 // Notifies the renderer of the fact that AppCache access was blocked. | 143 // Notifies the renderer of the fact that AppCache access was blocked. |
| 144 IPC_MESSAGE_CONTROL2(AppCacheMsg_ContentBlocked, | 144 IPC_MESSAGE_CONTROL2(AppCacheMsg_ContentBlocked, |
| 145 int /* host_id */, | 145 int /* host_id */, |
| 146 GURL /* manifest_url */) | 146 GURL /* manifest_url */) |
| OLD | NEW |