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

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

Issue 10657011: IndexedDB: Remove IPC plumbing for obsolete property accessors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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_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 #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/WebIDBObjectStore.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h"
12 12
13 namespace WebKit { 13 namespace WebKit {
14 class WebIDBCallbacks; 14 class WebIDBCallbacks;
15 class WebIDBIndex; 15 class WebIDBIndex;
16 class WebIDBKey; 16 class WebIDBKey;
17 class WebIDBKeyRange; 17 class WebIDBKeyRange;
18 class WebString; 18 class WebString;
19 } 19 }
20 20
21 class RendererWebIDBObjectStoreImpl : public WebKit::WebIDBObjectStore { 21 class RendererWebIDBObjectStoreImpl : public WebKit::WebIDBObjectStore {
22 public: 22 public:
23 explicit RendererWebIDBObjectStoreImpl(int32 idb_object_store_id); 23 explicit RendererWebIDBObjectStoreImpl(int32 idb_object_store_id);
24 virtual ~RendererWebIDBObjectStoreImpl(); 24 virtual ~RendererWebIDBObjectStoreImpl();
25 25
26 // WebKit::WebIDBObjectStore 26 // WebKit::WebIDBObjectStore
27 virtual WebKit::WebString name() const;
28 virtual WebKit::WebIDBKeyPath keyPath() const;
29 virtual WebKit::WebDOMStringList indexNames() const;
30 virtual bool autoIncrement() const;
31
32 virtual void get(const WebKit::WebIDBKeyRange& key_range, 27 virtual void get(const WebKit::WebIDBKeyRange& key_range,
33 WebKit::WebIDBCallbacks* callbacks, 28 WebKit::WebIDBCallbacks* callbacks,
34 const WebKit::WebIDBTransaction& transaction, 29 const WebKit::WebIDBTransaction& transaction,
35 WebKit::WebExceptionCode& ec); 30 WebKit::WebExceptionCode& ec);
36 virtual void put(const WebKit::WebSerializedScriptValue& value, 31 virtual void put(const WebKit::WebSerializedScriptValue& value,
37 const WebKit::WebIDBKey& key, 32 const WebKit::WebIDBKey& key,
38 PutMode put_mode, 33 PutMode put_mode,
39 WebKit::WebIDBCallbacks* callbacks, 34 WebKit::WebIDBCallbacks* callbacks,
40 const WebKit::WebIDBTransaction& transaction, 35 const WebKit::WebIDBTransaction& transaction,
41 WebKit::WebExceptionCode& ec); 36 WebKit::WebExceptionCode& ec);
(...skipping 28 matching lines...) Expand all
70 virtual void count(const WebKit::WebIDBKeyRange& idb_key_range, 65 virtual void count(const WebKit::WebIDBKeyRange& idb_key_range,
71 WebKit::WebIDBCallbacks* callbacks, 66 WebKit::WebIDBCallbacks* callbacks,
72 const WebKit::WebIDBTransaction& transaction, 67 const WebKit::WebIDBTransaction& transaction,
73 WebKit::WebExceptionCode& ec); 68 WebKit::WebExceptionCode& ec);
74 69
75 private: 70 private:
76 int32 idb_object_store_id_; 71 int32 idb_object_store_id_;
77 }; 72 };
78 73
79 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBOBJECTSTORE_IMPL_H_ 74 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBOBJECTSTORE_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/indexed_db/proxy_webidbindex_impl.cc ('k') | content/common/indexed_db/proxy_webidbobjectstore_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698