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

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

Issue 2601983002: [IndexedDB] Adding transaction and value support to observers (Closed)
Patch Set: rebase 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_observer.h
diff --git a/content/browser/indexed_db/indexed_db_observer.h b/content/browser/indexed_db/indexed_db_observer.h
index 2d8f23b70200b241ab5f6737053a2faee2eeb69a..f18388460b54d19fa6483b992f83a416008183e0 100644
--- a/content/browser/indexed_db/indexed_db_observer.h
+++ b/content/browser/indexed_db/indexed_db_observer.h
@@ -44,6 +44,10 @@ class CONTENT_EXPORT IndexedDBObserver {
return object_store_ids_;
}
+ void set_object_store_ids(std::set<int64_t> ids) {
+ object_store_ids_ = std::move(ids);
+ }
+
bool IsRecordingType(blink::WebIDBOperationType type) const {
DCHECK_NE(type, blink::WebIDBOperationTypeCount);
return options_.operation_types[type];

Powered by Google App Engine
This is Rietveld 408576698