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

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

Issue 10831138: Remove a ton of IPC from landing putWithIndexKeys (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Additional stuff found with lint Created 8 years, 4 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
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 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h"
11 11
12 namespace WebKit { 12 namespace WebKit {
13 class WebIDBCallbacks; 13 class WebIDBCallbacks;
14 class WebIDBIndex; 14 class WebIDBIndex;
15 class WebIDBKey; 15 class WebIDBKey;
16 class WebIDBKeyRange; 16 class WebIDBKeyRange;
17 class WebString; 17 class WebString;
18 } 18 }
19 19
20 class RendererWebIDBObjectStoreImpl : public WebKit::WebIDBObjectStore { 20 class RendererWebIDBObjectStoreImpl : public WebKit::WebIDBObjectStore {
21 public: 21 public:
22 explicit RendererWebIDBObjectStoreImpl(int32 idb_object_store_id); 22 explicit RendererWebIDBObjectStoreImpl(int32 idb_object_store_id);
23 virtual ~RendererWebIDBObjectStoreImpl(); 23 virtual ~RendererWebIDBObjectStoreImpl();
24 24
25 // WebKit::WebIDBObjectStore 25 // WebKit::WebIDBObjectStore
26 virtual void get(const WebKit::WebIDBKeyRange& key_range, 26 virtual void get(const WebKit::WebIDBKeyRange& key_range,
27 WebKit::WebIDBCallbacks* callbacks, 27 WebKit::WebIDBCallbacks* callbacks,
28 const WebKit::WebIDBTransaction& transaction, 28 const WebKit::WebIDBTransaction& transaction,
29 WebKit::WebExceptionCode& ec); 29 WebKit::WebExceptionCode& ec);
30 virtual void put(const WebKit::WebSerializedScriptValue& value,
31 const WebKit::WebIDBKey& key,
32 PutMode put_mode,
33 WebKit::WebIDBCallbacks* callbacks,
34 const WebKit::WebIDBTransaction& transaction,
35 WebKit::WebExceptionCode& ec);
36 virtual void putWithIndexKeys( 30 virtual void putWithIndexKeys(
37 const WebKit::WebSerializedScriptValue&, 31 const WebKit::WebSerializedScriptValue&,
38 const WebKit::WebIDBKey&, 32 const WebKit::WebIDBKey&,
39 PutMode, 33 PutMode,
40 WebKit::WebIDBCallbacks*, 34 WebKit::WebIDBCallbacks*,
41 const WebKit::WebIDBTransaction&, 35 const WebKit::WebIDBTransaction&,
42 const WebKit::WebVector<WebKit::WebString>&, 36 const WebKit::WebVector<WebKit::WebString>&,
43 const WebKit::WebVector<WebKit::WebIDBObjectStore::WebIndexKeys>&, 37 const WebKit::WebVector<WebKit::WebIDBObjectStore::WebIndexKeys>&,
44 WebKit::WebExceptionCode&); 38 WebKit::WebExceptionCode&);
45 virtual void deleteFunction(const WebKit::WebIDBKeyRange& key_range, 39 virtual void deleteFunction(const WebKit::WebIDBKeyRange& key_range,
(...skipping 27 matching lines...) Expand all
73 virtual void count(const WebKit::WebIDBKeyRange& idb_key_range, 67 virtual void count(const WebKit::WebIDBKeyRange& idb_key_range,
74 WebKit::WebIDBCallbacks* callbacks, 68 WebKit::WebIDBCallbacks* callbacks,
75 const WebKit::WebIDBTransaction& transaction, 69 const WebKit::WebIDBTransaction& transaction,
76 WebKit::WebExceptionCode& ec); 70 WebKit::WebExceptionCode& ec);
77 71
78 private: 72 private:
79 int32 idb_object_store_id_; 73 int32 idb_object_store_id_;
80 }; 74 };
81 75
82 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBOBJECTSTORE_IMPL_H_ 76 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBOBJECTSTORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698