| OLD | NEW |
| 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_INDEXED_DB_DISPATCHER_H_ | 5 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ |
| 6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ | 6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 const WebKit::WebIDBTransaction& transaction, | 158 const WebKit::WebIDBTransaction& transaction, |
| 159 WebKit::WebExceptionCode* ec); | 159 WebKit::WebExceptionCode* ec); |
| 160 | 160 |
| 161 void RequestIDBObjectStorePut( | 161 void RequestIDBObjectStorePut( |
| 162 const SerializedScriptValue& value, | 162 const SerializedScriptValue& value, |
| 163 const IndexedDBKey& key, | 163 const IndexedDBKey& key, |
| 164 WebKit::WebIDBObjectStore::PutMode putMode, | 164 WebKit::WebIDBObjectStore::PutMode putMode, |
| 165 WebKit::WebIDBCallbacks* callbacks, | 165 WebKit::WebIDBCallbacks* callbacks, |
| 166 int32 object_store_ipc_id, | 166 int32 object_store_ipc_id, |
| 167 const WebKit::WebIDBTransaction& transaction, | 167 const WebKit::WebIDBTransaction& transaction, |
| 168 const WebKit::WebVector<WebKit::WebString>& indexNames, | |
| 169 const WebKit::WebVector<WebKit::WebVector<WebKit::WebIDBKey> >& indexKeys, | |
| 170 WebKit::WebExceptionCode* ec); | |
| 171 | |
| 172 void RequestIDBObjectStorePut( | |
| 173 const SerializedScriptValue& value, | |
| 174 const IndexedDBKey& key, | |
| 175 WebKit::WebIDBObjectStore::PutMode putMode, | |
| 176 WebKit::WebIDBCallbacks* callbacks, | |
| 177 int32 object_store_ipc_id, | |
| 178 const WebKit::WebIDBTransaction& transaction, | |
| 179 const WebKit::WebVector<long long>& indexIds, | 168 const WebKit::WebVector<long long>& indexIds, |
| 180 const WebKit::WebVector<WebKit::WebVector< | 169 const WebKit::WebVector<WebKit::WebVector< |
| 181 WebKit::WebIDBKey> >& indexKeys); | 170 WebKit::WebIDBKey> >& indexKeys); |
| 182 | 171 |
| 183 void RequestIDBObjectStoreDelete( | 172 void RequestIDBObjectStoreDelete( |
| 184 const IndexedDBKeyRange& key_range, | 173 const IndexedDBKeyRange& key_range, |
| 185 WebKit::WebIDBCallbacks* callbacks, | 174 WebKit::WebIDBCallbacks* callbacks, |
| 186 int32 object_store_ipc_id, | 175 int32 object_store_ipc_id, |
| 187 const WebKit::WebIDBTransaction& transaction, | 176 const WebKit::WebIDBTransaction& transaction, |
| 188 WebKit::WebExceptionCode* ec); | 177 WebKit::WebExceptionCode* ec); |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 std::map<int32, RendererWebIDBCursorImpl*> cursors_; | 286 std::map<int32, RendererWebIDBCursorImpl*> cursors_; |
| 298 | 287 |
| 299 std::map<int32, RendererWebIDBDatabaseImpl*> databases_; | 288 std::map<int32, RendererWebIDBDatabaseImpl*> databases_; |
| 300 | 289 |
| 301 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); | 290 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); |
| 302 }; | 291 }; |
| 303 | 292 |
| 304 } // namespace content | 293 } // namespace content |
| 305 | 294 |
| 306 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ | 295 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ |
| OLD | NEW |