commit | af7452c6b02074616c152042e49d81ded17fbd08 | [log] [tgz] |
---|---|---|
author | Jae Hoon Kim <[email protected]> | Tue Apr 19 01:15:29 2022 |
committer | Chromium LUCI CQ <[email protected]> | Tue Apr 19 01:15:29 2022 |
tree | 85cd9db79eea088204537f288ab18fa83722cbbb | |
parent | 3dbad607ecf5ea97f969b13f764e4d8f4eae3cd7 [diff] [blame] |
[VersionUpdater] Allow clients to read update_engine features + expose a method to make it easy to check if managed auto updates are enabled/disabled. BUG=1278079 Change-Id: Id9bda4b7312651e43ff4f11238a44e1e3175544c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3591042 Reviewed-by: Kyle Horimoto <[email protected]> Commit-Queue: Jae Hoon Kim <[email protected]> Cr-Commit-Position: refs/heads/main@{#993520}
diff --git a/chrome/browser/ui/webui/help/test_version_updater.cc b/chrome/browser/ui/webui/help/test_version_updater.cc index 4321268..41d2511 100644 --- a/chrome/browser/ui/webui/help/test_version_updater.cc +++ b/chrome/browser/ui/webui/help/test_version_updater.cc
@@ -13,3 +13,9 @@ callback.Run(status_, progress_, rollback_, powerwash_, version_, update_size_, message_); } + +#if BUILDFLAG(IS_CHROMEOS_ASH) +bool TestVersionUpdater::IsManagedAutoUpdateEnabled() { + return true; +} +#endif