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

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

Issue 12326023: Proxy new WebData-based onSuccess() calls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix more .data()-related android bustage Created 7 years, 10 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 89519e35f469346d380030675c61349c7721cd02..c2a586f2f337e5fbc5130d032ff56745caf2973c 100644
--- a/content/common/indexed_db/indexed_db_messages.h
+++ b/content/common/indexed_db/indexed_db_messages.h
@@ -229,12 +229,30 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_DatabaseCreateIndex_Params)
IPC_STRUCT_MEMBER(bool, multi_entry)
IPC_STRUCT_END()
+IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessIDBCursorOld_Params)
+ IPC_STRUCT_MEMBER(int32, ipc_thread_id)
+ IPC_STRUCT_MEMBER(int32, ipc_response_id)
+ IPC_STRUCT_MEMBER(int32, ipc_cursor_id)
+ IPC_STRUCT_MEMBER(content::IndexedDBKey, key)
+ IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key)
+ IPC_STRUCT_MEMBER(content::SerializedScriptValue, serialized_value)
+IPC_STRUCT_END()
+
IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessIDBCursor_Params)
IPC_STRUCT_MEMBER(int32, ipc_thread_id)
IPC_STRUCT_MEMBER(int32, ipc_response_id)
IPC_STRUCT_MEMBER(int32, ipc_cursor_id)
IPC_STRUCT_MEMBER(content::IndexedDBKey, key)
IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key)
+ IPC_STRUCT_MEMBER(std::vector<char>, value)
+IPC_STRUCT_END()
+
+IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorContinueOld_Params)
+ IPC_STRUCT_MEMBER(int32, ipc_thread_id)
+ IPC_STRUCT_MEMBER(int32, ipc_response_id)
+ IPC_STRUCT_MEMBER(int32, ipc_cursor_id)
+ IPC_STRUCT_MEMBER(content::IndexedDBKey, key)
+ IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key)
IPC_STRUCT_MEMBER(content::SerializedScriptValue, serialized_value)
IPC_STRUCT_END()
@@ -244,10 +262,10 @@ IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorContinue_Params)
IPC_STRUCT_MEMBER(int32, ipc_cursor_id)
IPC_STRUCT_MEMBER(content::IndexedDBKey, key)
IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key)
- IPC_STRUCT_MEMBER(content::SerializedScriptValue, serialized_value)
+ IPC_STRUCT_MEMBER(std::vector<char>, value)
IPC_STRUCT_END()
-IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params)
+IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorPrefetchOld_Params)
IPC_STRUCT_MEMBER(int32, ipc_thread_id)
IPC_STRUCT_MEMBER(int32, ipc_response_id)
IPC_STRUCT_MEMBER(int32, ipc_cursor_id)
@@ -256,6 +274,15 @@ IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params)
IPC_STRUCT_MEMBER(std::vector<content::SerializedScriptValue>, values)
IPC_STRUCT_END()
+IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params)
+ IPC_STRUCT_MEMBER(int32, ipc_thread_id)
+ IPC_STRUCT_MEMBER(int32, ipc_response_id)
+ IPC_STRUCT_MEMBER(int32, ipc_cursor_id)
+ IPC_STRUCT_MEMBER(std::vector<content::IndexedDBKey>, keys)
+ IPC_STRUCT_MEMBER(std::vector<content::IndexedDBKey>, primary_keys)
+ IPC_STRUCT_MEMBER(std::vector<std::vector<char> >, values)
+IPC_STRUCT_END()
+
// metadata payload for WebIDBMetadata
IPC_STRUCT_BEGIN(IndexedDBIndexMetadata)
IPC_STRUCT_MEMBER(int64, id)
@@ -290,15 +317,23 @@ IPC_STRUCT_END()
// thread_id is the first int.
// IDBCallback message handlers.
+IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessIDBCursorOld,
+ IndexedDBMsg_CallbacksSuccessIDBCursorOld_Params)
IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessIDBCursor,
IndexedDBMsg_CallbacksSuccessIDBCursor_Params)
+IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorContinueOld,
+ IndexedDBMsg_CallbacksSuccessCursorContinueOld_Params)
IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorContinue,
IndexedDBMsg_CallbacksSuccessCursorContinue_Params)
+IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorAdvanceOld,
+ IndexedDBMsg_CallbacksSuccessCursorContinueOld_Params)
IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorAdvance,
IndexedDBMsg_CallbacksSuccessCursorContinue_Params)
+IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorPrefetchOld,
+ IndexedDBMsg_CallbacksSuccessCursorPrefetchOld_Params)
IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorPrefetch,
IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params)
@@ -315,12 +350,22 @@ IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessSerializedScriptValue,
int32 /* ipc_thread_id */,
int32 /* ipc_response_id */,
content::SerializedScriptValue /* value */)
+IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessValue,
+ int32 /* ipc_thread_id */,
+ int32 /* ipc_response_id */,
+ std::vector<char> /* value */)
IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksSuccessSerializedScriptValueWithKey,
int32 /* ipc_thread_id */,
int32 /* ipc_response_id */,
content::SerializedScriptValue /* value */,
content::IndexedDBKey /* indexed_db_key */,
content::IndexedDBKeyPath /* indexed_db_keypath */)
+IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksSuccessValueWithKey,
+ int32 /* ipc_thread_id */,
+ int32 /* ipc_response_id */,
+ std::vector<char> /* value */,
+ content::IndexedDBKey /* indexed_db_key */,
+ content::IndexedDBKeyPath /* indexed_db_keypath */)
IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessInteger,
int32 /* ipc_thread_id */,
int32 /* ipc_response_id */,
« no previous file with comments | « content/common/indexed_db/indexed_db_dispatcher.cc ('k') | content/common/indexed_db/proxy_webidbcursor_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698