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

Unified Diff: content/browser/indexed_db/indexed_db_database.h

Issue 2601983002: [IndexedDB] Adding transaction and value support to observers (Closed)
Patch Set: added comments and bug link Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
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 df26126e5ca8345dffb835ff1180237c6f1d7bb6..3a40282a51c761743a69bbbefb49404862c7ba26 100644
--- a/content/browser/indexed_db/indexed_db_database.h
+++ b/content/browser/indexed_db/indexed_db_database.h
@@ -139,10 +139,12 @@ class CONTENT_EXPORT IndexedDBDatabase
int32_t observer_id,
const IndexedDBObserver::Options& options);
+ // |value| can be null for delete and clear operations.
void FilterObservation(IndexedDBTransaction*,
int64_t object_store_id,
blink::WebIDBOperationType type,
- const IndexedDBKeyRange& key_range);
+ const IndexedDBKeyRange& key_range,
+ const IndexedDBValue* value);
void SendObservations(
std::map<int32_t, ::indexed_db::mojom::ObserverChangesPtr> change_map);
« no previous file with comments | « content/browser/indexed_db/indexed_db_connection.cc ('k') | content/browser/indexed_db/indexed_db_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698