#ifndef CONTENT_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_
#define CONTENT_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_
#include "content/child/appcache/web_application_cache_host_impl.h"
namespace content {
class RenderViewImpl;
class RendererWebApplicationCacheHostImpl : public WebApplicationCacheHostImpl {
public:
RendererWebApplicationCacheHostImpl(
RenderViewImpl* render_view,
blink::WebApplicationCacheHostClient* client,
appcache::AppCacheBackend* backend);
virtual void OnLogMessage(appcache::LogLevel log_level,
const std::string& message) OVERRIDE;
virtual void OnContentBlocked(const GURL& manifest_url) OVERRIDE;
virtual void OnCacheSelected(const appcache::AppCacheInfo& info) OVERRIDE;
private:
RenderViewImpl* GetRenderView();
int routing_id_;
};
}
#endif