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

Unified Diff: content/child/appcache/appcache_frontend_impl.cc

Issue 164933002: Expose details for appcache error events [Chromium] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-up 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/child/appcache/appcache_frontend_impl.cc
diff --git a/content/child/appcache/appcache_frontend_impl.cc b/content/child/appcache/appcache_frontend_impl.cc
index d34be9b7c42d083414345de38e429dcdac11723c..8633d8a824d3ef06515d6831297d782e9fddcd9d 100644
--- a/content/child/appcache/appcache_frontend_impl.cc
+++ b/content/child/appcache/appcache_frontend_impl.cc
@@ -61,12 +61,15 @@ void AppCacheFrontendImpl::OnProgressEventRaised(
}
void AppCacheFrontendImpl::OnErrorEventRaised(const std::vector<int>& host_ids,
- const std::string& message) {
+ const std::string& message,
+ const std::string& reason,
+ const GURL& url,
+ int status) {
for (std::vector<int>::const_iterator i = host_ids.begin();
i != host_ids.end(); ++i) {
WebApplicationCacheHostImpl* host = GetHost(*i);
if (host)
- host->OnErrorEventRaised(message);
+ host->OnErrorEventRaised(message, reason, url, status);
}
}

Powered by Google App Engine
This is Rietveld 408576698