Commit d3bdf54e authored by jsbell@chromium.org's avatar jsbell@chromium.org

IndexedDB: Delete old IPC plumbing following WK99097

R=dgrogan@chromium.org
BUG=113118


Review URL: https://chromiumcodereview.appspot.com/11193003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162385 0039d316-1c4b-4281-b951-d872f2087c98
parent 75dae500
......@@ -19,13 +19,6 @@ IndexedDBTransactionCallbacks::IndexedDBTransactionCallbacks(
IndexedDBTransactionCallbacks::~IndexedDBTransactionCallbacks() {
}
// TODO(jsbell): Remove once WK99097 has landed.
void IndexedDBTransactionCallbacks::onAbort() {
dispatcher_host_->Send(
new IndexedDBMsg_TransactionCallbacksAbortLegacy(
thread_id_, transaction_id_));
}
void IndexedDBTransactionCallbacks::onAbort(
const WebKit::WebIDBDatabaseError& error) {
dispatcher_host_->Send(
......
......@@ -20,8 +20,6 @@ class IndexedDBTransactionCallbacks
virtual ~IndexedDBTransactionCallbacks();
// TODO(jsbell): Remove once WK99097 has landed.
virtual void onAbort();
virtual void onAbort(const WebKit::WebIDBDatabaseError& error);
virtual void onComplete();
......
......@@ -105,8 +105,6 @@ void IndexedDBDispatcher::OnMessageReceived(const IPC::Message& msg) {
IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksBlocked, OnBlocked)
IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksIntBlocked, OnIntBlocked)
IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksUpgradeNeeded, OnUpgradeNeeded)
IPC_MESSAGE_HANDLER(IndexedDBMsg_TransactionCallbacksAbortLegacy,
OnAbortLegacy)
IPC_MESSAGE_HANDLER(IndexedDBMsg_TransactionCallbacksAbort, OnAbort)
IPC_MESSAGE_HANDLER(IndexedDBMsg_TransactionCallbacksComplete, OnComplete)
IPC_MESSAGE_HANDLER(IndexedDBMsg_DatabaseCallbacksForcedClose,
......@@ -689,17 +687,6 @@ void IndexedDBDispatcher::OnError(int32 thread_id, int32 response_id, int code,
pending_callbacks_.Remove(response_id);
}
// TODO(jsbell): Remove once WK99097 has landed.
void IndexedDBDispatcher::OnAbortLegacy(int32 thread_id, int32 transaction_id) {
DCHECK_EQ(thread_id, CurrentWorkerId());
WebIDBTransactionCallbacks* callbacks =
pending_transaction_callbacks_.Lookup(transaction_id);
if (!callbacks)
return;
callbacks->onAbort();
pending_transaction_callbacks_.Remove(transaction_id);
}
void IndexedDBDispatcher::OnAbort(int32 thread_id, int32 transaction_id,
int code, const string16& message) {
DCHECK_EQ(thread_id, CurrentWorkerId());
......
......@@ -256,8 +256,6 @@ class CONTENT_EXPORT IndexedDBDispatcher
int32 transaction_id,
int32 database_id,
int64 old_version);
// TODO(jsbell): Remove once WK99097 has landed.
void OnAbortLegacy(int32 thread_id, int32 transaction_id);
void OnAbort(int32 thread_id,
int32 transaction_id,
int code,
......
......@@ -271,10 +271,6 @@ IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksUpgradeNeeded,
int64) /* old_version */
// IDBTransactionCallback message handlers.
// TODO(jsbell): Remove once WK99097 has landed.
IPC_MESSAGE_CONTROL2(IndexedDBMsg_TransactionCallbacksAbortLegacy,
int32 /* thread_id */,
int32 /* transaction_id */)
IPC_MESSAGE_CONTROL4(IndexedDBMsg_TransactionCallbacksAbort,
int32 /* thread_id */,
int32 /* transaction_id */,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment