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

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

Issue 9389025: IndexedDB: Implement IPC plumbing for IDBObjectStore.delete(IDBKeyRange) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename to avoid overloading, remove bad includes Created 8 years, 10 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/common/indexed_db/proxy_webidbobjectstore_impl.h ('k') | content/content_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/indexed_db/proxy_webidbobjectstore_impl.cc
diff --git a/content/common/indexed_db/proxy_webidbobjectstore_impl.cc b/content/common/indexed_db/proxy_webidbobjectstore_impl.cc
index ed70c41338f51ae5ae64f56bc49961145aa327a9..5340db66a1c07aefeda8ba9dbe70128e1c22dde4 100644
--- a/content/common/indexed_db/proxy_webidbobjectstore_impl.cc
+++ b/content/common/indexed_db/proxy_webidbobjectstore_impl.cc
@@ -105,6 +105,18 @@ void RendererWebIDBObjectStoreImpl::deleteFunction(
IndexedDBKey(key), callbacks, idb_object_store_id_, transaction, &ec);
}
+void RendererWebIDBObjectStoreImpl::deleteFunction(
+ const WebIDBKeyRange& key_range,
+ WebIDBCallbacks* callbacks,
+ const WebIDBTransaction& transaction,
+ WebExceptionCode& ec) {
+ IndexedDBDispatcher* dispatcher =
+ IndexedDBDispatcher::ThreadSpecificInstance();
+ dispatcher->RequestIDBObjectStoreDeleteRange(
+ IndexedDBKeyRange(key_range), callbacks, idb_object_store_id_,
+ transaction, &ec);
+}
+
void RendererWebIDBObjectStoreImpl::clear(
WebIDBCallbacks* callbacks,
const WebIDBTransaction& transaction,
« no previous file with comments | « content/common/indexed_db/proxy_webidbobjectstore_impl.h ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698