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

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

Issue 9389025: IndexedDB: Implement IPC plumbing for IDBObjectStore.delete(IDBKeyRange) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename to avoid overloading, remove bad includes Created 8 years, 10 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 2ade76f17c5ae5f552906b6e44b2a11d008ef58e..6ca348f7e2a93282db934a44420eb4d11d5e5b32 100644
--- a/content/common/indexed_db/indexed_db_messages.h
+++ b/content/common/indexed_db/indexed_db_messages.h
@@ -7,6 +7,7 @@
#include <vector>
#include "content/common/indexed_db/indexed_db_key.h"
+#include "content/common/indexed_db/indexed_db_key_range.h"
#include "content/common/indexed_db/indexed_db_param_traits.h"
#include "content/public/common/serialized_script_value.h"
#include "ipc/ipc_message_macros.h"
@@ -474,7 +475,7 @@ IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStorePut,
IndexedDBHostMsg_ObjectStorePut_Params,
WebKit::WebExceptionCode /* ec */)
-// WebIDBObjectStore::delete() message.
+// WebIDBObjectStore::delete(key) message.
IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreDelete,
int32, /* idb_object_store_id */
int32, /* thread_id */
@@ -483,6 +484,15 @@ IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreDelete,
int32, /* transaction_id */
WebKit::WebExceptionCode /* ec */)
+// WebIDBObjectStore::delete(keyRange) message.
+IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreDeleteRange,
+ int32, /* idb_object_store_id */
+ int32, /* thread_id */
+ int32, /* response_id */
+ IndexedDBKeyRange, /* key_range */
+ int32, /* transaction_id */
+ WebKit::WebExceptionCode /* ec */)
+
// WebIDBObjectStore::clear() message.
IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_ObjectStoreClear,
int32, /* idb_object_store_id */
« no previous file with comments | « content/common/indexed_db/indexed_db_key_range.cc ('k') | content/common/indexed_db/indexed_db_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698