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

Unified Diff: content/browser/in_process_webkit/indexed_db_dispatcher_host.cc

Issue 10786043: call putWithIndexKeys from chrome (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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 | « no previous file | content/common/indexed_db/indexed_db_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
index d534692136e89be5047fd0ffe4e8ec5ce189fdfe..45b0d6b0fdc5afe397a2142a3365bda061feb581 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
@@ -711,9 +711,10 @@ void IndexedDBDispatcherHost::ObjectStoreDispatcherHost::OnPut(
scoped_ptr<WebIDBCallbacks> callbacks(
new IndexedDBCallbacks<WebIDBKey>(parent_, params.thread_id,
params.response_id));
- // TODO(alecflett): switch to putWithIndexKeys when available.
- idb_object_store->put(params.serialized_value, params.key, params.put_mode,
- callbacks.release(), *idb_transaction, *ec);
+ idb_object_store->putWithIndexKeys(params.serialized_value, params.key,
+ params.put_mode, callbacks.release(),
+ *idb_transaction, params.index_names,
+ params.index_keys, *ec);
if (*ec)
return;
int64 size = UTF16ToUTF8(params.serialized_value.data()).size();
« no previous file with comments | « no previous file | content/common/indexed_db/indexed_db_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698