Index: ios/chrome/browser/component_updater/ios_component_updater_configurator.cc |
diff --git a/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc b/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc |
index 55bb8f5ea1e0710ed1d2cfa12f40b6cf62e840a2..a441b5f58667fdbeaf43b7ea7a1014dad3fc1320 100644 |
--- a/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc |
+++ b/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc |
@@ -7,8 +7,7 @@ |
#include <string> |
#include <vector> |
-#include "base/sequenced_task_runner.h" |
-#include "base/threading/sequenced_worker_pool.h" |
+#include "base/task_scheduler/post_task.h" |
#include "base/version.h" |
#include "components/component_updater/configurator_impl.h" |
#include "components/update_client/out_of_process_patcher.h" |
@@ -16,7 +15,6 @@ |
#include "ios/chrome/browser/application_context.h" |
#include "ios/chrome/browser/google/google_brand.h" |
#include "ios/chrome/common/channel_info.h" |
-#include "ios/web/public/web_thread.h" |
namespace component_updater { |
@@ -156,10 +154,9 @@ bool IOSConfigurator::EnabledCupSigning() const { |
scoped_refptr<base::SequencedTaskRunner> |
IOSConfigurator::GetSequencedTaskRunner() const { |
- return web::WebThread::GetBlockingPool() |
- ->GetSequencedTaskRunnerWithShutdownBehavior( |
- web::WebThread::GetBlockingPool()->GetSequenceToken(), |
- base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); |
+ return base::CreateSequencedTaskRunnerWithTraits( |
+ {base::MayBlock(), base::TaskPriority::BACKGROUND, |
+ base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN}); |
} |
PrefService* IOSConfigurator::GetPrefService() const { |