| 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_MAX_VALUE(appcache::EventID, appcache::EVENT_ID_LAST) | 12 IPC_ENUM_TRAITS_MAX_VALUE(appcache::EventID, appcache::EVENT_ID_LAST) |
| 13 IPC_ENUM_TRAITS_MAX_VALUE(appcache::Status, appcache::STATUS_LAST) | 13 IPC_ENUM_TRAITS_MAX_VALUE(appcache::Status, appcache::STATUS_LAST) |
| 14 IPC_ENUM_TRAITS_MAX_VALUE(appcache::ErrorReason, appcache::ERROR_LAST) |
| 14 | 15 |
| 15 IPC_STRUCT_TRAITS_BEGIN(appcache::AppCacheInfo) | 16 IPC_STRUCT_TRAITS_BEGIN(appcache::AppCacheInfo) |
| 16 IPC_STRUCT_TRAITS_MEMBER(manifest_url) | 17 IPC_STRUCT_TRAITS_MEMBER(manifest_url) |
| 17 IPC_STRUCT_TRAITS_MEMBER(creation_time) | 18 IPC_STRUCT_TRAITS_MEMBER(creation_time) |
| 18 IPC_STRUCT_TRAITS_MEMBER(last_update_time) | 19 IPC_STRUCT_TRAITS_MEMBER(last_update_time) |
| 19 IPC_STRUCT_TRAITS_MEMBER(last_access_time) | 20 IPC_STRUCT_TRAITS_MEMBER(last_access_time) |
| 20 IPC_STRUCT_TRAITS_MEMBER(cache_id) | 21 IPC_STRUCT_TRAITS_MEMBER(cache_id) |
| 21 IPC_STRUCT_TRAITS_MEMBER(group_id) | 22 IPC_STRUCT_TRAITS_MEMBER(group_id) |
| 22 IPC_STRUCT_TRAITS_MEMBER(status) | 23 IPC_STRUCT_TRAITS_MEMBER(status) |
| 23 IPC_STRUCT_TRAITS_MEMBER(size) | 24 IPC_STRUCT_TRAITS_MEMBER(size) |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 appcache::EventID) | 124 appcache::EventID) |
| 124 | 125 |
| 125 // Notifies the renderer of an AppCache progress event. | 126 // Notifies the renderer of an AppCache progress event. |
| 126 IPC_MESSAGE_CONTROL4(AppCacheMsg_ProgressEventRaised, | 127 IPC_MESSAGE_CONTROL4(AppCacheMsg_ProgressEventRaised, |
| 127 std::vector<int> /* host_ids */, | 128 std::vector<int> /* host_ids */, |
| 128 GURL /* url being processed */, | 129 GURL /* url being processed */, |
| 129 int /* total */, | 130 int /* total */, |
| 130 int /* complete */) | 131 int /* complete */) |
| 131 | 132 |
| 132 // Notifies the renderer of an AppCache error event. | 133 // Notifies the renderer of an AppCache error event. |
| 133 IPC_MESSAGE_CONTROL2(AppCacheMsg_ErrorEventRaised, | 134 IPC_MESSAGE_CONTROL5(AppCacheMsg_ErrorEventRaised, |
| 134 std::vector<int> /* host_ids */, | 135 std::vector<int> /* host_ids */, |
| 135 std::string /* error_message */) | 136 std::string /* message */, |
| 137 appcache::ErrorReason /* reason */, |
| 138 GURL /* resource URL */, |
| 139 int /* HTTP status */) |
| 136 | 140 |
| 137 // Notifies the renderer of an AppCache logging message. | 141 // Notifies the renderer of an AppCache logging message. |
| 138 IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage, | 142 IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage, |
| 139 int /* host_id */, | 143 int /* host_id */, |
| 140 int /* log_level */, | 144 int /* log_level */, |
| 141 std::string /* message */) | 145 std::string /* message */) |
| 142 | 146 |
| 143 // Notifies the renderer of the fact that AppCache access was blocked. | 147 // Notifies the renderer of the fact that AppCache access was blocked. |
| 144 IPC_MESSAGE_CONTROL2(AppCacheMsg_ContentBlocked, | 148 IPC_MESSAGE_CONTROL2(AppCacheMsg_ContentBlocked, |
| 145 int /* host_id */, | 149 int /* host_id */, |
| 146 GURL /* manifest_url */) | 150 GURL /* manifest_url */) |
| OLD | NEW |