commit | 94b6e423fab75edbd7fb67c116359e155758a6fd | [log] [tgz] |
---|---|---|
author | Ella Ge <[email protected]> | Mon Dec 21 23:40:40 2020 |
committer | Chromium LUCI CQ <[email protected]> | Mon Dec 21 23:40:40 2020 |
tree | d7cf92c06d2a1db47693f8c45e245c157d2b8648 | |
parent | 7c580fbb9e02092c1dbcf2e9894900be52f4ca5d [diff] [blame] |
Convert StatusCallback to base::RepeatingCallback Bug: 1152282 Change-Id: Ieced102dbf0f15feadd688c5cc990438d0cdec08 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2595846 Reviewed-by: John Lee <[email protected]> Commit-Queue: Ella Ge <[email protected]> Cr-Commit-Position: refs/heads/master@{#838746}
diff --git a/chrome/browser/ui/webui/help/version_updater_basic.cc b/chrome/browser/ui/webui/help/version_updater_basic.cc index 2a4c334..0b0a8c2 100644 --- a/chrome/browser/ui/webui/help/version_updater_basic.cc +++ b/chrome/browser/ui/webui/help/version_updater_basic.cc
@@ -7,9 +7,8 @@ #include "base/strings/string16.h" #include "chrome/browser/upgrade_detector/upgrade_detector.h" -void VersionUpdaterBasic::CheckForUpdate( - const StatusCallback& status_callback, - const PromoteCallback&) { +void VersionUpdaterBasic::CheckForUpdate(StatusCallback status_callback, + const PromoteCallback&) { const Status status = UpgradeDetector::GetInstance()->notify_upgrade() ? NEARLY_UPDATED : DISABLED;