| Index: chrome/renderer/indexed_db_dispatcher.cc
|
| diff --git a/chrome/renderer/indexed_db_dispatcher.cc b/chrome/renderer/indexed_db_dispatcher.cc
|
| index 8863b9acb78b566f8ff2919b4be17637e4304384..f612dc7475517aed43ab302662756863ac8adf6e 100644
|
| --- a/chrome/renderer/indexed_db_dispatcher.cc
|
| +++ b/chrome/renderer/indexed_db_dispatcher.cc
|
| @@ -52,6 +52,7 @@ bool IndexedDBDispatcher::OnMessageReceived(const IPC::Message& msg) {
|
| IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksSuccessSerializedScriptValue,
|
| OnSuccessSerializedScriptValue)
|
| IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksError, OnError)
|
| + IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksBlocked, OnBlocked)
|
| IPC_MESSAGE_HANDLER(IndexedDBMsg_TransactionCallbacksAbort, OnAbort)
|
| IPC_MESSAGE_HANDLER(IndexedDBMsg_TransactionCallbacksComplete, OnComplete)
|
| IPC_MESSAGE_HANDLER(IndexedDBMsg_TransactionCallbacksTimeout, OnTimeout)
|
| @@ -377,6 +378,11 @@ void IndexedDBDispatcher::OnSuccessOpenCursor(int32 repsonse_id,
|
| pending_callbacks_.Remove(repsonse_id);
|
| }
|
|
|
| +void IndexedDBDispatcher::OnBlocked(int32 response_id) {
|
| + WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(response_id);
|
| + callbacks->onBlocked();
|
| +}
|
| +
|
| void IndexedDBDispatcher::OnError(int32 response_id, int code,
|
| const string16& message) {
|
| WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(response_id);
|
|
|