| Index: content/common/indexed_db/indexed_db_dispatcher.cc
|
| diff --git a/content/common/indexed_db/indexed_db_dispatcher.cc b/content/common/indexed_db/indexed_db_dispatcher.cc
|
| index c8de3588c3bc9a439f8d3331673c6a31677133f0..86ac318ba51730c59614c1ea70a54e1777abc6a6 100644
|
| --- a/content/common/indexed_db/indexed_db_dispatcher.cc
|
| +++ b/content/common/indexed_db/indexed_db_dispatcher.cc
|
| @@ -423,6 +423,23 @@ void IndexedDBDispatcher::RequestIDBObjectStoreDelete(
|
| pending_callbacks_.Remove(response_id);
|
| }
|
|
|
| +void IndexedDBDispatcher::RequestIDBObjectStoreDeleteRange(
|
| + const IndexedDBKeyRange& key_range,
|
| + WebIDBCallbacks* callbacks_ptr,
|
| + int32 idb_object_store_id,
|
| + const WebIDBTransaction& transaction,
|
| + WebExceptionCode* ec) {
|
| + ResetCursorPrefetchCaches();
|
| + scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr);
|
| +
|
| + int32 response_id = pending_callbacks_.Add(callbacks.release());
|
| + Send(new IndexedDBHostMsg_ObjectStoreDeleteRange(
|
| + idb_object_store_id, CurrentWorkerId(), response_id, key_range,
|
| + TransactionId(transaction), ec));
|
| + if (*ec)
|
| + pending_callbacks_.Remove(response_id);
|
| +}
|
| +
|
| void IndexedDBDispatcher::RequestIDBObjectStoreClear(
|
| WebIDBCallbacks* callbacks_ptr,
|
| int32 idb_object_store_id,
|
|
|