Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Side by Side Diff: chrome/renderer/renderer_webidbdatabase_impl.h

Issue 6713024: Move the renderer_web* files to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 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.
4
5 #ifndef CHROME_RENDERER_RENDERER_WEBIDBDATABASE_IMPL_H_
6 #define CHROME_RENDERER_RENDERER_WEBIDBDATABASE_IMPL_H_
7 #pragma once
8
9 #include "base/basictypes.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabase.h"
11
12 namespace WebKit {
13 class WebFrame;
14 class WebIDBCallbacks;
15 class WebIDBDatabaseCallbacks;
16 class WebString;
17 class WebIDBTransaction;
18 }
19
20 class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase {
21 public:
22 explicit RendererWebIDBDatabaseImpl(int32 idb_database_id);
23 virtual ~RendererWebIDBDatabaseImpl();
24
25 // WebKit::WebIDBDatabase
26 virtual WebKit::WebString name() const;
27 virtual WebKit::WebString version() const;
28 virtual WebKit::WebDOMStringList objectStoreNames() const;
29 virtual WebKit::WebIDBObjectStore* createObjectStore(
30 const WebKit::WebString& name,
31 const WebKit::WebString& key_path,
32 bool auto_increment,
33 const WebKit::WebIDBTransaction& transaction,
34 WebKit::WebExceptionCode& ec);
35 virtual void deleteObjectStore(
36 const WebKit::WebString& name,
37 const WebKit::WebIDBTransaction& transaction,
38 WebKit::WebExceptionCode& ec);
39 virtual void setVersion(
40 const WebKit::WebString& version, WebKit::WebIDBCallbacks* callbacks,
41 WebKit::WebExceptionCode& ec);
42 virtual WebKit::WebIDBTransaction* transaction(
43 const WebKit::WebDOMStringList& names,
44 unsigned short mode, unsigned long timeout,
45 WebKit::WebExceptionCode& ec);
46 virtual void close();
47 virtual void open(WebKit::WebIDBDatabaseCallbacks*);
48
49 private:
50 int32 idb_database_id_;
51 };
52
53 #endif // CHROME_RENDERER_RENDERER_WEBIDBDATABASE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/renderer/renderer_webidbcursor_impl.cc ('k') | chrome/renderer/renderer_webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698