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 | |
| 11 | void TestVersionUpdater::CheckForUpdate(const StatusCallback& callback, |
| 12 | const PromoteCallback&) { |
| 13 | callback.Run(status_, progress_, rollback_, version_, update_size_, message_); |
| 14 | } |