15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Copyright (c) 2012 The Chromium Authors. All rights reserved. 25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// found in the LICENSE file. 45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#ifndef CONTENT_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_ 65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define CONTENT_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_ 75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 8ba5b9a6411cb1792fd21f0a078d7a25cd1ceec16Ben Murdoch#include "content/child/appcache/web_application_cache_host_impl.h" 95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)namespace content { 115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)class RenderViewImpl; 125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 13ba5b9a6411cb1792fd21f0a078d7a25cd1ceec16Ben Murdochclass RendererWebApplicationCacheHostImpl : public WebApplicationCacheHostImpl { 145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) public: 155821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) RendererWebApplicationCacheHostImpl( 165821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) RenderViewImpl* render_view, 17f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) blink::WebApplicationCacheHostClient* client, 18116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch AppCacheBackend* backend); 195821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 20ba5b9a6411cb1792fd21f0a078d7a25cd1ceec16Ben Murdoch // WebApplicationCacheHostImpl: 21116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch virtual void OnLogMessage(AppCacheLogLevel log_level, 225821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) const std::string& message) OVERRIDE; 235821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) virtual void OnContentBlocked(const GURL& manifest_url) OVERRIDE; 24116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch virtual void OnCacheSelected(const AppCacheInfo& info) OVERRIDE; 255821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 265821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) private: 275821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) RenderViewImpl* GetRenderView(); 285821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 295821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) int routing_id_; 305821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)}; 315821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 325821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)} // namespace content 335821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 345821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#endif // CONTENT_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_ 35