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

Side by Side Diff: content/renderer/renderer_webidbindex_impl.h

Issue 8779003: Chromium side of IDBIndex.count() and IDBObjectStore.count() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Accomodate worker thread changes Created 9 years 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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h"
(...skipping 13 matching lines...) Expand all
24 virtual void openObjectCursor(const WebKit::WebIDBKeyRange& range, 24 virtual void openObjectCursor(const WebKit::WebIDBKeyRange& range,
25 unsigned short direction, 25 unsigned short direction,
26 WebKit::WebIDBCallbacks* callbacks, 26 WebKit::WebIDBCallbacks* callbacks,
27 const WebKit::WebIDBTransaction& transaction, 27 const WebKit::WebIDBTransaction& transaction,
28 WebKit::WebExceptionCode& ec); 28 WebKit::WebExceptionCode& ec);
29 virtual void openKeyCursor(const WebKit::WebIDBKeyRange& range, 29 virtual void openKeyCursor(const WebKit::WebIDBKeyRange& range,
30 unsigned short direction, 30 unsigned short direction,
31 WebKit::WebIDBCallbacks* callbacks, 31 WebKit::WebIDBCallbacks* callbacks,
32 const WebKit::WebIDBTransaction& transaction, 32 const WebKit::WebIDBTransaction& transaction,
33 WebKit::WebExceptionCode& ec); 33 WebKit::WebExceptionCode& ec);
34 virtual void count(const WebKit::WebIDBKeyRange& range,
35 WebKit::WebIDBCallbacks* callbacks,
36 const WebKit::WebIDBTransaction& transaction,
37 WebKit::WebExceptionCode& ec);
34 virtual void getObject(const WebKit::WebIDBKey& key, 38 virtual void getObject(const WebKit::WebIDBKey& key,
35 WebKit::WebIDBCallbacks* callbacks, 39 WebKit::WebIDBCallbacks* callbacks,
36 const WebKit::WebIDBTransaction& transaction, 40 const WebKit::WebIDBTransaction& transaction,
37 WebKit::WebExceptionCode& ec); 41 WebKit::WebExceptionCode& ec);
38 virtual void getKey(const WebKit::WebIDBKey& key, 42 virtual void getKey(const WebKit::WebIDBKey& key,
39 WebKit::WebIDBCallbacks* callbacks, 43 WebKit::WebIDBCallbacks* callbacks,
40 const WebKit::WebIDBTransaction& transaction, 44 const WebKit::WebIDBTransaction& transaction,
41 WebKit::WebExceptionCode& ec); 45 WebKit::WebExceptionCode& ec);
42 46
43 private: 47 private:
44 int32 idb_index_id_; 48 int32 idb_index_id_;
45 }; 49 };
46 50
47 #endif // CONTENT_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_ 51 #endif // CONTENT_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/indexed_db_dispatcher.cc ('k') | content/renderer/renderer_webidbindex_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698