Index: content/renderer/indexed_db/indexed_db_dispatcher.cc |
diff --git a/content/renderer/indexed_db/indexed_db_dispatcher.cc b/content/renderer/indexed_db/indexed_db_dispatcher.cc |
index 2770fbbeb81254065242e8f67961014a22623b47..2b89e75a7140d478ec881293625e18a1e1e48465 100644 |
--- a/content/renderer/indexed_db/indexed_db_dispatcher.cc |
+++ b/content/renderer/indexed_db/indexed_db_dispatcher.cc |
@@ -430,6 +430,23 @@ void IndexedDBDispatcher::RequestIDBObjectStoreDelete( |
pending_callbacks_.Remove(response_id); |
} |
+void IndexedDBDispatcher::RequestIDBObjectStoreDelete( |
+ 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, |