Index: content/common/appcache_messages.h |
diff --git a/content/common/appcache_messages.h b/content/common/appcache_messages.h |
index df6de50e3de6354973ab061e71999b47b11ec6c4..173bbefa51b9d1261a7c02a762a926365d0b234a 100644 |
--- a/content/common/appcache_messages.h |
+++ b/content/common/appcache_messages.h |
@@ -11,6 +11,7 @@ |
IPC_ENUM_TRAITS_MAX_VALUE(appcache::EventID, appcache::EVENT_ID_LAST) |
IPC_ENUM_TRAITS_MAX_VALUE(appcache::Status, appcache::STATUS_LAST) |
+IPC_ENUM_TRAITS_MAX_VALUE(appcache::ErrorReason, appcache::ERROR_REASON_LAST) |
IPC_STRUCT_TRAITS_BEGIN(appcache::AppCacheInfo) |
IPC_STRUCT_TRAITS_MEMBER(manifest_url) |
@@ -34,6 +35,14 @@ IPC_STRUCT_TRAITS_BEGIN(appcache::AppCacheResourceInfo) |
IPC_STRUCT_TRAITS_MEMBER(is_explicit) |
IPC_STRUCT_TRAITS_END() |
+IPC_STRUCT_TRAITS_BEGIN(appcache::ErrorDetails) |
+IPC_STRUCT_TRAITS_MEMBER(message) |
+IPC_STRUCT_TRAITS_MEMBER(reason) |
+IPC_STRUCT_TRAITS_MEMBER(url) |
+IPC_STRUCT_TRAITS_MEMBER(status) |
+IPC_STRUCT_TRAITS_MEMBER(is_cross_origin) |
+IPC_STRUCT_TRAITS_END() |
+ |
// AppCache messages sent from the child process to the browser. |
// Informs the browser of a new appcache host. |
@@ -132,7 +141,7 @@ IPC_MESSAGE_CONTROL4(AppCacheMsg_ProgressEventRaised, |
// Notifies the renderer of an AppCache error event. |
IPC_MESSAGE_CONTROL2(AppCacheMsg_ErrorEventRaised, |
std::vector<int> /* host_ids */, |
- std::string /* error_message */) |
+ appcache::ErrorDetails) |
// Notifies the renderer of an AppCache logging message. |
IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage, |