summaryrefslogtreecommitdiffstats
path: root/chromium/content/renderer/renderer_webapplicationcachehost_impl.h
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@digia.com>2013-08-15 21:46:11 +0200
committerZeno Albisser <zeno.albisser@digia.com>2013-08-15 21:46:11 +0200
commit679147eead574d186ebf3069647b4c23e8ccace6 (patch)
treefc247a0ac8ff119f7c8550879ebb6d3dd8d1ff69 /chromium/content/renderer/renderer_webapplicationcachehost_impl.h
Initial import.
Diffstat (limited to 'chromium/content/renderer/renderer_webapplicationcachehost_impl.h')
-rw-r--r--chromium/content/renderer/renderer_webapplicationcachehost_impl.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/chromium/content/renderer/renderer_webapplicationcachehost_impl.h b/chromium/content/renderer/renderer_webapplicationcachehost_impl.h
new file mode 100644
index 00000000000..06120398cfc
--- /dev/null
+++ b/chromium/content/renderer/renderer_webapplicationcachehost_impl.h
@@ -0,0 +1,34 @@
+// Copyright (c) 2012 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 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,
+ WebKit::WebApplicationCacheHostClient* client,
+ appcache::AppCacheBackend* backend);
+
+ // WebApplicationCacheHostImpl:
+ 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_;
+};
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_