blob: 1e082ab335845811ae70e4f2f5b66d49ab48017a [file] [log] [blame]
Avi Drissman4a8573c2022-09-09 19:35:541// Copyright 2021 The Chromium Authors
Mila Green318241c2021-06-18 16:56:442// 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 Pawlickiebfc2a322023-01-24 22:09:2810#include "chrome/updater/updater_scope.h"
Mila Green318241c2021-06-18 16:56:4411
12namespace updater {
13
14class Configurator;
15class LocalPrefs;
16class UpdateServiceInternal;
17
Joshua Pawlickiebfc2a322023-01-24 22:09:2818// Runs in the thread pool. May block. May use sync primitives. Returns true
19// iff the health checks pass.
20bool DoPlatformSpecificHealthChecks(UpdaterScope scope);
21
Mila Green318241c2021-06-18 16:56:4422scoped_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_