Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: content/common/indexed_db/proxy_webidbindex_impl.h

Issue 10041014: IndexedDB: API rename to allow return type of keyPath accessors to change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBIndex.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBIndex.h"
12 13
13 class RendererWebIDBIndexImpl : public WebKit::WebIDBIndex { 14 class RendererWebIDBIndexImpl : public WebKit::WebIDBIndex {
14 public: 15 public:
15 explicit RendererWebIDBIndexImpl(int32 idb_index_id); 16 explicit RendererWebIDBIndexImpl(int32 idb_index_id);
16 virtual ~RendererWebIDBIndexImpl(); 17 virtual ~RendererWebIDBIndexImpl();
17 18
18 // WebKit::WebIDBIndex 19 // WebKit::WebIDBIndex
19 virtual WebKit::WebString name() const; 20 virtual WebKit::WebString name() const;
20 virtual WebKit::WebString storeName() const; 21 virtual WebKit::WebString storeName() const;
21 virtual WebKit::WebString keyPath() const; 22 virtual WebKit::WebString keyPathString() const OVERRIDE;
22 virtual bool unique() const; 23 virtual bool unique() const;
23 virtual bool multiEntry() const; 24 virtual bool multiEntry() const;
24 25
25 virtual void openObjectCursor(const WebKit::WebIDBKeyRange& range, 26 virtual void openObjectCursor(const WebKit::WebIDBKeyRange& range,
26 unsigned short direction, 27 unsigned short direction,
27 WebKit::WebIDBCallbacks* callbacks, 28 WebKit::WebIDBCallbacks* callbacks,
28 const WebKit::WebIDBTransaction& transaction, 29 const WebKit::WebIDBTransaction& transaction,
29 WebKit::WebExceptionCode& ec); 30 WebKit::WebExceptionCode& ec);
30 virtual void openKeyCursor(const WebKit::WebIDBKeyRange& range, 31 virtual void openKeyCursor(const WebKit::WebIDBKeyRange& range,
31 unsigned short direction, 32 unsigned short direction,
(...skipping 11 matching lines...) Expand all
43 virtual void getKey(const WebKit::WebIDBKey& key, 44 virtual void getKey(const WebKit::WebIDBKey& key,
44 WebKit::WebIDBCallbacks* callbacks, 45 WebKit::WebIDBCallbacks* callbacks,
45 const WebKit::WebIDBTransaction& transaction, 46 const WebKit::WebIDBTransaction& transaction,
46 WebKit::WebExceptionCode& ec); 47 WebKit::WebExceptionCode& ec);
47 48
48 private: 49 private:
49 int32 idb_index_id_; 50 int32 idb_index_id_;
50 }; 51 };
51 52
52 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBINDEX_IMPL_H_ 53 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBINDEX_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698