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 ccb123fb8147b5f2d753b3c256d7369652938de4..b725a7d7d400d3a7e9341bd69f2628320bd9c826 100644 |
--- a/content/common/indexed_db/indexed_db_dispatcher.cc |
+++ b/content/common/indexed_db/indexed_db_dispatcher.cc |
@@ -354,22 +354,6 @@ void IndexedDBDispatcher::RequestIDBIndexCount( |
} |
void IndexedDBDispatcher::RequestIDBIndexGetObject( |
- const IndexedDBKey& key, |
- WebIDBCallbacks* callbacks_ptr, |
- int32 idb_index_id, |
- const WebIDBTransaction& transaction, |
- WebExceptionCode* ec) { |
- ResetCursorPrefetchCaches(); |
- scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr); |
- int32 response_id = pending_callbacks_.Add(callbacks.release()); |
- Send(new IndexedDBHostMsg_IndexGetObject(idb_index_id, CurrentWorkerId(), |
- response_id, key, |
- TransactionId(transaction), ec)); |
- if (*ec) |
- pending_callbacks_.Remove(response_id); |
-} |
- |
-void IndexedDBDispatcher::RequestIDBIndexGetObjectByRange( |
const IndexedDBKeyRange& key_range, |
WebIDBCallbacks* callbacks_ptr, |
int32 idb_index_id, |
@@ -378,7 +362,7 @@ void IndexedDBDispatcher::RequestIDBIndexGetObjectByRange( |
ResetCursorPrefetchCaches(); |
scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr); |
int32 response_id = pending_callbacks_.Add(callbacks.release()); |
- Send(new IndexedDBHostMsg_IndexGetObjectByRange( |
+ Send(new IndexedDBHostMsg_IndexGetObject( |
idb_index_id, CurrentWorkerId(), |
response_id, key_range, |
TransactionId(transaction), ec)); |
@@ -387,22 +371,6 @@ void IndexedDBDispatcher::RequestIDBIndexGetObjectByRange( |
} |
void IndexedDBDispatcher::RequestIDBIndexGetKey( |
- const IndexedDBKey& key, |
- WebIDBCallbacks* callbacks_ptr, |
- int32 idb_index_id, |
- const WebIDBTransaction& transaction, |
- WebExceptionCode* ec) { |
- ResetCursorPrefetchCaches(); |
- scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr); |
- int32 response_id = pending_callbacks_.Add(callbacks.release()); |
- Send(new IndexedDBHostMsg_IndexGetKey( |
- idb_index_id, CurrentWorkerId(), response_id, key, |
- TransactionId(transaction), ec)); |
- if (*ec) |
- pending_callbacks_.Remove(response_id); |
-} |
- |
-void IndexedDBDispatcher::RequestIDBIndexGetKeyByRange( |
const IndexedDBKeyRange& key_range, |
WebIDBCallbacks* callbacks_ptr, |
int32 idb_index_id, |
@@ -411,7 +379,7 @@ void IndexedDBDispatcher::RequestIDBIndexGetKeyByRange( |
ResetCursorPrefetchCaches(); |
scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr); |
int32 response_id = pending_callbacks_.Add(callbacks.release()); |
- Send(new IndexedDBHostMsg_IndexGetKeyByRange( |
+ Send(new IndexedDBHostMsg_IndexGetKey( |
idb_index_id, CurrentWorkerId(), response_id, key_range, |
TransactionId(transaction), ec)); |
if (*ec) |
@@ -419,23 +387,6 @@ void IndexedDBDispatcher::RequestIDBIndexGetKeyByRange( |
} |
void IndexedDBDispatcher::RequestIDBObjectStoreGet( |
- const IndexedDBKey& key, |
- 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_ObjectStoreGet( |
- idb_object_store_id, CurrentWorkerId(), response_id, |
- key, TransactionId(transaction), ec)); |
- if (*ec) |
- pending_callbacks_.Remove(response_id); |
-} |
- |
-void IndexedDBDispatcher::RequestIDBObjectStoreGetByRange( |
const IndexedDBKeyRange& key_range, |
WebIDBCallbacks* callbacks_ptr, |
int32 idb_object_store_id, |
@@ -445,7 +396,7 @@ void IndexedDBDispatcher::RequestIDBObjectStoreGetByRange( |
scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr); |
int32 response_id = pending_callbacks_.Add(callbacks.release()); |
- Send(new IndexedDBHostMsg_ObjectStoreGetByRange( |
+ Send(new IndexedDBHostMsg_ObjectStoreGet( |
idb_object_store_id, CurrentWorkerId(), response_id, |
key_range, TransactionId(transaction), ec)); |
if (*ec) |