#include "chrome/updater/crash_reporter.h"
#include <iterator>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include "base/check.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/no_destructor.h"
#include "base/path_service.h"
#include "base/ranges/algorithm.h"
#include "base/strings/strcat.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "chrome/updater/constants.h"
#include "chrome/updater/external_constants.h"
#include "chrome/updater/updater_branding.h"
#include "chrome/updater/updater_scope.h"
#include "chrome/updater/util/util.h"
#include "third_party/crashpad/crashpad/client/crashpad_client.h"
#include "third_party/crashpad/crashpad/client/crashpad_info.h"
#include "third_party/crashpad/crashpad/handler/handler_main.h"
#include "url/gurl.h"
namespace updater {
namespace {
crashpad::CrashpadClient& GetCrashpadClient() { … }
std::vector<std::string> MakeCrashHandlerArgs(UpdaterScope updater_scope) { … }
}
void StartCrashReporter(UpdaterScope updater_scope,
const std::string& version) { … }
int CrashReporterMain() { … }
}