| Index: components/previews/core/previews_ui_service.cc
|
| diff --git a/components/previews/core/previews_ui_service.cc b/components/previews/core/previews_ui_service.cc
|
| index 44cbb21c9609c490abd7c9641b6dfc974793d6a0..af146cc81f10fa7ebbaa270c3cddd14a7bd3c230 100644
|
| --- a/components/previews/core/previews_ui_service.cc
|
| +++ b/components/previews/core/previews_ui_service.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/single_thread_task_runner.h"
|
| +#include "components/previews/core/previews_io_data.h"
|
| #include "url/gurl.h"
|
|
|
| namespace previews {
|
| @@ -13,12 +14,10 @@
|
| PreviewsUIService::PreviewsUIService(
|
| PreviewsIOData* previews_io_data,
|
| const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner,
|
| - std::unique_ptr<PreviewsOptOutStore> previews_opt_out_store,
|
| - const PreviewsIsEnabledCallback& is_enabled_callback)
|
| + std::unique_ptr<PreviewsOptOutStore> previews_opt_out_store)
|
| : io_task_runner_(io_task_runner), weak_factory_(this) {
|
| previews_io_data->Initialize(weak_factory_.GetWeakPtr(),
|
| - std::move(previews_opt_out_store),
|
| - is_enabled_callback);
|
| + std::move(previews_opt_out_store));
|
| }
|
|
|
| PreviewsUIService::~PreviewsUIService() {
|
|
|