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

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

Issue 2062203004: IDBObserver: Lifetime Management: Adding Observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: post dmuprh review Created 4 years, 6 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 <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryOpen, 478 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryOpen,
479 IndexedDBHostMsg_FactoryOpen_Params) 479 IndexedDBHostMsg_FactoryOpen_Params)
480 480
481 // WebIDBFactory::deleteDatabase() message. 481 // WebIDBFactory::deleteDatabase() message.
482 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryDeleteDatabase, 482 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryDeleteDatabase,
483 IndexedDBHostMsg_FactoryDeleteDatabase_Params) 483 IndexedDBHostMsg_FactoryDeleteDatabase_Params)
484 484
485 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_AckReceivedBlobs, 485 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_AckReceivedBlobs,
486 std::vector<std::string>) /* uuids */ 486 std::vector<std::string>) /* uuids */
487 487
488 // WebIDBDatabase::deleteObjectStore() message.
dmurph 2016/06/23 21:53:05 Remove this comment.
palakj1 2016/06/24 00:03:01 Changed.
489 IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseObserve,
490 int32_t, /* ipc_database_id */
491 int64_t, /* transaction_id */
492 int32_t) /* observer_id */
493
494 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseUnobserve,
495 int32_t, /* ipc_database_id */
496 std::vector<int32_t>) /* list of observer_id */
497
488 // WebIDBDatabase::createObjectStore() message. 498 // WebIDBDatabase::createObjectStore() message.
489 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseCreateObjectStore, 499 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseCreateObjectStore,
490 IndexedDBHostMsg_DatabaseCreateObjectStore_Params) 500 IndexedDBHostMsg_DatabaseCreateObjectStore_Params)
491 501
492 // WebIDBDatabase::deleteObjectStore() message. 502 // WebIDBDatabase::deleteObjectStore() message.
493 IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseDeleteObjectStore, 503 IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseDeleteObjectStore,
494 int32_t, /* ipc_database_id */ 504 int32_t, /* ipc_database_id */
495 int64_t, /* transaction_id */ 505 int64_t, /* transaction_id */
496 int64_t) /* object_store_id */ 506 int64_t) /* object_store_id */
497 507
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 int64_t) /* transaction_id */ 581 int64_t) /* transaction_id */
572 582
573 // WebIDBDatabase::commit() message. 583 // WebIDBDatabase::commit() message.
574 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, 584 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit,
575 int32_t, /* ipc_database_id */ 585 int32_t, /* ipc_database_id */
576 int64_t) /* transaction_id */ 586 int64_t) /* transaction_id */
577 587
578 // WebIDBDatabase::~WebIDBCursor() message. 588 // WebIDBDatabase::~WebIDBCursor() message.
579 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, 589 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed,
580 int32_t /* ipc_cursor_id */) 590 int32_t /* ipc_cursor_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698