#include "chrome/updater/app/app_install.h"
#include <optional>
#include <utility>
#include <vector>
#include "base/check.h"
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/logging.h"
#include "base/memory/scoped_refptr.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/task_traits.h"
#include "base/task/thread_pool.h"
#include "base/version.h"
#include "build/build_config.h"
#include "chrome/updater/activity.h"
#include "chrome/updater/constants.h"
#include "chrome/updater/external_constants.h"
#include "chrome/updater/lock.h"
#include "chrome/updater/persisted_data.h"
#include "chrome/updater/prefs.h"
#include "chrome/updater/registration_data.h"
#include "chrome/updater/service_proxy_factory.h"
#include "chrome/updater/setup.h"
#include "chrome/updater/tag.h"
#include "chrome/updater/update_service.h"
#include "chrome/updater/update_service_internal.h"
#include "chrome/updater/updater_version.h"
#include "chrome/updater/util/util.h"
#include "components/prefs/pref_service.h"
namespace updater {
#if !BUILDFLAG(IS_WIN)
namespace {
class AppInstallControllerImpl : public AppInstallController { … };
}
scoped_refptr<App> MakeAppInstall(bool ) { … }
#endif
AppInstall::AppInstall(AppInstallController::Maker app_install_controller_maker)
: … { … }
AppInstall::~AppInstall() = default;
void AppInstall::Shutdown(int exit_code) { … }
int AppInstall::Initialize() { … }
void AppInstall::FirstTaskRun() { … }
void AppInstall::CreateUpdateServiceProxy() { … }
void AppInstall::GetVersionDone(const base::Version& version) { … }
void AppInstall::InstallCandidateDone(bool valid_version, int result) { … }
void AppInstall::WakeCandidate() { … }
void AppInstall::FetchPolicies() { … }
void AppInstall::RegisterUpdater() { … }
void AppInstall::MaybeInstallApp() { … }
}