OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/indexed_db/indexed_db_observer.h" | 5 #include "content/browser/indexed_db/indexed_db_observer.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
9 IndexedDBObserver::Options::Options(bool include_transaction, | 9 IndexedDBObserver::Options::Options(bool include_transaction, |
10 bool no_records, | 10 bool no_records, |
11 bool values, | 11 bool values, |
12 unsigned short types) | 12 uint16_t types) |
13 : include_transaction(include_transaction), | 13 : include_transaction(include_transaction), |
14 no_records(no_records), | 14 no_records(no_records), |
15 values(values), | 15 values(values), |
16 operation_types(types) {} | 16 operation_types(types) {} |
17 | 17 |
18 IndexedDBObserver::Options::Options(const Options&) = default; | 18 IndexedDBObserver::Options::Options(const Options&) = default; |
19 | 19 |
20 IndexedDBObserver::Options::~Options() {} | 20 IndexedDBObserver::Options::~Options() {} |
21 | 21 |
22 IndexedDBObserver::IndexedDBObserver(int32_t observer_id, | 22 IndexedDBObserver::IndexedDBObserver(int32_t observer_id, |
23 std::set<int64_t> object_store_ids, | 23 std::set<int64_t> object_store_ids, |
24 const Options& options) | 24 const Options& options) |
25 : id_(observer_id), | 25 : id_(observer_id), |
26 object_store_ids_(object_store_ids), | 26 object_store_ids_(object_store_ids), |
27 options_(options) {} | 27 options_(options) {} |
28 | 28 |
29 IndexedDBObserver::~IndexedDBObserver() {} | 29 IndexedDBObserver::~IndexedDBObserver() {} |
30 | 30 |
31 } // namespace content | 31 } // namespace content |
OLD | NEW |