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..4c2c65535ce130df98b558d5a1937faa65b81930 100644 |
--- a/content/browser/indexed_db/indexed_db_database.h |
+++ b/content/browser/indexed_db/indexed_db_database.h |
@@ -21,9 +21,11 @@ |
#include "content/browser/indexed_db/indexed_db_backing_store.h" |
#include "content/browser/indexed_db/indexed_db_callbacks.h" |
#include "content/browser/indexed_db/indexed_db_metadata.h" |
+#include "content/browser/indexed_db/indexed_db_observer_changes.h" |
#include "content/browser/indexed_db/indexed_db_pending_connection.h" |
#include "content/browser/indexed_db/indexed_db_transaction_coordinator.h" |
#include "content/browser/indexed_db/list_set.h" |
+#include "content/common/indexed_db/indexed_db_observation.h" |
#include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h" |
namespace url { |
@@ -39,6 +41,7 @@ class IndexedDBFactory; |
class IndexedDBKey; |
class IndexedDBKeyPath; |
class IndexedDBKeyRange; |
+class IndexedDBObservation; |
class IndexedDBTransaction; |
struct IndexedDBValue; |
@@ -129,6 +132,13 @@ class CONTENT_EXPORT IndexedDBDatabase |
void RemovePendingObservers(IndexedDBConnection* connection, |
const std::vector<int32_t>& pending_observer_ids); |
+ void FilterObservation(IndexedDBTransaction*, |
+ int64_t object_store_id, |
+ IndexedDBObservation::OperationType, |
+ const IndexedDBKeyRange&); |
+ 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, |