#include "chrome/updater/updater_scope.h"
#include <optional>
#include "base/command_line.h"
#include "base/path_service.h"
#include "build/build_config.h"
#include "chrome/updater/constants.h"
#include "chrome/updater/util/util.h"
#if BUILDFLAG(IS_WIN)
#include "chrome/updater/tag.h"
#include "chrome/updater/util/win_util.h"
#endif
namespace updater {
namespace {
bool IsSystemProcessForCommandLine(const base::CommandLine& command_line) { … }
}
std::optional<tagging::NeedsAdmin> NeedsAdminFromTagArgs(
const std::optional<tagging::TagArgs> tag_args) { … }
bool IsPrefersForCommandLine(const base::CommandLine& command_line) { … }
UpdaterScope GetUpdaterScopeForCommandLine(
const base::CommandLine& command_line) { … }
UpdaterScope GetUpdaterScope() { … }
bool IsSystemInstall() { … }
bool IsSystemInstall(UpdaterScope scope) { … }
}