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

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

Issue 2160163002: [IndexedDB] Propogating Changes to Observer : Browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Expected tests updated 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..d2907d92afbec74fc933021c9b1f79e0fa8ac119 100644
--- a/content/browser/indexed_db/indexed_db_observer.cc
+++ b/content/browser/indexed_db/indexed_db_observer.cc
@@ -6,8 +6,25 @@
namespace content {
-IndexedDBObserver::IndexedDBObserver(int32_t observer_id)
- : observer_id_(observer_id) {}
+IndexedDBObserver::Options::Options(bool include_transaction,
+ bool no_records,
+ bool values,
+ unsigned short types)
+ : include_transaction(include_transaction),
+ no_records(no_records),
+ values(values),
+ operation_types(types) {}
+
+IndexedDBObserver::Options::Options(const Options&) = default;
+
+IndexedDBObserver::Options::~Options() {}
+
+IndexedDBObserver::IndexedDBObserver(int32_t observer_id,
+ std::set<int64_t> object_store_ids,
+ const Options& options)
+ : id_(observer_id),
+ object_store_ids_(object_store_ids),
+ options_(options) {}
IndexedDBObserver::~IndexedDBObserver() {}
« no previous file with comments | « content/browser/indexed_db/indexed_db_observer.h ('k') | content/browser/indexed_db/indexed_db_observer_changes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698