Andrey Zaytsev | 51c9e47c | 2019-10-24 14:09:13 | [diff] [blame] | 1 | // Copyright 2019 The Chromium Authors. All rights reserved. |
| 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, |
Andrey Zaytsev | 51c9e47c | 2019-10-24 14:09:13 | [diff] [blame] | 12 | const 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 | } |