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

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: remove unused messages Created 9 years, 4 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 8347b01f682dcf70594ff6862181e9dc11669b94..ad4fc44c75c023ceaf643fa0d2d0b2ba763977f5 100644
--- a/content/common/indexed_db_messages.h
+++ b/content/common/indexed_db_messages.h
@@ -131,9 +131,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 */)
@@ -170,21 +173,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 */

Powered by Google App Engine
This is Rietveld 408576698