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

Side by Side Diff: content/common/indexed_db/indexed_db_messages.h

Issue 10332204: IPC plumbing for IDBObjectStore.autoIncrement (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch that actually compiles and passes tests Created 8 years, 7 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_path.h" 10 #include "content/common/indexed_db/indexed_db_key_path.h"
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 // WebIDBObjectStore::keyPath() message. 442 // WebIDBObjectStore::keyPath() message.
443 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreKeyPath, 443 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreKeyPath,
444 int32, /* idb_object_store_id */ 444 int32, /* idb_object_store_id */
445 content::IndexedDBKeyPath /* keyPath */) 445 content::IndexedDBKeyPath /* keyPath */)
446 446
447 // WebIDBObjectStore::indexNames() message. 447 // WebIDBObjectStore::indexNames() message.
448 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreIndexNames, 448 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreIndexNames,
449 int32, /* idb_object_store_id */ 449 int32, /* idb_object_store_id */
450 std::vector<string16> /* index_names */) 450 std::vector<string16> /* index_names */)
451 451
452 // WebIDBObjectStore::autoIncrement() message.
453 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreAutoIncrement,
454 int32, /* idb_object_store_id */
455 bool /* auto_increment */)
456
452 // WebIDBObjectStore::get() message. 457 // WebIDBObjectStore::get() message.
453 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreGet, 458 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreGet,
454 int32, /* idb_object_store_id */ 459 int32, /* idb_object_store_id */
455 int32, /* thread_id */ 460 int32, /* thread_id */
456 int32, /* response_id */ 461 int32, /* response_id */
457 content::IndexedDBKeyRange, /* key_range */ 462 content::IndexedDBKeyRange, /* key_range */
458 int32, /* transaction_id */ 463 int32, /* transaction_id */
459 WebKit::WebExceptionCode /* ec */) 464 WebKit::WebExceptionCode /* ec */)
460 465
461 // WebIDBObjectStore::put() message. 466 // WebIDBObjectStore::put() message.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, 548 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort,
544 int32 /* idb_transaction_id */) 549 int32 /* idb_transaction_id */)
545 550
546 // IDBTransaction::DidCompleteTaskEvents() message. 551 // IDBTransaction::DidCompleteTaskEvents() message.
547 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, 552 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents,
548 int32 /* idb_transaction_id */) 553 int32 /* idb_transaction_id */)
549 554
550 // WebIDBTransaction::~WebIDBTransaction() message. 555 // WebIDBTransaction::~WebIDBTransaction() message.
551 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, 556 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed,
552 int32 /* idb_transaction_id */) 557 int32 /* idb_transaction_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698