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

Side by Side Diff: content/browser/indexed_db/indexed_db_observer.h

Issue 2125213002: [IndexedDB] Propogating changes to observers : Renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lifetime
Patch Set: Minor typecasting 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_observer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 13 matching lines...) Expand all
24 explicit Options(bool include_transaction, 24 explicit Options(bool include_transaction,
25 bool no_records, 25 bool no_records,
26 bool values, 26 bool values,
27 unsigned short types); 27 unsigned short types);
28 Options(const Options&); 28 Options(const Options&);
29 ~Options(); 29 ~Options();
30 30
31 bool include_transaction; 31 bool include_transaction;
32 bool no_records; 32 bool no_records;
33 bool values; 33 bool values;
34 // Each bit in operation type corresponds to blink::WebIDBOperationType 34 // Operation type bits are set corresponding to WebIDBOperationType.
35 // values.
36 std::bitset<blink::WebIDBOperationTypeCount> operation_types; 35 std::bitset<blink::WebIDBOperationTypeCount> operation_types;
37 }; 36 };
38 IndexedDBObserver(int32_t observer_id, 37 IndexedDBObserver(int32_t observer_id,
39 std::set<int64_t> object_store_ids, 38 std::set<int64_t> object_store_ids,
40 const Options& options); 39 const Options& options);
41 ~IndexedDBObserver(); 40 ~IndexedDBObserver();
42 41
43 int32_t id() const { return id_; } 42 int32_t id() const { return id_; }
44 const std::set<int64_t>& object_store_ids() const { 43 const std::set<int64_t>& object_store_ids() const {
45 return object_store_ids_; 44 return object_store_ids_;
(...skipping 14 matching lines...) Expand all
60 int32_t id_; 59 int32_t id_;
61 std::set<int64_t> object_store_ids_; 60 std::set<int64_t> object_store_ids_;
62 Options options_; 61 Options options_;
63 62
64 DISALLOW_COPY_AND_ASSIGN(IndexedDBObserver); 63 DISALLOW_COPY_AND_ASSIGN(IndexedDBObserver);
65 }; 64 };
66 65
67 } // namespace content 66 } // namespace content
68 67
69 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_ 68 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698