diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-09 13:10:21 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-09 13:10:21 +0000 |
commit | 035545f333d5f508bee18782784b17c3d6889924 (patch) | |
tree | bc7f79bb0f9aeb52bceca75741f0e1e68cb3228d /chrome/renderer/renderer_webapplicationcachehost_impl.h | |
parent | f16943a1cad260cdee0d20147ea947d9bff84d84 (diff) | |
download | chromium_src-035545f333d5f508bee18782784b17c3d6889924.zip chromium_src-035545f333d5f508bee18782784b17c3d6889924.tar.gz chromium_src-035545f333d5f508bee18782784b17c3d6889924.tar.bz2 |
Indicate in the tab UI if appcache creation was blocked by privacy settings.
TEST=manual
BUG=38362
Review URL: http://codereview.chromium.org/1600002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44079 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/renderer_webapplicationcachehost_impl.h')
-rw-r--r-- | chrome/renderer/renderer_webapplicationcachehost_impl.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/chrome/renderer/renderer_webapplicationcachehost_impl.h b/chrome/renderer/renderer_webapplicationcachehost_impl.h new file mode 100644 index 0000000..8a00032 --- /dev/null +++ b/chrome/renderer/renderer_webapplicationcachehost_impl.h @@ -0,0 +1,31 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CHROME_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_ +#define CHROME_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_ + +#include "webkit/appcache/web_application_cache_host_impl.h" + +class RenderView; + +class RendererWebApplicationCacheHostImpl + : public appcache::WebApplicationCacheHostImpl { + public: + RendererWebApplicationCacheHostImpl( + RenderView* render_view, + WebKit::WebApplicationCacheHostClient* client, + appcache::AppCacheBackend* backend); + + virtual ~RendererWebApplicationCacheHostImpl(); + + // appcache::WebApplicationCacheHostImpl methods. + virtual void OnContentBlocked(); + + private: + bool content_blocked_; + + int routing_id_; +}; + +#endif // CHROME_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_ |