| 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 47da0df6f7e94373aff6440d1f0632d3728d2298..bc1e37cda6dd61bf965b0dd8309374d17f65018e 100644
|
| --- a/content/common/indexed_db/proxy_webidbobjectstore_impl.cc
|
| +++ b/content/common/indexed_db/proxy_webidbobjectstore_impl.cc
|
| @@ -78,6 +78,28 @@ void RendererWebIDBObjectStoreImpl::putWithIndexKeys(
|
| indexNames, indexKeys, &ec);
|
| }
|
|
|
| +void RendererWebIDBObjectStoreImpl::setIndexKeys(
|
| + const WebKit::WebIDBKey& primaryKey,
|
| + const WebKit::WebVector<WebKit::WebString>& indexNames,
|
| + const WebKit::WebVector<WebIndexKeys>& indexKeys,
|
| + const WebKit::WebIDBTransaction& transaction) {
|
| + IndexedDBDispatcher* dispatcher =
|
| + IndexedDBDispatcher::ThreadSpecificInstance();
|
| + dispatcher->RequestIDBObjectStoreSetIndexKeys(
|
| + idb_object_store_id_, IndexedDBKey(primaryKey), indexNames, indexKeys,
|
| + transaction);
|
| +}
|
| +
|
| +void RendererWebIDBObjectStoreImpl::setIndexesReady(
|
| + const WebKit::WebVector<WebKit::WebString>& indexNames,
|
| + const WebKit::WebIDBTransaction& transaction) {
|
| + IndexedDBDispatcher* dispatcher =
|
| + IndexedDBDispatcher::ThreadSpecificInstance();
|
| + dispatcher->RequestIDBObjectStoreSetIndexesReady(
|
| + idb_object_store_id_, indexNames, transaction);
|
| +}
|
| +
|
| +
|
| void RendererWebIDBObjectStoreImpl::deleteFunction(
|
| const WebIDBKeyRange& key_range,
|
| WebIDBCallbacks* callbacks,
|
| @@ -147,14 +169,28 @@ void RendererWebIDBObjectStoreImpl::deleteIndex(
|
|
|
| void RendererWebIDBObjectStoreImpl::openCursor(
|
| const WebIDBKeyRange& idb_key_range,
|
| - unsigned short direction, WebIDBCallbacks* callbacks,
|
| + WebKit::WebIDBCursor::Direction direction, WebIDBCallbacks* callbacks,
|
| + WebKit::WebIDBTransaction::TaskType task_type,
|
| const WebIDBTransaction& transaction,
|
| WebExceptionCode& ec) {
|
| IndexedDBDispatcher* dispatcher =
|
| IndexedDBDispatcher::ThreadSpecificInstance();
|
| dispatcher->RequestIDBObjectStoreOpenCursor(
|
| idb_key_range, direction, callbacks, idb_object_store_id_,
|
| - transaction, &ec);
|
| + task_type, transaction, &ec);
|
| +}
|
| +
|
| +void RendererWebIDBObjectStoreImpl::openCursor(
|
| + const WebIDBKeyRange& idb_key_range,
|
| + unsigned short direction, WebIDBCallbacks* callbacks,
|
| + const WebIDBTransaction& transaction,
|
| + WebExceptionCode& ec) {
|
| + IndexedDBDispatcher* dispatcher =
|
| + IndexedDBDispatcher::ThreadSpecificInstance();
|
| + dispatcher->RequestIDBObjectStoreOpenCursor(
|
| + idb_key_range, static_cast<WebKit::WebIDBCursor::Direction>(direction),
|
| + callbacks, idb_object_store_id_,
|
| + WebKit::WebIDBTransaction::NormalTask, transaction, &ec);
|
| }
|
|
|
| void RendererWebIDBObjectStoreImpl::count(
|
|
|