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.h | |
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.h')
-rw-r--r-- | chrome/renderer/indexed_db_dispatcher.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/renderer/indexed_db_dispatcher.h b/chrome/renderer/indexed_db_dispatcher.h index c2602e0..5c04180 100644 --- a/chrome/renderer/indexed_db_dispatcher.h +++ b/chrome/renderer/indexed_db_dispatcher.h @@ -11,7 +11,6 @@ #include "ipc/ipc_message.h" #include "third_party/WebKit/WebKit/chromium/public/WebIDBCallbacks.h" #include "third_party/WebKit/WebKit/chromium/public/WebIDBDatabase.h" -#include "third_party/WebKit/WebKit/chromium/public/WebIDBTransactionCallbacks.h" class IndexedDBKey; class SerializedScriptValue; @@ -70,9 +69,6 @@ class IndexedDBDispatcher { const WebKit::WebIDBKeyRange& idb_key_range, unsigned short direction, WebKit::WebIDBCallbacks* callbacks, int32 idb_object_store_id); - void RequestIDBTransactionSetCallbacks( - WebKit::WebIDBTransactionCallbacks* callbacks); - private: // IDBCallback message handlers. void OnSuccessNull(int32 response_id); @@ -84,13 +80,10 @@ class IndexedDBDispatcher { void OnSuccessSerializedScriptValue(int32 response_id, const SerializedScriptValue& value); void OnError(int32 response_id, int code, const string16& message); - void OnAbort(int transaction_id); // Careful! WebIDBCallbacks wraps non-threadsafe data types. It must be // destroyed and used on the same thread it was created on. IDMap<WebKit::WebIDBCallbacks, IDMapOwnPointer> pending_callbacks_; - IDMap<WebKit::WebIDBTransactionCallbacks, IDMapOwnPointer> - pending_transaction_callbacks_; DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); }; |