summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/renderer_webapplicationcachehost_impl.cc
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 06:04:49 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 06:04:49 +0000
commitca10046545d16cfd705fbfc356d97710f47cedee (patch)
tree66d60515921d0229911b12c318b39bfda2c2e00b /chrome/renderer/renderer_webapplicationcachehost_impl.cc
parent71aaa7aa371e39947d951addfcdf32f2cda353ac (diff)
downloadchromium_src-ca10046545d16cfd705fbfc356d97710f47cedee.zip
chromium_src-ca10046545d16cfd705fbfc356d97710f47cedee.tar.gz
chromium_src-ca10046545d16cfd705fbfc356d97710f47cedee.tar.bz2
Failed compile on Chromium builder dbg
Revert 52072 - 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 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/2925008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52073 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/renderer_webapplicationcachehost_impl.cc')
-rw-r--r--chrome/renderer/renderer_webapplicationcachehost_impl.cc17
1 files changed, 6 insertions, 11 deletions
diff --git a/chrome/renderer/renderer_webapplicationcachehost_impl.cc b/chrome/renderer/renderer_webapplicationcachehost_impl.cc
index c4b6e71..6a2d6e3 100644
--- a/chrome/renderer/renderer_webapplicationcachehost_impl.cc
+++ b/chrome/renderer/renderer_webapplicationcachehost_impl.cc
@@ -35,17 +35,12 @@ void RendererWebApplicationCacheHostImpl::OnLogMessage(
WebKit::WebString::fromUTF8(message.c_str())));
}
-void RendererWebApplicationCacheHostImpl::OnContentBlocked(
- const GURL& manifest_url) {
- RenderThread::current()->Send(new ViewHostMsg_AppCacheAccessed(
- routing_id_, manifest_url, true));
-}
-
-void RendererWebApplicationCacheHostImpl::OnCacheSelected(
- int64 selected_cache_id, appcache::Status status) {
- // TODO(jochen): Send a ViewHostMsg_AppCacheAccessed to the browser once this
- // methods gets the manifest url passed.
- WebApplicationCacheHostImpl::OnCacheSelected(selected_cache_id, status);
+void RendererWebApplicationCacheHostImpl::OnContentBlocked() {
+ if (!content_blocked_) {
+ RenderThread::current()->Send(new ViewHostMsg_ContentBlocked(
+ routing_id_, CONTENT_SETTINGS_TYPE_COOKIES));
+ content_blocked_ = true;
+ }
}
RenderView* RendererWebApplicationCacheHostImpl::GetRenderView() {