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_WEBIDBINDEX_IMPL_H_ | 5 #ifndef CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBINDEX_IMPL_H_ |
6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBINDEX_IMPL_H_ | 6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBINDEX_IMPL_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBIndex.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBIndex.h" |
12 | 11 |
13 class RendererWebIDBIndexImpl : public WebKit::WebIDBIndex { | 12 class RendererWebIDBIndexImpl : public WebKit::WebIDBIndex { |
14 public: | 13 public: |
15 explicit RendererWebIDBIndexImpl(int32 idb_index_id); | 14 explicit RendererWebIDBIndexImpl(int32 idb_index_id); |
16 virtual ~RendererWebIDBIndexImpl(); | 15 virtual ~RendererWebIDBIndexImpl(); |
17 | 16 |
(...skipping 19 matching lines...) Expand all Loading... |
37 virtual void getKey(const WebKit::WebIDBKeyRange& key_range, | 36 virtual void getKey(const WebKit::WebIDBKeyRange& key_range, |
38 WebKit::WebIDBCallbacks* callbacks, | 37 WebKit::WebIDBCallbacks* callbacks, |
39 const WebKit::WebIDBTransaction& transaction, | 38 const WebKit::WebIDBTransaction& transaction, |
40 WebKit::WebExceptionCode& ec); | 39 WebKit::WebExceptionCode& ec); |
41 | 40 |
42 private: | 41 private: |
43 int32 idb_index_id_; | 42 int32 idb_index_id_; |
44 }; | 43 }; |
45 | 44 |
46 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBINDEX_IMPL_H_ | 45 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBINDEX_IMPL_H_ |
OLD | NEW |