Avi Drissman | 4a8573c | 2022-09-09 19:35:54 | [diff] [blame] | 1 | // Copyright 2019 The Chromium Authors |
Andrey Zaytsev | 51c9e47c | 2019-10-24 14:09:13 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "chrome/browser/ui/webui/help/test_version_updater.h" |
| 6 | |
| 7 | TestVersionUpdater::TestVersionUpdater() = default; |
| 8 | |
| 9 | TestVersionUpdater::~TestVersionUpdater() = default; |
| 10 | |
Ella Ge | 94b6e42 | 2020-12-21 23:40:40 | [diff] [blame] | 11 | void TestVersionUpdater::CheckForUpdate(StatusCallback callback, |
Ella Ge | 1129751 | 2020-12-28 23:20:39 | [diff] [blame] | 12 | PromoteCallback) { |
Miriam Polzer | b0c11f03 | 2020-05-25 07:38:31 | [diff] [blame] | 13 | callback.Run(status_, progress_, rollback_, powerwash_, version_, |
| 14 | update_size_, message_); |
Andrey Zaytsev | 51c9e47c | 2019-10-24 14:09:13 | [diff] [blame] | 15 | } |
Jae Hoon Kim | af7452c | 2022-04-19 01:15:29 | [diff] [blame] | 16 | |
Georg Neis | 93e3ab91 | 2025-01-28 00:55:14 | [diff] [blame] | 17 | #if BUILDFLAG(IS_CHROMEOS) |
Jae Hoon Kim | af7452c | 2022-04-19 01:15:29 | [diff] [blame] | 18 | bool TestVersionUpdater::IsManagedAutoUpdateEnabled() { |
| 19 | return true; |
| 20 | } |
| 21 | #endif |