diff options
author | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 16:22:34 +0000 |
---|---|---|
committer | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 16:22:34 +0000 |
commit | 826161f8cb3f8963786aef897bbc8b90f0a43a92 (patch) | |
tree | ac2f47b87fa8a201bd1f3d0e267fa2b8adb9abe9 /chrome/renderer/indexed_db_dispatcher.cc | |
parent | 1f79401611f73ac332233ce35ef1c29b7c7af0c2 (diff) | |
download | chromium_src-826161f8cb3f8963786aef897bbc8b90f0a43a92.zip chromium_src-826161f8cb3f8963786aef897bbc8b90f0a43a92.tar.gz chromium_src-826161f8cb3f8963786aef897bbc8b90f0a43a92.tar.bz2 |
Revert 56862 - Add transaction coordinator. Allow idle transactions to be aborted when their parent JS context finishes executing.
This change depends on the following WebKit bug:
https://bugs.webkit.org/show_bug.cgi?id=44101
Review URL: http://codereview.chromium.org/3165026
TBR=andreip@chromium.org
Review URL: http://codereview.chromium.org/3107029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56863 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/indexed_db_dispatcher.cc')
-rw-r--r-- | chrome/renderer/indexed_db_dispatcher.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/renderer/indexed_db_dispatcher.cc b/chrome/renderer/indexed_db_dispatcher.cc index e79ed33..1087eec 100644 --- a/chrome/renderer/indexed_db_dispatcher.cc +++ b/chrome/renderer/indexed_db_dispatcher.cc @@ -51,8 +51,6 @@ bool IndexedDBDispatcher::OnMessageReceived(const IPC::Message& msg) { OnSuccessSerializedScriptValue) IPC_MESSAGE_HANDLER(ViewMsg_IDBCallbacksError, OnError) - IPC_MESSAGE_HANDLER(ViewMsg_IDBTransactionCallbacksAbort, - OnAbort) IPC_MESSAGE_UNHANDLED(handled = false) IPC_END_MESSAGE_MAP() return handled; @@ -179,11 +177,6 @@ void IndexedDBDispatcher::RequestIDBObjectStoreOpenCursor( new ViewHostMsg_IDBObjectStoreOpenCursor(params)); } -void IndexedDBDispatcher::RequestIDBTransactionSetCallbacks( - WebKit::WebIDBTransactionCallbacks* callbacks) { - pending_transaction_callbacks_.AddWithID(callbacks, callbacks->id()); -} - void IndexedDBDispatcher::OnSuccessNull(int32 response_id) { WebKit::WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(response_id); callbacks->onSuccess(); @@ -239,11 +232,3 @@ void IndexedDBDispatcher::OnError(int32 response_id, int code, callbacks->onError(WebIDBDatabaseError(code, message)); pending_callbacks_.Remove(response_id); } - -void IndexedDBDispatcher::OnAbort(int transaction_id) { - WebKit::WebIDBTransactionCallbacks* callbacks = - pending_transaction_callbacks_.Lookup(transaction_id); - DCHECK(callbacks); - callbacks->onAbort(); - pending_transaction_callbacks_.Remove(transaction_id); -}
\ No newline at end of file |