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

Unified Diff: content/browser/in_process_webkit/indexed_db_dispatcher_host.cc

Issue 11348254: Remove old transaction() call, proxies, and messages. (Closed) Base URL: http://git.chromium.org/chromium/src.git@create-transaction-int
Patch Set: update to ToT for landing Created 8 years, 1 month 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
Index: content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
index 0738f7e6d806b550278009ff8311815de9c484ea..36d0032d80010f1e3b85da7b49f256dfeb13b452 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
@@ -315,9 +315,6 @@ bool IndexedDBDispatcherHost::DatabaseDispatcherHost::OnMessageReceived(
OnCreateObjectStore)
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_DatabaseDeleteObjectStore,
OnDeleteObjectStore)
- // TODO(alecflett): Remove this as part of
- // https://bugs.webkit.org/show_bug.cgi?id=102733.
- IPC_MESSAGE_HANDLER(IndexedDBHostMsg_DatabaseTransactionOld, OnTransaction)
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_DatabaseCreateTransaction,
OnCreateTransaction)
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_DatabaseClose, OnClose)
@@ -410,29 +407,6 @@ void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnDeleteObjectStore(
idb_database->deleteObjectStore(index_id, *idb_transaction, *ec);
}
-// TODO(alecflett): Remove this as part of
-// https://bugs.webkit.org/show_bug.cgi?id=102733.
-void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnTransaction(
- int32 thread_id,
- int32 idb_database_id,
- const std::vector<int64>& object_store_ids,
- int32 mode,
- int32* idb_transaction_id) {
- WebIDBDatabase* database = parent_->GetOrTerminateProcess(
- &map_, idb_database_id);
- if (!database)
- return;
-
- WebVector<long long> object_stores(object_store_ids.size());
- for (size_t i = 0; i < object_store_ids.size(); ++i)
- object_stores[i] = object_store_ids[i];
-
- WebIDBTransaction* transaction = database->transaction(
- object_stores, mode);
- *idb_transaction_id = parent_->Add(transaction, thread_id,
- database_url_map_[idb_database_id]);
-}
-
void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnCreateTransaction(
int32 thread_id,
int32 idb_database_id,

Powered by Google App Engine
This is Rietveld 408576698