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

Unified Diff: content/common/indexed_db/proxy_webidbdatabase_impl.cc

Issue 11312178: Remove legacy IDB backend IPC glue for string-based references. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add crbug link 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 215606736bc631a61d11f50540c21553fa1dd75c..881af7c3f76f9f87a5f3d21a7df8838a72f20213 100644
--- a/content/common/indexed_db/proxy_webidbdatabase_impl.cc
+++ b/content/common/indexed_db/proxy_webidbdatabase_impl.cc
@@ -117,16 +117,6 @@ WebKit::WebIDBObjectStore* RendererWebIDBDatabaseImpl::createObjectStore(
}
void RendererWebIDBDatabaseImpl::deleteObjectStore(
- const WebString& name,
- const WebIDBTransaction& transaction,
- WebExceptionCode& ec) {
- IndexedDBDispatcher::Send(
- new IndexedDBHostMsg_DatabaseDeleteObjectStoreOld(
- idb_database_id_, name,
- IndexedDBDispatcher::TransactionId(transaction), &ec));
-}
-
-void RendererWebIDBDatabaseImpl::deleteObjectStore(
long long object_store_id,
const WebIDBTransaction& transaction,
WebExceptionCode& ec) {
@@ -147,24 +137,6 @@ void RendererWebIDBDatabaseImpl::setVersion(
}
WebKit::WebIDBTransaction* RendererWebIDBDatabaseImpl::transaction(
- const WebDOMStringList& names,
- unsigned short mode,
- WebExceptionCode& ec) {
- std::vector<string16> object_stores;
- object_stores.reserve(names.length());
- for (unsigned int i = 0; i < names.length(); ++i)
- object_stores.push_back(names.item(i));
-
- int transaction_id;
- IndexedDBDispatcher::Send(new IndexedDBHostMsg_DatabaseTransactionOld(
- WorkerTaskRunner::Instance()->CurrentWorkerId(),
- idb_database_id_, object_stores, mode, &transaction_id, &ec));
- if (!transaction_id)
- return NULL;
- return new RendererWebIDBTransactionImpl(transaction_id);
-}
-
-WebKit::WebIDBTransaction* RendererWebIDBDatabaseImpl::transaction(
const WebVector<long long>& object_store_ids,
unsigned short mode) {
std::vector<int64> object_stores;
« no previous file with comments | « content/common/indexed_db/proxy_webidbdatabase_impl.h ('k') | content/common/indexed_db/proxy_webidbobjectstore_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698