Chromium Code Reviews| Index: components/previews/core/previews_black_list.h |
| diff --git a/components/previews/core/previews_black_list.h b/components/previews/core/previews_black_list.h |
| index 7bd575302df3d7c9531c494e9c5dcd47ddd8cc39..f42c64ac5569908b5efd320dc9113e558e221134 100644 |
| --- a/components/previews/core/previews_black_list.h |
| +++ b/components/previews/core/previews_black_list.h |
| @@ -96,20 +96,23 @@ class PreviewsBlackList { |
| // Enqueues a task to run when when loading black list information has |
| // completed. Maintains the order that tasks were called in. |
| void QueuePendingTask(base::Closure callback); |
| // Map maintaining the in-memory black list. |
| std::unique_ptr<BlackListItemMap> black_list_item_map_; |
| // Whether the black list is done being loaded from the backing store. |
| bool loaded_; |
| + // The time of the last opt out for this session. |
| + base::Optional<base::Time> last_opt_out_time_; |
|
tbansal1
2016/10/21 23:15:33
#include base/optional.h
RyanSturm
2016/10/24 21:18:25
Done.
|
| + |
| // The backing store of the black list information. |
| std::unique_ptr<PreviewsOptOutStore> opt_out_store_; |
| // Callbacks to be run after loading information from the backing store has |
| // completed. |
| std::queue<base::Closure> pending_callbacks_; |
| std::unique_ptr<base::Clock> clock_; |
| base::ThreadChecker thread_checker_; |