summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_request_handler.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 09:12:59 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 09:12:59 +0000
commit5c7d598adfc690fe676c54f62cd733d25ee20fa8 (patch)
treeab138d9c44fde00390e5f5cc203f292d7aa80815 /webkit/appcache/appcache_request_handler.cc
parentca10046545d16cfd705fbfc356d97710f47cedee (diff)
downloadchromium_src-5c7d598adfc690fe676c54f62cd733d25ee20fa8.zip
chromium_src-5c7d598adfc690fe676c54f62cd733d25ee20fa8.tar.gz
chromium_src-5c7d598adfc690fe676c54f62cd733d25ee20fa8.tar.bz2
Reland r52072. Pass notifications to the browser on access to the appcache main resource manifest.
BUG=45230 TEST=browser_tests TBR=vandebo Review URL: http://codereview.chromium.org/2980001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_request_handler.cc')
-rw-r--r--webkit/appcache/appcache_request_handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/appcache/appcache_request_handler.cc b/webkit/appcache/appcache_request_handler.cc
index a0775ad..28a9149 100644
--- a/webkit/appcache/appcache_request_handler.cc
+++ b/webkit/appcache/appcache_request_handler.cc
@@ -196,7 +196,7 @@ void AppCacheRequestHandler::OnMainResponseFound(
if (ResourceType::IsFrame(resource_type_)) {
if (was_blocked_by_policy)
- host_->NotifyMainResourceBlocked();
+ host_->NotifyMainResourceBlocked(manifest_url);
if (cache_id != kNoCacheId) {
// AppCacheHost loads and holds a reference to the main resource cache
@@ -208,7 +208,7 @@ void AppCacheRequestHandler::OnMainResponseFound(
} else {
DCHECK(ResourceType::IsSharedWorker(resource_type_));
if (was_blocked_by_policy)
- host_->frontend()->OnContentBlocked(host_->host_id());
+ host_->frontend()->OnContentBlocked(host_->host_id(), manifest_url);
}
// 6.11.1 Navigating across documents, steps 10 and 14.