Chromium Code Reviews| Index: content/browser/indexed_db/indexed_db_database.h |
| diff --git a/content/browser/indexed_db/indexed_db_database.h b/content/browser/indexed_db/indexed_db_database.h |
| index 72d65ce723e985a331cdd2c3e286af32d2ade7c3..8b406e1c8d5ea0694996afe37e3f18dcc8959976 100644 |
| --- a/content/browser/indexed_db/indexed_db_database.h |
| +++ b/content/browser/indexed_db/indexed_db_database.h |
| @@ -38,6 +38,7 @@ class IndexedDBFactory; |
| class IndexedDBKey; |
| class IndexedDBKeyPath; |
| class IndexedDBKeyRange; |
| +class IndexedDBObserver; |
| class IndexedDBTransaction; |
| struct IndexedDBValue; |
| @@ -124,6 +125,10 @@ class CONTENT_EXPORT IndexedDBDatabase |
| // Called by transactions to report failure committing to the backing store. |
| void TransactionCommitFailed(const leveldb::Status& status); |
| + void Observe(int64_t transaction_id, int64_t observer_id); |
| + void RemovePendingObservers(IndexedDBConnection*, |
| + std::vector<int32_t> observersToRemove); |
|
dmurph
2016/06/22 01:09:49
const ref, or a pointer if we're doing the 'erase'
palakj1
2016/06/23 20:56:29
Changed it to const ref
|
| + |
| void Get(int64_t transaction_id, |
| int64_t object_store_id, |
| int64_t index_id, |