| 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 a21e99fab1964bebe8c2e92c4eea6adffaf32cd7..1c64006d768c96ccceb11abfa78f0167bf2a0aa2 100644
|
| --- a/content/common/indexed_db/proxy_webidbobjectstore_impl.cc
|
| +++ b/content/common/indexed_db/proxy_webidbobjectstore_impl.cc
|
| @@ -62,23 +62,6 @@ void RendererWebIDBObjectStoreImpl::get(
|
| object_store_ipc_id_, transaction, &ec);
|
| }
|
|
|
| -void RendererWebIDBObjectStoreImpl::putWithIndexKeys(
|
| - const WebSerializedScriptValue& value,
|
| - const WebIDBKey& key,
|
| - PutMode put_mode,
|
| - WebIDBCallbacks* callbacks,
|
| - const WebIDBTransaction& transaction,
|
| - const WebVector<WebString>& index_names,
|
| - const WebVector<WebVector<WebIDBKey> >& index_keys,
|
| - WebExceptionCode& ec) {
|
| - IndexedDBDispatcher* dispatcher =
|
| - IndexedDBDispatcher::ThreadSpecificInstance();
|
| - dispatcher->RequestIDBObjectStorePut(
|
| - SerializedScriptValue(value), IndexedDBKey(key),
|
| - put_mode, callbacks, object_store_ipc_id_, transaction,
|
| - index_names, index_keys, &ec);
|
| -}
|
| -
|
| void RendererWebIDBObjectStoreImpl::put(
|
| const WebSerializedScriptValue& value,
|
| const WebIDBKey& key,
|
| @@ -97,32 +80,6 @@ void RendererWebIDBObjectStoreImpl::put(
|
|
|
| void RendererWebIDBObjectStoreImpl::setIndexKeys(
|
| const WebKit::WebIDBKey& primaryKey,
|
| - const WebKit::WebVector<WebKit::WebString>& index_names,
|
| - const WebKit::WebVector<WebIndexKeys>& index_keys,
|
| - const WebKit::WebIDBTransaction& transaction) {
|
| - std::vector<string16> index_names_list(index_names.size());
|
| - for (size_t i = 0; i < index_names.size(); ++i) {
|
| - index_names_list[i] = index_names[i];
|
| - }
|
| -
|
| - std::vector<std::vector<content::IndexedDBKey> >
|
| - index_keys_list(index_keys.size());
|
| - for (size_t i = 0; i < index_keys.size(); ++i) {
|
| - index_keys_list[i].resize(index_keys[i].size());
|
| - for (size_t j = 0; j < index_keys[i].size(); ++j) {
|
| - index_keys_list[i][j] = content::IndexedDBKey(index_keys[i][j]);
|
| - }
|
| - }
|
| - IndexedDBDispatcher::Send(new IndexedDBHostMsg_ObjectStoreSetIndexKeysOld(
|
| - object_store_ipc_id_,
|
| - IndexedDBKey(primaryKey),
|
| - index_names_list,
|
| - index_keys_list,
|
| - IndexedDBDispatcher::TransactionId(transaction)));
|
| -}
|
| -
|
| -void RendererWebIDBObjectStoreImpl::setIndexKeys(
|
| - const WebKit::WebIDBKey& primaryKey,
|
| const WebKit::WebVector<long long>& index_ids,
|
| const WebKit::WebVector<WebIndexKeys>& index_keys,
|
| const WebKit::WebIDBTransaction& transaction) {
|
| @@ -148,20 +105,6 @@ void RendererWebIDBObjectStoreImpl::setIndexKeys(
|
| }
|
|
|
| void RendererWebIDBObjectStoreImpl::setIndexesReady(
|
| - const WebKit::WebVector<WebKit::WebString>& index_names,
|
| - const WebKit::WebIDBTransaction& transaction) {
|
| -
|
| - std::vector<string16> index_name_list(index_names.size());
|
| - for (size_t i = 0; i < index_names.size(); ++i) {
|
| - index_name_list[i] = index_names[i];
|
| - }
|
| -
|
| - IndexedDBDispatcher::Send(new IndexedDBHostMsg_ObjectStoreSetIndexesReadyOld(
|
| - object_store_ipc_id_,
|
| - index_name_list, IndexedDBDispatcher::TransactionId(transaction)));
|
| -}
|
| -
|
| -void RendererWebIDBObjectStoreImpl::setIndexesReady(
|
| const WebKit::WebVector<long long>& index_ids,
|
| const WebKit::WebIDBTransaction& transaction) {
|
|
|
| @@ -223,18 +166,6 @@ WebIDBIndex* RendererWebIDBObjectStoreImpl::createIndex(
|
| }
|
|
|
| WebIDBIndex* RendererWebIDBObjectStoreImpl::index(
|
| - const WebString& name,
|
| - WebExceptionCode& ec) {
|
| - int32 idb_index_id;
|
| - IndexedDBDispatcher::Send(
|
| - new IndexedDBHostMsg_ObjectStoreIndexOld(object_store_ipc_id_, name,
|
| - &idb_index_id, &ec));
|
| - if (!idb_index_id)
|
| - return NULL;
|
| - return new RendererWebIDBIndexImpl(idb_index_id);
|
| -}
|
| -
|
| -WebIDBIndex* RendererWebIDBObjectStoreImpl::index(
|
| const long long index_id) {
|
| int32 idb_index_id;
|
| IndexedDBDispatcher::Send(
|
| @@ -246,16 +177,6 @@ WebIDBIndex* RendererWebIDBObjectStoreImpl::index(
|
| }
|
|
|
| void RendererWebIDBObjectStoreImpl::deleteIndex(
|
| - const WebString& name,
|
| - const WebIDBTransaction& transaction,
|
| - WebExceptionCode& ec) {
|
| - IndexedDBDispatcher::Send(
|
| - new IndexedDBHostMsg_ObjectStoreDeleteIndexOld(
|
| - object_store_ipc_id_, name,
|
| - IndexedDBDispatcher::TransactionId(transaction), &ec));
|
| -}
|
| -
|
| -void RendererWebIDBObjectStoreImpl::deleteIndex(
|
| long long index_id,
|
| const WebIDBTransaction& transaction,
|
| WebExceptionCode& ec) {
|
|
|