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_UI_SERVICE_H_ | 5 #ifndef COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_ |
6 #define COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_ | 6 #define COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 15 #include "components/previews/core/previews_experiments.h" |
15 #include "components/previews/core/previews_opt_out_store.h" | 16 #include "components/previews/core/previews_opt_out_store.h" |
16 | 17 |
17 class GURL; | 18 class GURL; |
18 | 19 |
19 namespace base { | 20 namespace base { |
20 class SingleThreadTaskRunner; | 21 class SingleThreadTaskRunner; |
21 } | 22 } |
22 | 23 |
23 namespace previews { | 24 namespace previews { |
24 class PreviewsIOData; | 25 class PreviewsIOData; |
(...skipping 28 matching lines...) Expand all Loading... |
53 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; | 54 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |
54 | 55 |
55 base::WeakPtrFactory<PreviewsUIService> weak_factory_; | 56 base::WeakPtrFactory<PreviewsUIService> weak_factory_; |
56 | 57 |
57 DISALLOW_COPY_AND_ASSIGN(PreviewsUIService); | 58 DISALLOW_COPY_AND_ASSIGN(PreviewsUIService); |
58 }; | 59 }; |
59 | 60 |
60 } // namespace previews | 61 } // namespace previews |
61 | 62 |
62 #endif // COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_ | 63 #endif // COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_ |
OLD | NEW |