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 527b516708fe885e6c6065ec39ca61e9b22597c6..92656ccf29cfb7272351cf3ebac2c7d8a521341c 100644 |
--- a/content/browser/indexed_db/indexed_db_database.h |
+++ b/content/browser/indexed_db/indexed_db_database.h |
@@ -39,6 +39,8 @@ class IndexedDBFactory; |
class IndexedDBKey; |
class IndexedDBKeyPath; |
class IndexedDBKeyRange; |
+class IndexedDBObservation; |
+class IndexedDBObserverChanges; |
class IndexedDBTransaction; |
struct IndexedDBValue; |
@@ -125,10 +127,21 @@ class CONTENT_EXPORT IndexedDBDatabase |
// Called by transactions to report failure committing to the backing store. |
void TransactionCommitFailed(const leveldb::Status& status); |
- void AddPendingObserver(int64_t transaction_id, int32_t observer_id); |
+ void AddPendingObserver(int64_t transaction_id, |
+ int32_t observer_id, |
+ bool includeTransaction, |
+ bool noRecords, |
+ bool values); |
void RemovePendingObservers(IndexedDBConnection* connection, |
const std::vector<int32_t>& pending_observer_ids); |
+ void FilterObservation(IndexedDBTransaction*, |
+ int64_t object_store_id, |
+ blink::WebIDBOperationType type, |
+ const IndexedDBKeyRange& key_range); |
+ void SendObservations( |
+ std::map<int32_t, std::unique_ptr<IndexedDBObserverChanges>> change_map); |
+ |
void Get(int64_t transaction_id, |
int64_t object_store_id, |
int64_t index_id, |