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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Message definition file, included multiple times, hence no include guard. 5 // Message definition file, included multiple times, hence no include guard.
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "content/common/indexed_db/indexed_db_key.h" 9 #include "content/common/indexed_db/indexed_db_key.h"
10 #include "content/common/indexed_db/indexed_db_key_range.h"
10 #include "content/common/indexed_db/indexed_db_param_traits.h" 11 #include "content/common/indexed_db/indexed_db_param_traits.h"
11 #include "content/public/common/serialized_script_value.h" 12 #include "content/public/common/serialized_script_value.h"
12 #include "ipc/ipc_message_macros.h" 13 #include "ipc/ipc_message_macros.h"
13 #include "ipc/ipc_param_traits.h" 14 #include "ipc/ipc_param_traits.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebExceptionCode.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebExceptionCode.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h"
16 17
17 #define IPC_MESSAGE_START IndexedDBMsgStart 18 #define IPC_MESSAGE_START IndexedDBMsgStart
18 19
19 // Argument structures used in messages 20 // Argument structures used in messages
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 int32, /* response_id */ 468 int32, /* response_id */
468 IndexedDBKey, /* key */ 469 IndexedDBKey, /* key */
469 int32, /* transaction_id */ 470 int32, /* transaction_id */
470 WebKit::WebExceptionCode /* ec */) 471 WebKit::WebExceptionCode /* ec */)
471 472
472 // WebIDBObjectStore::put() message. 473 // WebIDBObjectStore::put() message.
473 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStorePut, 474 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStorePut,
474 IndexedDBHostMsg_ObjectStorePut_Params, 475 IndexedDBHostMsg_ObjectStorePut_Params,
475 WebKit::WebExceptionCode /* ec */) 476 WebKit::WebExceptionCode /* ec */)
476 477
477 // WebIDBObjectStore::delete() message. 478 // WebIDBObjectStore::delete(key) message.
478 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreDelete, 479 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreDelete,
479 int32, /* idb_object_store_id */ 480 int32, /* idb_object_store_id */
480 int32, /* thread_id */ 481 int32, /* thread_id */
481 int32, /* response_id */ 482 int32, /* response_id */
482 IndexedDBKey, /* key */ 483 IndexedDBKey, /* key */
483 int32, /* transaction_id */ 484 int32, /* transaction_id */
484 WebKit::WebExceptionCode /* ec */) 485 WebKit::WebExceptionCode /* ec */)
485 486
487 // WebIDBObjectStore::delete(keyRange) message.
488 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreDeleteRange,
489 int32, /* idb_object_store_id */
490 int32, /* thread_id */
491 int32, /* response_id */
492 IndexedDBKeyRange, /* key_range */
493 int32, /* transaction_id */
494 WebKit::WebExceptionCode /* ec */)
495
486 // WebIDBObjectStore::clear() message. 496 // WebIDBObjectStore::clear() message.
487 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_ObjectStoreClear, 497 IPC_SYNC_MESSAGE_CONTROL4_1(IndexedDBHostMsg_ObjectStoreClear,
488 int32, /* idb_object_store_id */ 498 int32, /* idb_object_store_id */
489 int32, /* thread_id */ 499 int32, /* thread_id */
490 int32, /* response_id */ 500 int32, /* response_id */
491 int32, /* transaction_id */ 501 int32, /* transaction_id */
492 WebKit::WebExceptionCode /* ec */) 502 WebKit::WebExceptionCode /* ec */)
493 503
494 // WebIDBObjectStore::createIndex() message. 504 // WebIDBObjectStore::createIndex() message.
495 IPC_SYNC_MESSAGE_CONTROL1_2(IndexedDBHostMsg_ObjectStoreCreateIndex, 505 IPC_SYNC_MESSAGE_CONTROL1_2(IndexedDBHostMsg_ObjectStoreCreateIndex,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, 555 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort,
546 int32 /* idb_transaction_id */) 556 int32 /* idb_transaction_id */)
547 557
548 // IDBTransaction::DidCompleteTaskEvents() message. 558 // IDBTransaction::DidCompleteTaskEvents() message.
549 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, 559 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents,
550 int32 /* idb_transaction_id */) 560 int32 /* idb_transaction_id */)
551 561
552 // WebIDBTransaction::~WebIDBTransaction() message. 562 // WebIDBTransaction::~WebIDBTransaction() message.
553 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, 563 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed,
554 int32 /* idb_transaction_id */) 564 int32 /* idb_transaction_id */)
OLDNEW
« 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