| OLD | NEW |
| 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 CHROME_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_ | 5 #ifndef CHROME_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_ |
| 6 #define CHROME_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_ | 6 #define CHROME_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "third_party/WebKit/WebKit/chromium/public/WebIDBCallbacks.h" | 9 #include "third_party/WebKit/WebKit/chromium/public/WebIDBCallbacks.h" |
| 10 #include "third_party/WebKit/WebKit/chromium/public/WebIDBIndex.h" | 10 #include "third_party/WebKit/WebKit/chromium/public/WebIDBIndex.h" |
| 11 | 11 |
| 12 class RendererWebIDBIndexImpl : public WebKit::WebIDBIndex { | 12 class RendererWebIDBIndexImpl : public WebKit::WebIDBIndex { |
| 13 public: | 13 public: |
| 14 explicit RendererWebIDBIndexImpl(int32 idb_index_id); | 14 explicit RendererWebIDBIndexImpl(int32 idb_index_id); |
| 15 virtual ~RendererWebIDBIndexImpl(); | 15 virtual ~RendererWebIDBIndexImpl(); |
| 16 | 16 |
| 17 // WebKit::WebIDBIndex | 17 // WebKit::WebIDBIndex |
| 18 virtual WebKit::WebString name(); | 18 virtual WebKit::WebString name() const; |
| 19 virtual WebKit::WebString keyPath(); | 19 virtual WebKit::WebString keyPath() const; |
| 20 virtual bool unique(); | 20 virtual bool unique() const; |
| 21 | 21 |
| 22 private: | 22 private: |
| 23 int32 idb_index_id_; | 23 int32 idb_index_id_; |
| 24 }; | 24 }; |
| 25 | 25 |
| 26 #endif // CHROME_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_ | 26 #endif // CHROME_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_ |
| OLD | NEW |