commit | 9f343a409942293995cd61f20b55540ebe035d70 | [log] [tgz] |
---|---|---|
author | Ayu Ishii <[email protected]> | Thu Feb 06 18:29:17 2020 |
committer | Commit Bot <[email protected]> | Thu Feb 06 18:29:17 2020 |
tree | 560680d912fa0e3582b59367c1ddb0be299f5aa1 | |
parent | b863946be1891b25f5256bb8be60f0b9954f5bf8 [diff] [blame] |
Convert base::Bind and base::Callback in components/component_updater to Once/Repeating Bug: 1007677 Change-Id: Icb307b143a5776768d7b23e3c2d925b417d0dafa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2040672 Reviewed-by: Joshua Pawlicki <[email protected]> Commit-Queue: Ayu Ishii <[email protected]> Cr-Commit-Position: refs/heads/master@{#739024}
diff --git a/components/component_updater/component_updater_service.cc b/components/component_updater/component_updater_service.cc index 41b569a..6bb0458 100644 --- a/components/component_updater/component_updater_service.cc +++ b/components/component_updater/component_updater_service.cc
@@ -97,8 +97,9 @@ scheduler_->Schedule( base::TimeDelta::FromSeconds(config_->InitialDelay()), base::TimeDelta::FromSeconds(config_->NextCheckDelay()), - base::Bind(base::IgnoreResult(&CrxUpdateService::CheckForUpdates), - base::Unretained(this)), + base::BindRepeating( + base::IgnoreResult(&CrxUpdateService::CheckForUpdates), + base::Unretained(this)), base::DoNothing()); }