blob: 597b347abc1b6615ef3b6eb0abb5b17fafd4cba8 [file] [log] [blame]
Avi Drissman4a8573c2022-09-09 19:35:541// Copyright 2019 The Chromium Authors
Andrey Zaytsev51c9e47c2019-10-24 14:09:132// 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
7TestVersionUpdater::TestVersionUpdater() = default;
8
9TestVersionUpdater::~TestVersionUpdater() = default;
10
Ella Ge94b6e422020-12-21 23:40:4011void TestVersionUpdater::CheckForUpdate(StatusCallback callback,
Ella Ge11297512020-12-28 23:20:3912 PromoteCallback) {
Miriam Polzerb0c11f032020-05-25 07:38:3113 callback.Run(status_, progress_, rollback_, powerwash_, version_,
14 update_size_, message_);
Andrey Zaytsev51c9e47c2019-10-24 14:09:1315}
Jae Hoon Kimaf7452c2022-04-19 01:15:2916
Georg Neis93e3ab912025-01-28 00:55:1417#if BUILDFLAG(IS_CHROMEOS)
Jae Hoon Kimaf7452c2022-04-19 01:15:2918bool TestVersionUpdater::IsManagedAutoUpdateEnabled() {
19 return true;
20}
21#endif