| Index: chrome/installer/util/installer_crash_reporting.h
|
| diff --git a/chrome/installer/setup/installer_crash_reporting.h b/chrome/installer/util/installer_crash_reporting.h
|
| similarity index 67%
|
| rename from chrome/installer/setup/installer_crash_reporting.h
|
| rename to chrome/installer/util/installer_crash_reporting.h
|
| index 6128b61a7dc6a7d84fe98d5b8183702d70b5f74a..c60ab9d5d59a5ddbb438715e376df77e0dabff0f 100644
|
| --- a/chrome/installer/setup/installer_crash_reporting.h
|
| +++ b/chrome/installer/util/installer_crash_reporting.h
|
| @@ -2,11 +2,13 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_
|
| -#define CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_
|
| +#ifndef CHROME_INSTALLER_UTIL_INSTALLER_CRASH_REPORTING_H_
|
| +#define CHROME_INSTALLER_UTIL_INSTALLER_CRASH_REPORTING_H_
|
|
|
| #include <stddef.h>
|
|
|
| +#include "chrome/installer/util/util_constants.h"
|
| +
|
| namespace base {
|
| class CommandLine;
|
| class Version;
|
| @@ -16,9 +18,6 @@ namespace installer {
|
|
|
| class InstallerState;
|
|
|
| -// Sets up the crash reporting system for the installer.
|
| -void ConfigureCrashReporting(const InstallerState& installer_state);
|
| -
|
| // Registers all crash keys used by the installer.
|
| size_t RegisterCrashKeys();
|
|
|
| @@ -34,6 +33,12 @@ void SetCrashKeysFromCommandLine(const base::CommandLine& command_line);
|
| // before the installer was run.
|
| void SetCurrentVersionCrashKey(const base::Version* current_version);
|
|
|
| +// Set a crash key recording the current stage of the installer.
|
| +void SetStageCrashKey(InstallerStage stage);
|
| +
|
| +// Set a crash key recording the archive type (full or incremental).
|
| +void SetArchiveTypeCrashKey(ArchiveType archive_type);
|
| +
|
| } // namespace installer
|
|
|
| -#endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_
|
| +#endif // CHROME_INSTALLER_UTIL_INSTALLER_CRASH_REPORTING_H_
|
|
|