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

Unified Diff: content/common/indexed_db/proxy_webidbdatabase_impl.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/common/indexed_db/proxy_webidbdatabase_impl.cc
diff --git a/content/common/indexed_db/proxy_webidbdatabase_impl.cc b/content/common/indexed_db/proxy_webidbdatabase_impl.cc
index 2a2d86ef8857cc3f58070788d48054fb2f19f9d7..9b9fbf7ccb81034eedf398b3dc312c4fc33d7b2f 100644
--- a/content/common/indexed_db/proxy_webidbdatabase_impl.cc
+++ b/content/common/indexed_db/proxy_webidbdatabase_impl.cc
@@ -126,25 +126,6 @@ void RendererWebIDBDatabaseImpl::deleteObjectStore(
IndexedDBDispatcher::TransactionId(transaction), &ec));
}
-// TODO(alecflett): Remove this as part of
-// https://bugs.webkit.org/show_bug.cgi?id=102733.
-WebKit::WebIDBTransaction* RendererWebIDBDatabaseImpl::transaction(
- const WebVector<long long>& object_store_ids,
- unsigned short mode) {
- std::vector<int64> object_stores;
- object_stores.reserve(object_store_ids.size());
- for (unsigned int i = 0; i < object_store_ids.size(); ++i)
- object_stores.push_back(object_store_ids[i]);
-
- int ipc_transaction_id;
- IndexedDBDispatcher::Send(new IndexedDBHostMsg_DatabaseTransactionOld(
- WorkerTaskRunner::Instance()->CurrentWorkerId(),
- idb_database_id_, object_stores, mode, &ipc_transaction_id));
- if (!ipc_transaction_id)
- return NULL;
- return new RendererWebIDBTransactionImpl(ipc_transaction_id);
-}
-
WebKit::WebIDBTransaction* RendererWebIDBDatabaseImpl::createTransaction(
long long transaction_id,
const WebVector<long long>& object_store_ids,

Powered by Google App Engine
This is Rietveld 408576698