Add ICU message format support
[chromium-blink-merge.git] / content / renderer / renderer_webapplicationcachehost_impl.h
blobc8efaaf9adce0fb374d902e2a572a2ca53b45c4c
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_
8 #include "content/child/appcache/web_application_cache_host_impl.h"
10 namespace content {
11 class RenderViewImpl;
13 class RendererWebApplicationCacheHostImpl : public WebApplicationCacheHostImpl {
14 public:
15 RendererWebApplicationCacheHostImpl(
16 RenderViewImpl* render_view,
17 blink::WebApplicationCacheHostClient* client,
18 AppCacheBackend* backend);
20 // WebApplicationCacheHostImpl:
21 void OnLogMessage(AppCacheLogLevel log_level,
22 const std::string& message) override;
23 void OnContentBlocked(const GURL& manifest_url) override;
24 void OnCacheSelected(const AppCacheInfo& info) override;
26 private:
27 RenderViewImpl* GetRenderView();
29 int routing_id_;
32 } // namespace content
34 #endif // CONTENT_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_