blob: 640531721760aaa5590d7cd33aec34bd84790e66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// Copyright (c) 2010 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 CHROME_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_
#define CHROME_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_
#pragma once
#include "webkit/appcache/web_application_cache_host_impl.h"
class RenderView;
class RendererWebApplicationCacheHostImpl
: public appcache::WebApplicationCacheHostImpl {
public:
RendererWebApplicationCacheHostImpl(
RenderView* render_view,
WebKit::WebApplicationCacheHostClient* client,
appcache::AppCacheBackend* backend);
// appcache::WebApplicationCacheHostImpl methods.
virtual void OnLogMessage(appcache::LogLevel log_level,
const std::string& message);
virtual void OnContentBlocked(const GURL& manifest_url);
virtual void OnCacheSelected(int64 selected_cache_id,
appcache::Status status);
private:
RenderView* GetRenderView();
bool content_blocked_;
int routing_id_;
};
#endif // CHROME_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_
|