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

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

Issue 10917099: Chromium side of "consolidate two-phase connection to avoid race conditions". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Backwards compatible with current WK API Created 8 years, 3 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 7b3a308417d7bbea18466cb966081ce011fdd63b..469833bd4e9e6da7aff124cbae365795f1c63dc7 100644
--- a/content/common/indexed_db/indexed_db_messages.h
+++ b/content/common/indexed_db/indexed_db_messages.h
@@ -41,7 +41,10 @@ IPC_STRUCT_END()
IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryOpen_Params)
// The response should have these ids.
IPC_STRUCT_MEMBER(int32, thread_id)
+ // Identifier of the request
IPC_STRUCT_MEMBER(int32, response_id)
+ // Identifier for database callbacks
+ IPC_STRUCT_MEMBER(int32, database_response_id)
// The origin doing the initiating.
IPC_STRUCT_MEMBER(string16, origin)
// The name of the database.
@@ -326,6 +329,10 @@ IPC_SYNC_MESSAGE_CONTROL3_1(IndexedDBHostMsg_CursorDelete,
IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryGetDatabaseNames,
IndexedDBHostMsg_FactoryGetDatabaseNames_Params)
+// TODO(jsbell): Remove this once WK90411 rolls.
+// WebIDBFactory::open() message.
+IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryOpenLegacy,
+ IndexedDBHostMsg_FactoryOpen_Params)
// WebIDBFactory::open() message.
IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryOpen,
IndexedDBHostMsg_FactoryOpen_Params)
@@ -395,6 +402,7 @@ IPC_SYNC_MESSAGE_CONTROL4_2(IndexedDBHostMsg_DatabaseTransaction,
int32, /* idb_transaction_id */
WebKit::WebExceptionCode /* ec */)
+// TODO(jsbell): Remove once WK90411 has rolled.
// WebIDBDatabase::open() message.
IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseOpen,
int32, /* idb_database_id */

Powered by Google App Engine
This is Rietveld 408576698