Chromium Code Reviews| 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..b40f265fb1a1a4fefae54ab0937eb149d9d4b917 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) |
|
cmumford
2016/07/19 16:00:16
Use int16/int64/etc, rather than the C type short
|
| + : 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, |
| + Options options) |
| + : id_(observer_id), |
| + object_store_ids_(object_store_ids), |
| + options_(options) {} |
| IndexedDBObserver::~IndexedDBObserver() {} |