summaryrefslogtreecommitdiffstats
path: root/chrome/browser/appcache
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 04:00:01 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 04:00:01 +0000
commit71aaa7aa371e39947d951addfcdf32f2cda353ac (patch)
treeab138d9c44fde00390e5f5cc203f292d7aa80815 /chrome/browser/appcache
parent6cd36ac0c3138c5c3e741e32dd6f3e3e6dff9d45 (diff)
downloadchromium_src-71aaa7aa371e39947d951addfcdf32f2cda353ac.zip
chromium_src-71aaa7aa371e39947d951addfcdf32f2cda353ac.tar.gz
chromium_src-71aaa7aa371e39947d951addfcdf32f2cda353ac.tar.bz2
Pass notifications to the browser on access to the appcache main resource manifest.
BUG=45230 TEST=browser_tests Review URL: http://codereview.chromium.org/2808046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52072 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/appcache')
-rw-r--r--chrome/browser/appcache/appcache_frontend_proxy.cc5
-rw-r--r--chrome/browser/appcache/appcache_frontend_proxy.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/appcache/appcache_frontend_proxy.cc b/chrome/browser/appcache/appcache_frontend_proxy.cc
index fe39029..ded44a1 100644
--- a/chrome/browser/appcache/appcache_frontend_proxy.cc
+++ b/chrome/browser/appcache/appcache_frontend_proxy.cc
@@ -35,6 +35,7 @@ void AppCacheFrontendProxy::OnLogMessage(int host_id,
sender_->Send(new AppCacheMsg_LogMessage(host_id, log_level, message));
}
-void AppCacheFrontendProxy::OnContentBlocked(int host_id) {
- sender_->Send(new AppCacheMsg_ContentBlocked(host_id));
+void AppCacheFrontendProxy::OnContentBlocked(int host_id,
+ const GURL& manifest_url) {
+ sender_->Send(new AppCacheMsg_ContentBlocked(host_id, manifest_url));
}
diff --git a/chrome/browser/appcache/appcache_frontend_proxy.h b/chrome/browser/appcache/appcache_frontend_proxy.h
index 90b9446..1476580 100644
--- a/chrome/browser/appcache/appcache_frontend_proxy.h
+++ b/chrome/browser/appcache/appcache_frontend_proxy.h
@@ -29,7 +29,8 @@ class AppCacheFrontendProxy : public appcache::AppCacheFrontend {
int num_total, int num_complete);
virtual void OnLogMessage(int host_id, appcache::LogLevel log_level,
const std::string& message);
- virtual void OnContentBlocked(int host_id);
+ virtual void OnContentBlocked(int host_id,
+ const GURL& manifest_url);
private:
IPC::Message::Sender* sender_;