Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(975)

Unified Diff: content/renderer/indexed_db_dispatcher.cc

Issue 7550055: Remove idb transaction callbacks onTimeout stuff that was removed from the spec. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove message definition Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/indexed_db_dispatcher.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/indexed_db_dispatcher.cc
diff --git a/content/renderer/indexed_db_dispatcher.cc b/content/renderer/indexed_db_dispatcher.cc
index 06c2be03d2aa731c89356b7c211781b48c4191b8..ff48f9dcbdfa8a4114be2ba6f5054281306bedf3 100644
--- a/content/renderer/indexed_db_dispatcher.cc
+++ b/content/renderer/indexed_db_dispatcher.cc
@@ -55,7 +55,6 @@ bool IndexedDBDispatcher::OnMessageReceived(const IPC::Message& msg) {
IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksBlocked, OnBlocked)
IPC_MESSAGE_HANDLER(IndexedDBMsg_TransactionCallbacksAbort, OnAbort)
IPC_MESSAGE_HANDLER(IndexedDBMsg_TransactionCallbacksComplete, OnComplete)
- IPC_MESSAGE_HANDLER(IndexedDBMsg_TransactionCallbacksTimeout, OnTimeout)
IPC_MESSAGE_HANDLER(IndexedDBMsg_DatabaseCallbacksVersionChange,
OnVersionChange)
IPC_MESSAGE_UNHANDLED(handled = false)
@@ -437,13 +436,6 @@ void IndexedDBDispatcher::OnComplete(int32 transaction_id) {
pending_transaction_callbacks_.Remove(transaction_id);
}
-void IndexedDBDispatcher::OnTimeout(int32 transaction_id) {
- WebIDBTransactionCallbacks* callbacks =
- pending_transaction_callbacks_.Lookup(transaction_id);
- callbacks->onTimeout();
- pending_transaction_callbacks_.Remove(transaction_id);
-}
-
void IndexedDBDispatcher::OnVersionChange(int32 database_id,
const string16& newVersion) {
WebIDBDatabaseCallbacks* callbacks =
« no previous file with comments | « content/renderer/indexed_db_dispatcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698