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

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

Issue 2276593002: Support renaming of IndexedDB indexes and object stores. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Most renaming tests pass. 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 unified diff | Download patch
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 <stdint.h> 7 #include <stdint.h>
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 // WebIDBDatabase::createObjectStore() message. 532 // WebIDBDatabase::createObjectStore() message.
533 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseCreateObjectStore, 533 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseCreateObjectStore,
534 IndexedDBHostMsg_DatabaseCreateObjectStore_Params) 534 IndexedDBHostMsg_DatabaseCreateObjectStore_Params)
535 535
536 // WebIDBDatabase::deleteObjectStore() message. 536 // WebIDBDatabase::deleteObjectStore() message.
537 IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseDeleteObjectStore, 537 IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseDeleteObjectStore,
538 int32_t, /* ipc_database_id */ 538 int32_t, /* ipc_database_id */
539 int64_t, /* transaction_id */ 539 int64_t, /* transaction_id */
540 int64_t) /* object_store_id */ 540 int64_t) /* object_store_id */
541 541
542 // WebIDBDatabase::renameObjectStore() message.
543 IPC_MESSAGE_CONTROL4(IndexedDBHostMsg_DatabaseRenameObjectStore,
544 int32_t, /* ipc_database_id */
545 int64_t, /* transaction_id */
546 int64_t, /* object_store_id */
547 base::string16); /* new_name */
548
542 // WebIDBDatabase::createTransaction() message. 549 // WebIDBDatabase::createTransaction() message.
543 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseCreateTransaction, 550 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseCreateTransaction,
544 IndexedDBHostMsg_DatabaseCreateTransaction_Params) 551 IndexedDBHostMsg_DatabaseCreateTransaction_Params)
545 552
546 // WebIDBDatabase::close() message. 553 // WebIDBDatabase::close() message.
547 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseClose, 554 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseClose,
548 int32_t /* ipc_database_id */) 555 int32_t /* ipc_database_id */)
549 556
550 // WebIDBDatabase::versionChangeIgnored() message. 557 // WebIDBDatabase::versionChangeIgnored() message.
551 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseVersionChangeIgnored, 558 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseVersionChangeIgnored,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseCreateIndex, 613 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseCreateIndex,
607 IndexedDBHostMsg_DatabaseCreateIndex_Params) 614 IndexedDBHostMsg_DatabaseCreateIndex_Params)
608 615
609 // WebIDBDatabase::deleteIndex() message. 616 // WebIDBDatabase::deleteIndex() message.
610 IPC_MESSAGE_CONTROL4(IndexedDBHostMsg_DatabaseDeleteIndex, 617 IPC_MESSAGE_CONTROL4(IndexedDBHostMsg_DatabaseDeleteIndex,
611 int32_t, /* ipc_database_id */ 618 int32_t, /* ipc_database_id */
612 int64_t, /* transaction_id */ 619 int64_t, /* transaction_id */
613 int64_t, /* object_store_id */ 620 int64_t, /* object_store_id */
614 int64_t) /* index_id */ 621 int64_t) /* index_id */
615 622
623 // WebIDBDatabase::renameIndex() message.
624 IPC_MESSAGE_CONTROL5(IndexedDBHostMsg_DatabaseRenameIndex,
625 int32_t, /* ipc_database_id */
626 int64_t, /* transaction_id */
627 int64_t, /* object_store_id */
628 int64_t, /* index_id */
629 base::string16); /* new_name */
630
616 // WebIDBDatabase::abort() message. 631 // WebIDBDatabase::abort() message.
617 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseAbort, 632 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseAbort,
618 int32_t, /* ipc_database_id */ 633 int32_t, /* ipc_database_id */
619 int64_t) /* transaction_id */ 634 int64_t) /* transaction_id */
620 635
621 // WebIDBDatabase::commit() message. 636 // WebIDBDatabase::commit() message.
622 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, 637 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit,
623 int32_t, /* ipc_database_id */ 638 int32_t, /* ipc_database_id */
624 int64_t) /* transaction_id */ 639 int64_t) /* transaction_id */
625 640
626 // WebIDBDatabase::~WebIDBCursor() message. 641 // WebIDBDatabase::~WebIDBCursor() message.
627 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, 642 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed,
628 int32_t /* ipc_cursor_id */) 643 int32_t /* ipc_cursor_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698