OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ | 5 #ifndef CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ |
6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ | 6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 int64 transaction_id, | 125 int64 transaction_id, |
126 int64 object_store_id, | 126 int64 object_store_id, |
127 int64 index_id, | 127 int64 index_id, |
128 const IndexedDBKeyRange& key_range, | 128 const IndexedDBKeyRange& key_range, |
129 bool key_only, | 129 bool key_only, |
130 blink::WebIDBCallbacks* callbacks); | 130 blink::WebIDBCallbacks* callbacks); |
131 | 131 |
132 void RequestIDBDatabaseGetAll(int32 ipc_database_id, | 132 void RequestIDBDatabaseGetAll(int32 ipc_database_id, |
133 int64 transaction_id, | 133 int64 transaction_id, |
134 int64 object_store_id, | 134 int64 object_store_id, |
| 135 int64 index_id, |
135 const IndexedDBKeyRange& key_range, | 136 const IndexedDBKeyRange& key_range, |
136 int64 max_count, | 137 int64 max_count, |
137 blink::WebIDBCallbacks* callbacks); | 138 blink::WebIDBCallbacks* callbacks); |
138 | 139 |
139 void RequestIDBDatabasePut( | 140 void RequestIDBDatabasePut( |
140 int32 ipc_database_id, | 141 int32 ipc_database_id, |
141 int64 transaction_id, | 142 int64 transaction_id, |
142 int64 object_store_id, | 143 int64 object_store_id, |
143 const blink::WebData& value, | 144 const blink::WebData& value, |
144 const blink::WebVector<blink::WebBlobInfo>& web_blob_info, | 145 const blink::WebVector<blink::WebBlobInfo>& web_blob_info, |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 std::map<int32, WebIDBCursorImpl*> cursors_; | 266 std::map<int32, WebIDBCursorImpl*> cursors_; |
266 | 267 |
267 std::map<int32, WebIDBDatabaseImpl*> databases_; | 268 std::map<int32, WebIDBDatabaseImpl*> databases_; |
268 | 269 |
269 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); | 270 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); |
270 }; | 271 }; |
271 | 272 |
272 } // namespace content | 273 } // namespace content |
273 | 274 |
274 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ | 275 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ |
OLD | NEW |