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

Side by Side Diff: content/renderer/indexed_db/renderer_webidbindex_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) 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.
4
5 #ifndef CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBINDEX_IMPL_H_
6 #define CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBINDEX_IMPL_H_
7 #pragma once
8
9 #include "base/basictypes.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBIndex.h"
12
13 class RendererWebIDBIndexImpl : public WebKit::WebIDBIndex {
14 public:
15 explicit RendererWebIDBIndexImpl(int32 idb_index_id);
16 virtual ~RendererWebIDBIndexImpl();
17
18 // WebKit::WebIDBIndex
19 virtual WebKit::WebString name() const;
20 virtual WebKit::WebString storeName() const;
21 virtual WebKit::WebString keyPath() const;
22 virtual bool unique() const;
23 virtual bool multiEntry() const;
24
25 virtual void openObjectCursor(const WebKit::WebIDBKeyRange& range,
26 unsigned short direction,
27 WebKit::WebIDBCallbacks* callbacks,
28 const WebKit::WebIDBTransaction& transaction,
29 WebKit::WebExceptionCode& ec);
30 virtual void openKeyCursor(const WebKit::WebIDBKeyRange& range,
31 unsigned short direction,
32 WebKit::WebIDBCallbacks* callbacks,
33 const WebKit::WebIDBTransaction& transaction,
34 WebKit::WebExceptionCode& ec);
35 virtual void count(const WebKit::WebIDBKeyRange& range,
36 WebKit::WebIDBCallbacks* callbacks,
37 const WebKit::WebIDBTransaction& transaction,
38 WebKit::WebExceptionCode& ec);
39 virtual void getObject(const WebKit::WebIDBKey& key,
40 WebKit::WebIDBCallbacks* callbacks,
41 const WebKit::WebIDBTransaction& transaction,
42 WebKit::WebExceptionCode& ec);
43 virtual void getKey(const WebKit::WebIDBKey& key,
44 WebKit::WebIDBCallbacks* callbacks,
45 const WebKit::WebIDBTransaction& transaction,
46 WebKit::WebExceptionCode& ec);
47
48 private:
49 int32 idb_index_id_;
50 };
51
52 #endif // CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBINDEX_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/indexed_db/renderer_webidbfactory_impl.cc ('k') | content/renderer/indexed_db/renderer_webidbindex_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698