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

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

Issue 2320213004: Port IndexedDB open() and database callbacks to Mojo. (Closed)
Patch Set: Make DatabaseClient an associated interface. Created 4 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
« no previous file with comments | « content/common/indexed_db/indexed_db_error_info.typemap ('k') | content/common/indexed_db/typemaps.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a744f14518bf05fbfba89e0c9b0d6036f6146099..0793123b81e5a5680d6cbff08857da1364e6d08e 100644
--- a/content/common/indexed_db/indexed_db_messages.h
+++ b/content/common/indexed_db/indexed_db_messages.h
@@ -98,8 +98,6 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_DatabaseCreateTransaction_Params)
IPC_STRUCT_MEMBER(int32_t, ipc_database_id)
// The transaction id as minted by the frontend.
IPC_STRUCT_MEMBER(int64_t, transaction_id)
- // To get to WebIDBDatabaseCallbacks.
- IPC_STRUCT_MEMBER(int32_t, ipc_database_callbacks_id)
// The scope of the transaction.
IPC_STRUCT_MEMBER(std::vector<int64_t>, object_store_ids)
// The transaction mode.
@@ -415,10 +413,9 @@ IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessCursorPrefetch,
IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksSuccessArray,
IndexedDBMsg_CallbacksSuccessArray_Params)
-IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksSuccessIDBDatabase,
+IPC_MESSAGE_CONTROL4(IndexedDBMsg_CallbacksSuccessIDBDatabase,
int32_t /* ipc_thread_id */,
int32_t /* ipc_callbacks_id */,
- int32_t /* ipc_database_callbacks_id */,
int32_t /* ipc_database_id */,
IndexedDBDatabaseMetadata)
IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksSuccessIndexedDBKey,
@@ -456,24 +453,6 @@ IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksUpgradeNeeded,
IndexedDBMsg_CallbacksUpgradeNeeded_Params)
// IDBDatabaseCallback message handlers
-IPC_MESSAGE_CONTROL2(IndexedDBMsg_DatabaseCallbacksForcedClose,
- int32_t, /* ipc_thread_id */
- int32_t) /* ipc_database_callbacks_id */
-IPC_MESSAGE_CONTROL4(IndexedDBMsg_DatabaseCallbacksVersionChange,
- int32_t, /* ipc_thread_id */
- int32_t, /* ipc_database_callbacks_id */
- int64_t, /* old_version */
- int64_t) /* new_version */
-IPC_MESSAGE_CONTROL5(IndexedDBMsg_DatabaseCallbacksAbort,
- int32_t, /* ipc_thread_id */
- int32_t, /* ipc_database_callbacks_id */
- int64_t, /* transaction_id */
- int, /* code */
- base::string16) /* message */
-IPC_MESSAGE_CONTROL3(IndexedDBMsg_DatabaseCallbacksComplete,
- int32_t, /* ipc_thread_id */
- int32_t, /* ipc_database_callbacks_id */
- int64_t) /* transaction_id */
IPC_MESSAGE_CONTROL3(IndexedDBMsg_DatabaseCallbacksChanges,
int32_t, /* ipc_thread_id */
int32_t, /* ipc_database_id */
@@ -513,10 +492,6 @@ IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_CursorPrefetchReset,
IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryGetDatabaseNames,
IndexedDBHostMsg_FactoryGetDatabaseNames_Params)
-// WebIDBFactory::open() message.
-IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryOpen,
- IndexedDBHostMsg_FactoryOpen_Params)
-
// WebIDBFactory::deleteDatabase() message.
IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryDeleteDatabase,
IndexedDBHostMsg_FactoryDeleteDatabase_Params)
« no previous file with comments | « content/common/indexed_db/indexed_db_error_info.typemap ('k') | content/common/indexed_db/typemaps.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698