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

Unified Diff: chrome/common/appcache/appcache_dispatcher.cc

Issue 2910007: Report an error message when an update job results in an error. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
« no previous file with comments | « chrome/common/appcache/appcache_dispatcher.h ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/appcache/appcache_dispatcher.cc
===================================================================
--- chrome/common/appcache/appcache_dispatcher.cc (revision 52160)
+++ chrome/common/appcache/appcache_dispatcher.cc (working copy)
@@ -14,6 +14,7 @@
IPC_MESSAGE_HANDLER(AppCacheMsg_StatusChanged, OnStatusChanged)
IPC_MESSAGE_HANDLER(AppCacheMsg_EventRaised, OnEventRaised)
IPC_MESSAGE_HANDLER(AppCacheMsg_ProgressEventRaised, OnProgressEventRaised)
+ IPC_MESSAGE_HANDLER(AppCacheMsg_ErrorEventRaised, OnErrorEventRaised)
IPC_MESSAGE_HANDLER(AppCacheMsg_LogMessage, OnLogMessage)
IPC_MESSAGE_HANDLER(AppCacheMsg_ContentBlocked, OnContentBlocked)
IPC_MESSAGE_UNHANDLED(handled = false)
@@ -42,6 +43,12 @@
frontend_impl_.OnProgressEventRaised(host_ids, url, num_total, num_complete);
}
+void AppCacheDispatcher::OnErrorEventRaised(
+ const std::vector<int>& host_ids,
+ const std::string& message) {
+ frontend_impl_.OnErrorEventRaised(host_ids, message);
+}
+
void AppCacheDispatcher::OnLogMessage(
int host_id, int log_level, const std::string& message) {
frontend_impl_.OnLogMessage(
« no previous file with comments | « chrome/common/appcache/appcache_dispatcher.h ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698