Bluetooth: Don't attempt a pairing for devices not supporting it.
[chromium-blink-merge.git] / content / renderer / renderer_webapplicationcachehost_impl.h
blob872d5c6d471adb4e93fb5dd942e1a4be64ad2d8b
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/common/content_export.h"
9 #include "webkit/appcache/web_application_cache_host_impl.h"
11 namespace content {
12 class RenderViewImpl;
14 class RendererWebApplicationCacheHostImpl
15 : public appcache::WebApplicationCacheHostImpl {
16 public:
17 RendererWebApplicationCacheHostImpl(
18 RenderViewImpl* render_view,
19 WebKit::WebApplicationCacheHostClient* client,
20 appcache::AppCacheBackend* backend);
22 // appcache::WebApplicationCacheHostImpl methods.
23 virtual void OnLogMessage(appcache::LogLevel log_level,
24 const std::string& message) OVERRIDE;
25 virtual void OnContentBlocked(const GURL& manifest_url) OVERRIDE;
26 virtual void OnCacheSelected(const appcache::AppCacheInfo& info) OVERRIDE;
28 CONTENT_EXPORT static void DisableLoggingForTesting();
30 private:
31 RenderViewImpl* GetRenderView();
33 int routing_id_;
36 } // namespace content
38 #endif // CONTENT_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_