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

Side by Side Diff: content/renderer/indexed_db/renderer_webidbdatabase_impl.h

Issue 9368053: Move indexed db files from content/renderer to content/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unneccesary include Created 8 years, 10 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) 2011 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 CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBDATABASE_IMPL_H_
6 #define CONTENT_RENDERER_INDEXED_DB_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 WebIDBCallbacks;
14 class WebIDBDatabaseCallbacks;
15 class WebString;
16 class WebIDBTransaction;
17 }
18
19 class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase {
20 public:
21 explicit RendererWebIDBDatabaseImpl(int32 idb_database_id);
22 virtual ~RendererWebIDBDatabaseImpl();
23
24 // WebKit::WebIDBDatabase
25 virtual WebKit::WebString name() const;
26 virtual WebKit::WebString version() const;
27 virtual WebKit::WebDOMStringList objectStoreNames() const;
28 virtual WebKit::WebIDBObjectStore* createObjectStore(
29 const WebKit::WebString& name,
30 const WebKit::WebString& key_path,
31 bool auto_increment,
32 const WebKit::WebIDBTransaction& transaction,
33 WebKit::WebExceptionCode& ec);
34 virtual void deleteObjectStore(
35 const WebKit::WebString& name,
36 const WebKit::WebIDBTransaction& transaction,
37 WebKit::WebExceptionCode& ec);
38 virtual void setVersion(
39 const WebKit::WebString& version, WebKit::WebIDBCallbacks* callbacks,
40 WebKit::WebExceptionCode& ec);
41 virtual WebKit::WebIDBTransaction* transaction(
42 const WebKit::WebDOMStringList& names,
43 unsigned short mode,
44 WebKit::WebExceptionCode& ec);
45 virtual void close();
46 virtual void open(WebKit::WebIDBDatabaseCallbacks*);
47
48 private:
49 int32 idb_database_id_;
50 };
51
52 #endif // CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBDATABASE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/indexed_db/renderer_webidbcursor_impl.cc ('k') | content/renderer/indexed_db/renderer_webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698