OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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_WEBIDBOBJECTSTORE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_WEBIDBOBJECTSTORE_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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 virtual void deleteIndex(const WebKit::WebString& name, | 59 virtual void deleteIndex(const WebKit::WebString& name, |
60 const WebKit::WebIDBTransaction& transaction, | 60 const WebKit::WebIDBTransaction& transaction, |
61 WebKit::WebExceptionCode& ec); | 61 WebKit::WebExceptionCode& ec); |
62 | 62 |
63 virtual void openCursor(const WebKit::WebIDBKeyRange& idb_key_range, | 63 virtual void openCursor(const WebKit::WebIDBKeyRange& idb_key_range, |
64 unsigned short direction, | 64 unsigned short direction, |
65 WebKit::WebIDBCallbacks* callbacks, | 65 WebKit::WebIDBCallbacks* callbacks, |
66 const WebKit::WebIDBTransaction& transaction, | 66 const WebKit::WebIDBTransaction& transaction, |
67 WebKit::WebExceptionCode& ec); | 67 WebKit::WebExceptionCode& ec); |
68 | 68 |
| 69 virtual void count(const WebKit::WebIDBKeyRange& idb_key_range, |
| 70 WebKit::WebIDBCallbacks* callbacks, |
| 71 const WebKit::WebIDBTransaction& transaction, |
| 72 WebKit::WebExceptionCode& ec); |
| 73 |
69 private: | 74 private: |
70 int32 idb_object_store_id_; | 75 int32 idb_object_store_id_; |
71 }; | 76 }; |
72 | 77 |
73 #endif // CONTENT_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_ | 78 #endif // CONTENT_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_ |
OLD | NEW |