#include "chrome/updater/app/app_server.h"
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include "base/check_op.h"
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/memory/scoped_refptr.h"
#include "base/process/launch.h"
#include "base/process/process.h"
#include "base/time/time.h"
#include "base/version.h"
#include "chrome/updater/activity.h"
#include "chrome/updater/app/app_utils.h"
#include "chrome/updater/configurator.h"
#include "chrome/updater/constants.h"
#include "chrome/updater/external_constants.h"
#include "chrome/updater/persisted_data.h"
#include "chrome/updater/prefs.h"
#include "chrome/updater/update_service.h"
#include "chrome/updater/update_service_impl.h"
#include "chrome/updater/update_service_impl_inactive.h"
#include "chrome/updater/update_service_internal.h"
#include "chrome/updater/update_service_internal_impl.h"
#include "chrome/updater/update_service_internal_impl_inactive.h"
#include "chrome/updater/update_service_internal_impl_qualifying.h"
#include "chrome/updater/updater_scope.h"
#include "chrome/updater/updater_version.h"
#include "chrome/updater/util/util.h"
#include "components/prefs/pref_service.h"
namespace updater {
bool IsInternalService() { … }
AppServer::AppServer() = default;
AppServer::~AppServer() = default;
int AppServer::Initialize() { … }
base::OnceClosure AppServer::ModeCheck() { … }
void AppServer::TaskStarted() { … }
void AppServer::TaskCompleted() { … }
bool AppServer::IsIdle() { … }
void AppServer::Uninitialize() { … }
void AppServer::MaybeUninstall() { … }
void AppServer::FirstTaskRun() { … }
bool AppServer::SwapVersions(GlobalPrefs* global_prefs,
scoped_refptr<LocalPrefs> local_prefs) { … }
}