From 71aaa7aa371e39947d951addfcdf32f2cda353ac Mon Sep 17 00:00:00 2001 From: "jochen@chromium.org" Date: Mon, 12 Jul 2010 04:00:01 +0000 Subject: 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 --- chrome/browser/appcache/appcache_frontend_proxy.cc | 5 +++-- chrome/browser/appcache/appcache_frontend_proxy.h | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'chrome/browser/appcache') 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_; -- cgit v1.1