summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/renderer_webindexeddatabase_impl.h
blob: 97c1010c7b617e27f42965099f0d4d19227bd1a3 (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
// 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_WEBINDEXEDDATABASE_IMPL_H_
#define CHROME_RENDERER_RENDERER_WEBINDEXEDDATABASE_IMPL_H_

#include "third_party/WebKit/WebKit/chromium/public/WebIDBCallbacks.h"
#include "third_party/WebKit/WebKit/chromium/public/WebIndexedDatabase.h"

namespace WebKit {
class WebFrame;
class WebIDBDatabase;
class WebSecurityOrigin;
class WebString;
}

class RendererWebIndexedDatabaseImpl : public WebKit::WebIndexedDatabase {
 public:
  RendererWebIndexedDatabaseImpl();
  virtual ~RendererWebIndexedDatabaseImpl();

  // See WebIndexedDatabase.h for documentation on these functions.
  virtual void open(
      const WebKit::WebString& name, const WebKit::WebString& description,
      WebKit::WebIDBCallbacks* callbacks,
      const WebKit::WebSecurityOrigin& origin, WebKit::WebFrame* web_frame,
      int& exception_code);
};

#endif  // CHROME_RENDERER_RENDERER_WEBINDEXEDDATABASE_IMPL_H_