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

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: 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..00455abf98bcabffe3d3ecdc14a0bd231d29f247 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.
@@ -395,12 +398,6 @@ IPC_SYNC_MESSAGE_CONTROL4_2(IndexedDBHostMsg_DatabaseTransaction,
int32, /* idb_transaction_id */
WebKit::WebExceptionCode /* ec */)
-// WebIDBDatabase::open() message.
-IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseOpen,
- int32, /* idb_database_id */
- int32 /* thread_id */,
- int32 /* response_id */)
-
// WebIDBDatabase::close() message.
IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseClose,
int32 /* idb_database_id */)

Powered by Google App Engine
This is Rietveld 408576698