Index: webkit/appcache/appcache_request_handler.cc |
diff --git a/webkit/appcache/appcache_request_handler.cc b/webkit/appcache/appcache_request_handler.cc |
index a17e7e5a30a0fc491070cb2fc2f38325e721f73e..afc0d28c0b98627019a2b0afa9472349ad0558ee 100644 |
--- a/webkit/appcache/appcache_request_handler.cc |
+++ b/webkit/appcache/appcache_request_handler.cc |
@@ -186,13 +186,16 @@ void AppCacheRequestHandler::MaybeLoadMainResource(URLRequest* request) { |
void AppCacheRequestHandler::OnMainResponseFound( |
const GURL& url, const AppCacheEntry& entry, |
const AppCacheEntry& fallback_entry, |
- int64 cache_id, const GURL& manifest_url) { |
+ int64 cache_id, const GURL& manifest_url, |
+ bool was_blocked_by_policy) { |
DCHECK(host_); |
DCHECK(is_main_request_); |
DCHECK(!entry.IsForeign()); |
DCHECK(!fallback_entry.IsForeign()); |
DCHECK(!(entry.has_response_id() && fallback_entry.has_response_id())); |
+ host_->NotifyContentBlocked(); |
+ |
if (cache_id != kNoCacheId) { |
// AppCacheHost loads and holds a reference to the main resource cache |
// for two reasons, firstly to preload the cache into the working set |