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_RENDERER_INDEXED_DB_RENDERER_WEBIDBINDEX_IMPL_H_ | 5 #ifndef CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBINDEX_IMPL_H_ |
6 #define CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBINDEX_IMPL_H_ | 6 #define CONTENT_COMMON_INDEXED_DB_PROXY_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" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBIndex.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBIndex.h" |
12 | 12 |
13 class RendererWebIDBIndexImpl : public WebKit::WebIDBIndex { | 13 class RendererWebIDBIndexImpl : public WebKit::WebIDBIndex { |
14 public: | 14 public: |
15 explicit RendererWebIDBIndexImpl(int32 idb_index_id); | 15 explicit RendererWebIDBIndexImpl(int32 idb_index_id); |
16 virtual ~RendererWebIDBIndexImpl(); | 16 virtual ~RendererWebIDBIndexImpl(); |
(...skipping 25 matching lines...) Expand all Loading... |
42 WebKit::WebExceptionCode& ec); | 42 WebKit::WebExceptionCode& ec); |
43 virtual void getKey(const WebKit::WebIDBKey& key, | 43 virtual void getKey(const WebKit::WebIDBKey& key, |
44 WebKit::WebIDBCallbacks* callbacks, | 44 WebKit::WebIDBCallbacks* callbacks, |
45 const WebKit::WebIDBTransaction& transaction, | 45 const WebKit::WebIDBTransaction& transaction, |
46 WebKit::WebExceptionCode& ec); | 46 WebKit::WebExceptionCode& ec); |
47 | 47 |
48 private: | 48 private: |
49 int32 idb_index_id_; | 49 int32 idb_index_id_; |
50 }; | 50 }; |
51 | 51 |
52 #endif // CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBINDEX_IMPL_H_ | 52 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBINDEX_IMPL_H_ |
OLD | NEW |