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

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: Final architechture Created 4 years, 5 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
« no previous file with comments | « content/child/indexed_db/webidbdatabase_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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::observe() message.
489 IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseObserve,
490 int32_t, /* ipc_database_id */
491 int64_t, /* transaction_id */
492 int32_t) /* observer_id */
493
494 // WebIDBDatabase::unobserve() message.
495 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseUnobserve,
496 int32_t, /* ipc_database_id */
497 std::vector<int32_t>) /* list of observer_id */
498
488 // WebIDBDatabase::createObjectStore() message. 499 // WebIDBDatabase::createObjectStore() message.
489 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseCreateObjectStore, 500 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseCreateObjectStore,
490 IndexedDBHostMsg_DatabaseCreateObjectStore_Params) 501 IndexedDBHostMsg_DatabaseCreateObjectStore_Params)
491 502
492 // WebIDBDatabase::deleteObjectStore() message. 503 // WebIDBDatabase::deleteObjectStore() message.
493 IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseDeleteObjectStore, 504 IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseDeleteObjectStore,
494 int32_t, /* ipc_database_id */ 505 int32_t, /* ipc_database_id */
495 int64_t, /* transaction_id */ 506 int64_t, /* transaction_id */
496 int64_t) /* object_store_id */ 507 int64_t) /* object_store_id */
497 508
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 int64_t) /* transaction_id */ 582 int64_t) /* transaction_id */
572 583
573 // WebIDBDatabase::commit() message. 584 // WebIDBDatabase::commit() message.
574 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit, 585 IPC_MESSAGE_CONTROL2(IndexedDBHostMsg_DatabaseCommit,
575 int32_t, /* ipc_database_id */ 586 int32_t, /* ipc_database_id */
576 int64_t) /* transaction_id */ 587 int64_t) /* transaction_id */
577 588
578 // WebIDBDatabase::~WebIDBCursor() message. 589 // WebIDBDatabase::~WebIDBCursor() message.
579 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed, 590 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_CursorDestroyed,
580 int32_t /* ipc_cursor_id */) 591 int32_t /* ipc_cursor_id */)
OLDNEW
« no previous file with comments | « content/child/indexed_db/webidbdatabase_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698