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

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

Issue 10179003: IndexedDB: remove proxy and IPC code for the IDBKey-based get/getKey. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Updated formatting Created 8 years, 8 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
Index: content/common/indexed_db/proxy_webidbindex_impl.cc
diff --git a/content/common/indexed_db/proxy_webidbindex_impl.cc b/content/common/indexed_db/proxy_webidbindex_impl.cc
index 9171e27b48b7cbb02f304f9f6ccc5573abc55554..ef9b4f6087f5e4bb1c80aae2bacef666b47aa58e 100644
--- a/content/common/indexed_db/proxy_webidbindex_impl.cc
+++ b/content/common/indexed_db/proxy_webidbindex_impl.cc
@@ -100,45 +100,23 @@ void RendererWebIDBIndexImpl::count(
}
void RendererWebIDBIndexImpl::getObject(
- const WebKit::WebIDBKey& key,
- WebKit::WebIDBCallbacks* callbacks,
- const WebKit::WebIDBTransaction& transaction,
- WebExceptionCode& ec) {
- IndexedDBDispatcher* dispatcher =
- IndexedDBDispatcher::ThreadSpecificInstance();
- dispatcher->RequestIDBIndexGetObject(
- IndexedDBKey(key), callbacks, idb_index_id_, transaction, &ec);
-}
-
-void RendererWebIDBIndexImpl::getObject(
const WebKit::WebIDBKeyRange& key_range,
WebKit::WebIDBCallbacks* callbacks,
const WebKit::WebIDBTransaction& transaction,
WebExceptionCode& ec) {
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance();
- dispatcher->RequestIDBIndexGetObjectByRange(
+ dispatcher->RequestIDBIndexGetObject(
IndexedDBKeyRange(key_range), callbacks, idb_index_id_, transaction, &ec);
}
void RendererWebIDBIndexImpl::getKey(
- const WebKit::WebIDBKey& key,
- WebKit::WebIDBCallbacks* callbacks,
- const WebKit::WebIDBTransaction& transaction,
- WebExceptionCode& ec) {
- IndexedDBDispatcher* dispatcher =
- IndexedDBDispatcher::ThreadSpecificInstance();
- dispatcher->RequestIDBIndexGetKey(
- IndexedDBKey(key), callbacks, idb_index_id_, transaction, &ec);
-}
-
-void RendererWebIDBIndexImpl::getKey(
const WebKit::WebIDBKeyRange& key_range,
WebKit::WebIDBCallbacks* callbacks,
const WebKit::WebIDBTransaction& transaction,
WebExceptionCode& ec) {
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance();
- dispatcher->RequestIDBIndexGetKeyByRange(
+ dispatcher->RequestIDBIndexGetKey(
IndexedDBKeyRange(key_range), callbacks, idb_index_id_, transaction, &ec);
}
« no previous file with comments | « content/common/indexed_db/proxy_webidbindex_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