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

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

Issue 2125213002: [IndexedDB] Propogating changes to observers : Renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lifetime
Patch Set: Minor bugs fixed Created 4 years, 5 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.cc
diff --git a/content/browser/indexed_db/indexed_db_observer.cc b/content/browser/indexed_db/indexed_db_observer.cc
index 56d53eb77b4e331f4a13623830fd495f54edaedd..9e74b3acb51e9532caa0ed8caa85fe55b8e86706 100644
--- a/content/browser/indexed_db/indexed_db_observer.cc
+++ b/content/browser/indexed_db/indexed_db_observer.cc
@@ -6,8 +6,19 @@
namespace content {
-IndexedDBObserver::IndexedDBObserver(int32_t observer_id)
- : observer_id_(observer_id) {}
+IndexedDBObserver::IndexedDBObserver(int32_t observer_id,
+ std::set<int64_t> object_store_ids,
+ bool include_transaction,
+ bool no_records,
+ bool values)
+ : id_(observer_id),
+ object_store_ids_(object_store_ids),
+ include_transaction_(include_transaction),
+ no_records_(no_records),
+ values_(values) {
+ for (int i = 0; i < 4; i++)
jsbell 2016/07/14 20:08:13 No magic number: use blink::WebIDBOperationTypeCou
palakj1 2016/07/15 20:16:04 Done.
+ operation_type_[i] = true;
+}
IndexedDBObserver::~IndexedDBObserver() {}

Powered by Google App Engine
This is Rietveld 408576698