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

Unified Diff: webkit/browser/appcache/appcache_host.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: webkit/browser/appcache/appcache_host.cc
diff --git a/webkit/browser/appcache/appcache_host.cc b/webkit/browser/appcache/appcache_host.cc
index 598b100e7a4d9b22a8f847568ad129f3349e865d..5e2e3fa80b52ca41bfbaeab4f967c044717d413b 100644
--- a/webkit/browser/appcache/appcache_host.cc
+++ b/webkit/browser/appcache/appcache_host.cc
@@ -116,7 +116,11 @@ void AppCacheHost::SelectCache(const GURL& document_url,
std::vector<int> host_ids(1, host_id_);
frontend_->OnEventRaised(host_ids, CHECKING_EVENT);
frontend_->OnErrorEventRaised(
- host_ids, "Cache creation was blocked by the content policy");
+ host_ids,
+ "Cache creation was blocked by the content policy",
+ "Policy",
michaeln 2014/02/27 23:16:05 ah... an outlier error type, good find!
+ GURL(),
+ 0);
frontend_->OnContentBlocked(host_id_, manifest_url);
return;
}

Powered by Google App Engine
This is Rietveld 408576698