| 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 b666afe444514f0127de73e60bfaa824b03cca11..b52da0778b061e4328b7654f2350906b79858e74 100644
|
| --- a/content/common/indexed_db/indexed_db_dispatcher.cc
|
| +++ b/content/common/indexed_db/indexed_db_dispatcher.cc
|
| @@ -101,8 +101,6 @@ void IndexedDBDispatcher::OnMessageReceived(const IPC::Message& msg) {
|
| OnSuccessIDBDatabase)
|
| IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksSuccessIndexedDBKey,
|
| OnSuccessIndexedDBKey)
|
| - IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksSuccessIDBTransaction,
|
| - OnSuccessIDBTransaction)
|
| IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksSuccessStringList,
|
| OnSuccessStringList)
|
| IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksSuccessSerializedScriptValue,
|
| @@ -278,22 +276,6 @@ void IndexedDBDispatcher::RequestIDBDatabaseClose(int32 idb_database_id) {
|
| pending_database_callbacks_.Remove(idb_database_id);
|
| }
|
|
|
| -void IndexedDBDispatcher::RequestIDBDatabaseSetVersion(
|
| - const string16& version,
|
| - WebIDBCallbacks* callbacks_ptr,
|
| - int32 idb_database_id,
|
| - WebExceptionCode* ec) {
|
| - ResetCursorPrefetchCaches();
|
| - scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr);
|
| -
|
| - int32 response_id = pending_callbacks_.Add(callbacks.release());
|
| - Send(new IndexedDBHostMsg_DatabaseSetVersion(idb_database_id,
|
| - CurrentWorkerId(),
|
| - response_id, version, ec));
|
| - if (*ec)
|
| - pending_callbacks_.Remove(response_id);
|
| -}
|
| -
|
| void IndexedDBDispatcher::RequestIDBIndexOpenObjectCursor(
|
| const WebIDBKeyRange& idb_key_range,
|
| unsigned short direction,
|
| @@ -544,17 +526,6 @@ void IndexedDBDispatcher::OnSuccessIndexedDBKey(
|
| pending_callbacks_.Remove(response_id);
|
| }
|
|
|
| -void IndexedDBDispatcher::OnSuccessIDBTransaction(int32 thread_id,
|
| - int32 response_id,
|
| - int32 object_id) {
|
| - DCHECK_EQ(thread_id, CurrentWorkerId());
|
| - WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(response_id);
|
| - if (!callbacks)
|
| - return;
|
| - callbacks->onSuccess(new RendererWebIDBTransactionImpl(object_id));
|
| - pending_callbacks_.Remove(response_id);
|
| -}
|
| -
|
| void IndexedDBDispatcher::OnSuccessStringList(
|
| int32 thread_id, int32 response_id, const std::vector<string16>& value) {
|
| DCHECK_EQ(thread_id, CurrentWorkerId());
|
|
|