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

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

Issue 10197001: IndexedDB: chromium side of IDBCursor.advance(). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Additional key/value/primarykey for the current cursor Created 8 years, 8 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 ef12c4abc56b804b3e8309218fd8bf77a6f74839..d8ac3bda1c336120926f5c77759889bba084f6bf 100644
--- a/content/common/indexed_db/indexed_db_messages.h
+++ b/content/common/indexed_db/indexed_db_messages.h
@@ -169,6 +169,15 @@ IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessIDBCursor_Params)
IPC_STRUCT_MEMBER(content::SerializedScriptValue, serialized_value)
IPC_STRUCT_END()
+IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorAdvance_Params)
jsbell 2012/04/24 15:41:08 It looks like the params are identical between Cal
alecflett 2012/04/24 16:34:22 Its very possible - this was one of the areas that
+ IPC_STRUCT_MEMBER(int32, thread_id)
+ IPC_STRUCT_MEMBER(int32, response_id)
+ IPC_STRUCT_MEMBER(int32, cursor_id)
+ IPC_STRUCT_MEMBER(IndexedDBKey, key)
+ IPC_STRUCT_MEMBER(IndexedDBKey, primary_key)
+ IPC_STRUCT_MEMBER(content::SerializedScriptValue, serialized_value)
+IPC_STRUCT_END()
+
IPC_STRUCT_BEGIN(IndexedDBMsg_CallbacksSuccessCursorContinue_Params)
IPC_STRUCT_MEMBER(int32, thread_id)
IPC_STRUCT_MEMBER(int32, response_id)
@@ -217,6 +226,9 @@ IPC_STRUCT_END()
IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessIDBCursor,
IndexedDBMsg_CallbacksSuccessIDBCursor_Params)
+IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorAdvance,
+ IndexedDBMsg_CallbacksSuccessCursorAdvance_Params)
+
IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorContinue,
IndexedDBMsg_CallbacksSuccessCursorContinue_Params)
@@ -280,6 +292,14 @@ IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorUpdate,
content::SerializedScriptValue, /* value */
WebKit::WebExceptionCode /* ec */)
+// WebIDBCursor::advance() message.
+IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorAdvance,
+ int32, /* idb_cursor_id */
+ int32, /* thread_id */
+ int32, /* response_id */
+ unsigned long, /* count */
+ WebKit::WebExceptionCode /* ec */)
+
// WebIDBCursor::continue() message.
IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_CursorContinue,
int32, /* idb_cursor_id */

Powered by Google App Engine
This is Rietveld 408576698