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 #ifndef COMPONENTS_PREVIEWS_CORE_PREVIEWS_BLACK_LIST_H_ | 5 #ifndef COMPONENTS_PREVIEWS_CORE_PREVIEWS_BLACK_LIST_H_ |
6 #define COMPONENTS_PREVIEWS_CORE_PREVIEWS_BLACK_LIST_H_ | 6 #define COMPONENTS_PREVIEWS_CORE_PREVIEWS_BLACK_LIST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <queue> | 11 #include <queue> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/callback.h" | 15 #include "base/callback.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
| 19 #include "components/previews/core/previews_experiments.h" |
19 #include "components/previews/core/previews_opt_out_store.h" | 20 #include "components/previews/core/previews_opt_out_store.h" |
20 | 21 |
21 class GURL; | 22 class GURL; |
22 | 23 |
23 namespace base { | 24 namespace base { |
24 class Clock; | 25 class Clock; |
25 } | 26 } |
26 | 27 |
27 namespace previews { | 28 namespace previews { |
28 class PreviewsBlackListItem; | 29 class PreviewsBlackListItem; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 base::ThreadChecker thread_checker_; | 116 base::ThreadChecker thread_checker_; |
116 | 117 |
117 base::WeakPtrFactory<PreviewsBlackList> weak_factory_; | 118 base::WeakPtrFactory<PreviewsBlackList> weak_factory_; |
118 | 119 |
119 DISALLOW_COPY_AND_ASSIGN(PreviewsBlackList); | 120 DISALLOW_COPY_AND_ASSIGN(PreviewsBlackList); |
120 }; | 121 }; |
121 | 122 |
122 } // namespace previews | 123 } // namespace previews |
123 | 124 |
124 #endif // COMPONENTS_PREVIEWS_CORE_PREVIEWS_BLACK_LIST_H_ | 125 #endif // COMPONENTS_PREVIEWS_CORE_PREVIEWS_BLACK_LIST_H_ |
OLD | NEW |