#include "chrome/updater/app/app_recover.h"
#include <string>
#include <utility>
#include <vector>
#include "base/barrier_closure.h"
#include "base/check.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/memory/scoped_refptr.h"
#include "base/path_service.h"
#include "base/process/launch.h"
#include "base/strings/string_util.h"
#include "base/task/task_traits.h"
#include "base/task/thread_pool.h"
#include "base/version.h"
#include "chrome/updater/activity.h"
#include "chrome/updater/app/app.h"
#include "chrome/updater/constants.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/update_service.h"
namespace updater {
namespace {
class AppRecover : public App { … };
int AppRecover::Initialize() { … }
void AppRecover::FirstTaskRun() { … }
std::vector<RegistrationRequest> AppRecover::RecordRegisteredApps() const { … }
int AppRecover::ReinstallUpdater() const { … }
void AppRecover::RegisterApps(
const std::vector<RegistrationRequest>& registrations,
int reinstall_result) { … }
}
scoped_refptr<App> MakeAppRecover() { … }
}