Chromium Code Reviews| Index: chrome/installer/setup/installer_crash_reporting.h |
| diff --git a/chrome/installer/setup/installer_crash_reporting.h b/chrome/installer/setup/installer_crash_reporting.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4ce1baee54b87894791b9494ade2b0c11c97dd17 |
| --- /dev/null |
| +++ b/chrome/installer/setup/installer_crash_reporting.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// 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_ |
| + |
| +#include <vector> |
|
grt (UTC plus 2)
2015/11/27 15:05:17
unused. :-)
|
| + |
| +#include "base/debug/crash_logging.h" |
|
grt (UTC plus 2)
2015/11/27 15:05:16
move to .cc file
|
| + |
| +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(); |
| + |
| +// Sets all crash keys that are available during process startup. These do not |
| +// vary during execution so this function will not need to be called more than |
| +// once. |
| +void SetInitialCrashKeys(const InstallerState& installer_state); |
| + |
| +} // namespace installer |
| + |
| +#endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_ |