diff options
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_ |