| Index: components/previews/core/previews_ui_service.h
|
| diff --git a/components/previews/core/previews_ui_service.h b/components/previews/core/previews_ui_service.h
|
| index 12452bcacbec17f23895ac19047030de39f9668a..85dc8d12dd6335145b02631711807a5e7986a457 100644
|
| --- a/components/previews/core/previews_ui_service.h
|
| +++ b/components/previews/core/previews_ui_service.h
|
| @@ -13,6 +13,7 @@
|
| #include "base/threading/thread_checker.h"
|
| #include "base/time/time.h"
|
| #include "components/previews/core/previews_experiments.h"
|
| +#include "components/previews/core/previews_io_data.h"
|
| #include "components/previews/core/previews_opt_out_store.h"
|
|
|
| class GURL;
|
| @@ -31,7 +32,8 @@ class PreviewsUIService {
|
| PreviewsUIService(
|
| PreviewsIOData* previews_io_data,
|
| const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner,
|
| - std::unique_ptr<PreviewsOptOutStore> previews_opt_out_store);
|
| + std::unique_ptr<PreviewsOptOutStore> previews_opt_out_store,
|
| + const PreviewsIsEnabledCallback& is_enabled_callback);
|
| virtual ~PreviewsUIService();
|
|
|
| // Sets |io_data_| to |io_data| to allow calls from the UI thread to the IO
|
|
|