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

Unified Diff: content/common/indexed_db/indexed_db_messages.h

Issue 10759012: Chromium side of plumbing for passing renderer-generated keys through IPC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Include unit tests too 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
Index: content/common/indexed_db/indexed_db_messages.h
diff --git a/content/common/indexed_db/indexed_db_messages.h b/content/common/indexed_db/indexed_db_messages.h
index 5ed579e61b5a525a1393353680e837db8517a408..7a750376fbc7e87c81a0ceccc23e2c63589c6b08 100644
--- a/content/common/indexed_db/indexed_db_messages.h
+++ b/content/common/indexed_db/indexed_db_messages.h
@@ -110,6 +110,12 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStorePut_Params)
IPC_STRUCT_MEMBER(content::IndexedDBKey, key)
// Whether this is an add or a put.
IPC_STRUCT_MEMBER(WebKit::WebIDBObjectStore::PutMode, put_mode)
+ // The names of the indexes used below.
+ IPC_STRUCT_MEMBER(std::vector<string16>, index_names)
+ // The keys for each index, such that each inner vector corresponds
+ // to each index named in index_names, respectively.
+ IPC_STRUCT_MEMBER(std::vector<std::vector<content::IndexedDBKey> >,
+ index_keys)
// The transaction it's associated with.
IPC_STRUCT_MEMBER(int, transaction_id)
IPC_STRUCT_END()
« no previous file with comments | « content/common/indexed_db/indexed_db_dispatcher_unittest.cc ('k') | content/common/indexed_db/proxy_webidbobjectstore_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698