| Avi Drissman | 4a8573c | 2022-09-09 19:35:54 | [diff] [blame] | 1 | // Copyright 2021 The Chromium Authors |
| Mila Green | 318241c | 2021-06-18 16:56:44 | [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 | #ifndef CHROME_UPDATER_UPDATE_SERVICE_INTERNAL_IMPL_QUALIFYING_H_ |
| 6 | #define CHROME_UPDATER_UPDATE_SERVICE_INTERNAL_IMPL_QUALIFYING_H_ |
| 7 | |
| 8 | #include "base/memory/scoped_refptr.h" |
| 9 | #include "chrome/updater/update_service_internal.h" |
| Joshua Pawlicki | ebfc2a32 | 2023-01-24 22:09:28 | [diff] [blame] | 10 | #include "chrome/updater/updater_scope.h" |
| Mila Green | 318241c | 2021-06-18 16:56:44 | [diff] [blame] | 11 | |
| 12 | namespace updater { |
| 13 | |
| 14 | class Configurator; |
| 15 | class LocalPrefs; |
| 16 | class UpdateServiceInternal; |
| 17 | |
| Joshua Pawlicki | ebfc2a32 | 2023-01-24 22:09:28 | [diff] [blame] | 18 | // Runs in the thread pool. May block. May use sync primitives. Returns true |
| 19 | // iff the health checks pass. |
| 20 | bool DoPlatformSpecificHealthChecks(UpdaterScope scope); |
| 21 | |
| Mila Green | 318241c | 2021-06-18 16:56:44 | [diff] [blame] | 22 | scoped_refptr<UpdateServiceInternal> MakeQualifyingUpdateServiceInternal( |
| 23 | scoped_refptr<Configurator> config, |
| 24 | scoped_refptr<LocalPrefs> local_prefs); |
| 25 | |
| 26 | } // namespace updater |
| 27 | |
| 28 | #endif // CHROME_UPDATER_UPDATE_SERVICE_INTERNAL_IMPL_QUALIFYING_H_ |