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

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

Issue 11312178: Remove legacy IDB backend IPC glue for string-based references. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add crbug link Created 8 years, 1 month 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 01460d6f3987ff1caec5c12905e716f9b3620adb..12e929c7c0e9b7192a6309c4ca59131a50c35c95 100644
--- a/content/common/indexed_db/indexed_db_messages.h
+++ b/content/common/indexed_db/indexed_db_messages.h
@@ -108,29 +108,6 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_IndexCount_Params)
IPC_STRUCT_END()
// Used to set a value in an object store.
-IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStorePutOld_Params)
- // The object store's id.
- IPC_STRUCT_MEMBER(int32, object_store_ipc_id)
- // The id any response should contain.
- IPC_STRUCT_MEMBER(int32, thread_id)
- IPC_STRUCT_MEMBER(int32, response_id)
- // The value to set.
- IPC_STRUCT_MEMBER(content::SerializedScriptValue, serialized_value)
- // The key to set it on (may not be "valid"/set in some cases).
- IPC_STRUCT_MEMBER(content::IndexedDBKey, key)
- // Whether this is an add or a put.
- IPC_STRUCT_MEMBER(WebKit::WebIDBObjectStore::PutMode, put_mode)
- // The names of the indexes used below.
- IPC_STRUCT_MEMBER(std::vector<string16>, index_names)
- // The keys for each index, such that each inner vector corresponds
- // to each index named in index_names, respectively.
- IPC_STRUCT_MEMBER(std::vector<std::vector<content::IndexedDBKey> >,
- index_keys)
- // The transaction it's associated with.
- IPC_STRUCT_MEMBER(int, transaction_id)
-IPC_STRUCT_END()
-
-// Used to set a value in an object store.
IPC_STRUCT_BEGIN(IndexedDBHostMsg_ObjectStorePut_Params)
// The object store's id.
IPC_STRUCT_MEMBER(int32, object_store_ipc_id)
@@ -411,13 +388,6 @@ IPC_SYNC_MESSAGE_CONTROL1_2(IndexedDBHostMsg_DatabaseCreateObjectStore,
WebKit::WebExceptionCode /* ec */)
// WebIDBDatabase::deleteObjectStore() message.
-IPC_SYNC_MESSAGE_CONTROL3_1(IndexedDBHostMsg_DatabaseDeleteObjectStoreOld,
- int32, /* idb_database_id */
- string16, /* name */
- int32, /* transaction_id */
- WebKit::WebExceptionCode /* ec */)
-
-// WebIDBDatabase::deleteObjectStore() message.
IPC_SYNC_MESSAGE_CONTROL3_1(IndexedDBHostMsg_DatabaseDeleteObjectStore,
int32, /* idb_database_id */
int64, /* object_store_id */
@@ -438,13 +408,6 @@ IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_DatabaseSetVersion,
// IDs to temporary IDs. We can then update the transaction
// to its real ID asynchronously.
// (Or make the key a pair <connection_id, transaction_id>.)
-IPC_SYNC_MESSAGE_CONTROL4_2(IndexedDBHostMsg_DatabaseTransactionOld,
- int32, /* thread_id */
- int32, /* idb_database_id */
- std::vector<string16>, /* object_stores */
- int32, /* mode */
- int32, /* idb_transaction_id */
- WebKit::WebExceptionCode /* ec */)
IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_DatabaseTransaction,
int32, /* thread_id */
int32, /* idb_database_id */
@@ -501,19 +464,10 @@ IPC_MESSAGE_CONTROL5(IndexedDBHostMsg_ObjectStoreGet,
int32) /* transaction_id */
// WebIDBObjectStore::put() message.
-IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_ObjectStorePutOld,
- IndexedDBHostMsg_ObjectStorePutOld_Params)
IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_ObjectStorePut,
IndexedDBHostMsg_ObjectStorePut_Params)
// WebIDBObjectStore::setIndexKeys() message.
-IPC_MESSAGE_CONTROL5(IndexedDBHostMsg_ObjectStoreSetIndexKeysOld,
- int32, /* object_store_ipc_id */
- content::IndexedDBKey, /* primary_key */
- std::vector<string16>, /* index_names */
- std::vector<std::vector<content::IndexedDBKey> >,
- /* index_keys */
- int32 /* transaction_id */)
IPC_MESSAGE_CONTROL5(IndexedDBHostMsg_ObjectStoreSetIndexKeys,
int32, /* object_store_ipc_id */
content::IndexedDBKey, /* primary_key */
@@ -523,10 +477,6 @@ IPC_MESSAGE_CONTROL5(IndexedDBHostMsg_ObjectStoreSetIndexKeys,
int32 /* transaction_id */)
// WebIDBObjectStore::setIndexesReady() message.
-IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_ObjectStoreSetIndexesReadyOld,
- int32, /* object_store_ipc_id */
- std::vector<string16>, /* index_names */
- int32 /* transaction_id */)
IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_ObjectStoreSetIndexesReady,
int32, /* object_store_ipc_id */
std::vector<int64>, /* index_names */
@@ -554,22 +504,12 @@ IPC_SYNC_MESSAGE_CONTROL1_2(IndexedDBHostMsg_ObjectStoreCreateIndex,
WebKit::WebExceptionCode /* ec */)
// WebIDBObjectStore::index() message.
-IPC_SYNC_MESSAGE_CONTROL2_2(IndexedDBHostMsg_ObjectStoreIndexOld,
- int32, /* object_store_ipc_id */
- string16, /* name */
- int32, /* idb_index_id */
- WebKit::WebExceptionCode /* ec */)
IPC_SYNC_MESSAGE_CONTROL2_1(IndexedDBHostMsg_ObjectStoreIndex,
int32, /* object_store_ipc_id */
int64, /* name */
int32) /* idb_index_id */
// WebIDBObjectStore::deleteIndex() message.
-IPC_SYNC_MESSAGE_CONTROL3_1(IndexedDBHostMsg_ObjectStoreDeleteIndexOld,
- int32, /* object_store_ipc_id */
- string16, /* name */
- int32, /* transaction_id */
- WebKit::WebExceptionCode /* ec */)
IPC_SYNC_MESSAGE_CONTROL3_1(IndexedDBHostMsg_ObjectStoreDeleteIndex,
int32, /* object_store_ipc_id */
int64, /* object_store_id */
@@ -593,13 +533,6 @@ IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed,
int32 /* idb_cursor_id */)
// IDBTransaction::ObjectStore message.
-IPC_SYNC_MESSAGE_CONTROL2_2(IndexedDBHostMsg_TransactionObjectStoreOld,
- int32, /* transaction_id */
- string16, /* name */
- int32, /* object_store_ipc_id */
- WebKit::WebExceptionCode /* ec */)
-
-// IDBTransaction::ObjectStore message.
IPC_SYNC_MESSAGE_CONTROL2_2(IndexedDBHostMsg_TransactionObjectStore,
int32, /* transaction_id */
int64, /* id */
« no previous file with comments | « content/common/indexed_db/indexed_db_dispatcher_unittest.cc ('k') | content/common/indexed_db/proxy_webidbdatabase_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698