OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_COMMON_INDEXED_DB_PROXY_WEBIDBOBJECTSTORE_IMPL_H_ | 5 #ifndef CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBOBJECTSTORE_IMPL_H_ |
6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBOBJECTSTORE_IMPL_H_ | 6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBOBJECTSTORE_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" |
11 | 11 |
12 namespace WebKit { | 12 namespace WebKit { |
13 class WebIDBCallbacks; | 13 class WebIDBCallbacks; |
14 class WebIDBIndex; | 14 class WebIDBIndex; |
15 class WebIDBKey; | 15 class WebIDBKey; |
16 class WebIDBKeyRange; | 16 class WebIDBKeyRange; |
17 class WebString; | 17 class WebString; |
18 } | 18 } |
19 | 19 |
| 20 namespace content { |
| 21 |
20 class RendererWebIDBObjectStoreImpl : public WebKit::WebIDBObjectStore { | 22 class RendererWebIDBObjectStoreImpl : public WebKit::WebIDBObjectStore { |
21 public: | 23 public: |
22 explicit RendererWebIDBObjectStoreImpl(int32 idb_object_store_id); | 24 explicit RendererWebIDBObjectStoreImpl(int32 idb_object_store_id); |
23 virtual ~RendererWebIDBObjectStoreImpl(); | 25 virtual ~RendererWebIDBObjectStoreImpl(); |
24 | 26 |
25 // TODO(alecflett): Remove this when it is removed from webkit: | 27 // TODO(alecflett): Remove this when it is removed from webkit: |
26 // https://bugs.webkit.org/show_bug.cgi?id=98085 | 28 // https://bugs.webkit.org/show_bug.cgi?id=98085 |
27 static const long long AutogenerateIndexId = -1; | 29 static const long long AutogenerateIndexId = -1; |
28 | 30 |
29 // WebKit::WebIDBObjectStore | 31 // WebKit::WebIDBObjectStore |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 81 |
80 virtual void count(const WebKit::WebIDBKeyRange& idb_key_range, | 82 virtual void count(const WebKit::WebIDBKeyRange& idb_key_range, |
81 WebKit::WebIDBCallbacks* callbacks, | 83 WebKit::WebIDBCallbacks* callbacks, |
82 const WebKit::WebIDBTransaction& transaction, | 84 const WebKit::WebIDBTransaction& transaction, |
83 WebKit::WebExceptionCode& ec); | 85 WebKit::WebExceptionCode& ec); |
84 | 86 |
85 private: | 87 private: |
86 int32 idb_object_store_id_; | 88 int32 idb_object_store_id_; |
87 }; | 89 }; |
88 | 90 |
| 91 } // namespace content |
| 92 |
89 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBOBJECTSTORE_IMPL_H_ | 93 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBOBJECTSTORE_IMPL_H_ |
OLD | NEW |