Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: content/common/appcache_messages.h

Issue 164933002: Expose details for appcache error events [Chromium] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/appcache_messages.h
diff --git a/content/common/appcache_messages.h b/content/common/appcache_messages.h
index df6de50e3de6354973ab061e71999b47b11ec6c4..564e2a4a32ef86c9b248fa9471341ec5634c0993 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_LAST)
IPC_STRUCT_TRAITS_BEGIN(appcache::AppCacheInfo)
IPC_STRUCT_TRAITS_MEMBER(manifest_url)
@@ -130,9 +131,12 @@ IPC_MESSAGE_CONTROL4(AppCacheMsg_ProgressEventRaised,
int /* complete */)
// Notifies the renderer of an AppCache error event.
-IPC_MESSAGE_CONTROL2(AppCacheMsg_ErrorEventRaised,
+IPC_MESSAGE_CONTROL5(AppCacheMsg_ErrorEventRaised,
std::vector<int> /* host_ids */,
- std::string /* error_message */)
+ std::string /* message */,
+ appcache::ErrorReason /* reason */,
+ GURL /* resource URL */,
+ int /* HTTP status */)
// Notifies the renderer of an AppCache logging message.
IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage,

Powered by Google App Engine
This is Rietveld 408576698