Index: chrome/renderer/indexed_db_dispatcher.h |
diff --git a/chrome/renderer/indexed_db_dispatcher.h b/chrome/renderer/indexed_db_dispatcher.h |
index 5c041802715d78f1588e0dbacc9015da1b4e0ba0..c2602e0e6fde3fa500b9658e53880d9931939de8 100644 |
--- a/chrome/renderer/indexed_db_dispatcher.h |
+++ b/chrome/renderer/indexed_db_dispatcher.h |
@@ -11,6 +11,7 @@ |
#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; |
@@ -69,6 +70,9 @@ 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); |
@@ -80,10 +84,13 @@ 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); |
}; |