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

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: Unobserve functionality 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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
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. 488 // WebIDBDatabase::deleteObjectStore() message.
489 IPC_MESSAGE_CONTROL4(IndexedDBHostMsg_DatabaseObserve, 489 IPC_MESSAGE_CONTROL4(IndexedDBHostMsg_DatabaseObserve,
490 int32_t, /* ipc_thread_id */ 490 int32_t, /* ipc_thread_id */
491 int32_t, /* ipc_database_id */ 491 int32_t, /* ipc_database_id */
492 int64_t, /* transaction_id */ 492 int64_t, /* transaction_id */
493 int32_t) /* observer_id */ 493 int32_t) /* observer_id */
494 494
495 IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseUnobserve,
496 int32_t, /* ipc_thread_id */
497 int32_t, /* ipc_database_id */
498 std::vector<int32_t>) /* list of observer_id */
499
495 // WebIDBDatabase::createObjectStore() message. 500 // WebIDBDatabase::createObjectStore() message.
496 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseCreateObjectStore, 501 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseCreateObjectStore,
497 IndexedDBHostMsg_DatabaseCreateObjectStore_Params) 502 IndexedDBHostMsg_DatabaseCreateObjectStore_Params)
498 503
499 // WebIDBDatabase::deleteObjectStore() message. 504 // WebIDBDatabase::deleteObjectStore() message.
500 IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseDeleteObjectStore, 505 IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseDeleteObjectStore,
501 int32_t, /* ipc_database_id */ 506 int32_t, /* ipc_database_id */
502 int64_t, /* transaction_id */ 507 int64_t, /* transaction_id */
503 int64_t) /* object_store_id */ 508 int64_t) /* object_store_id */
504 509
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 int64_t) /* transaction_id */ 583 int64_t) /* transaction_id */
579 584
580 // WebIDBDatabase::commit() message. 585 // WebIDBDatabase::commit() message.
581 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, 586 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit,
582 int32_t, /* ipc_database_id */ 587 int32_t, /* ipc_database_id */
583 int64_t) /* transaction_id */ 588 int64_t) /* transaction_id */
584 589
585 // WebIDBDatabase::~WebIDBCursor() message. 590 // WebIDBDatabase::~WebIDBCursor() message.
586 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, 591 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed,
587 int32_t /* ipc_cursor_id */) 592 int32_t /* ipc_cursor_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698