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

Unified Diff: content/common/indexed_db_messages.h

Issue 7834006: Consolidate key, primary key, value cursor messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 2 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_messages.h
diff --git a/content/common/indexed_db_messages.h b/content/common/indexed_db_messages.h
index 490a69ac1a7710f36dc7bd94f6d48aa0856ea29c..ab564595d52dd5e96cf2a4eccdbde42c1ccfc350 100644
--- a/content/common/indexed_db_messages.h
+++ b/content/common/indexed_db_messages.h
@@ -141,9 +141,12 @@ IPC_STRUCT_END()
// Indexed DB messages sent from the browser to the renderer.
// IDBCallback message handlers.
-IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBCursor,
+IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksSuccessIDBCursor,
int32 /* response_id */,
- int32 /* cursor_id */)
+ int32 /* cursor_id */,
+ IndexedDBKey /* key */,
+ IndexedDBKey /* primary key */,
+ SerializedScriptValue /* script_value */)
IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBDatabase,
int32 /* response_id */,
int32 /* idb_database_id */)
@@ -183,21 +186,6 @@ IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_CursorDirection,
int32, /* idb_cursor_id */
int32 /* direction */)
-// WebIDBCursor::key() message.
-IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_CursorKey,
- int32, /* idb_cursor_id */
- IndexedDBKey /* key */)
-
-// WebIDBCursor::primaryKey() message.
-IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_CursorPrimaryKey,
- int32, /* idb_cursor_id */
- IndexedDBKey /* primary_key */)
-
-// WebIDBCursor::value() message.
-IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_CursorValue,
- int32, /* idb_cursor_id */
- SerializedScriptValue /* script_value */)
-
// WebIDBCursor::update() message.
IPC_SYNC_MESSAGE_CONTROL3_1(IndexedDBHostMsg_CursorUpdate,
int32, /* idb_cursor_id */
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_dispatcher_host.cc ('k') | content/renderer/indexed_db_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698