| 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 <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 void RequestIDBDatabasePut( | 130 void RequestIDBDatabasePut( |
| 131 int32 ipc_database_id, | 131 int32 ipc_database_id, |
| 132 int64 transaction_id, | 132 int64 transaction_id, |
| 133 int64 object_store_id, | 133 int64 object_store_id, |
| 134 const blink::WebData& value, | 134 const blink::WebData& value, |
| 135 const blink::WebVector<blink::WebBlobInfo>& web_blob_info, | 135 const blink::WebVector<blink::WebBlobInfo>& web_blob_info, |
| 136 const IndexedDBKey& key, | 136 const IndexedDBKey& key, |
| 137 blink::WebIDBDatabase::PutMode put_mode, | 137 blink::WebIDBDatabase::PutMode put_mode, |
| 138 blink::WebIDBCallbacks* callbacks, | 138 blink::WebIDBCallbacks* callbacks, |
| 139 const blink::WebVector<long long>& index_ids, | 139 const blink::WebVector<long long>& index_ids, |
| 140 const blink::WebVector<blink::WebVector<blink::WebIDBKey> >& | 140 const blink::WebVector<blink::WebVector<blink::WebIDBKey> >& index_keys); |
| 141 index_keys); | |
| 142 | 141 |
| 143 void RequestIDBDatabaseOpenCursor(int32 ipc_database_id, | 142 void RequestIDBDatabaseOpenCursor(int32 ipc_database_id, |
| 144 int64 transaction_id, | 143 int64 transaction_id, |
| 145 int64 object_store_id, | 144 int64 object_store_id, |
| 146 int64 index_id, | 145 int64 index_id, |
| 147 const IndexedDBKeyRange& key_range, | 146 const IndexedDBKeyRange& key_range, |
| 148 blink::WebIDBCursor::Direction direction, | 147 blink::WebIDBCursor::Direction direction, |
| 149 bool key_only, | 148 bool key_only, |
| 150 blink::WebIDBDatabase::TaskType task_type, | 149 blink::WebIDBDatabase::TaskType task_type, |
| 151 blink::WebIDBCallbacks* callbacks); | 150 blink::WebIDBCallbacks* callbacks); |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 std::map<int32, WebIDBCursorImpl*> cursors_; | 257 std::map<int32, WebIDBCursorImpl*> cursors_; |
| 259 | 258 |
| 260 std::map<int32, WebIDBDatabaseImpl*> databases_; | 259 std::map<int32, WebIDBDatabaseImpl*> databases_; |
| 261 | 260 |
| 262 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); | 261 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); |
| 263 }; | 262 }; |
| 264 | 263 |
| 265 } // namespace content | 264 } // namespace content |
| 266 | 265 |
| 267 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ | 266 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ |
| OLD | NEW |