Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8788)

Unified Diff: chrome/installer/setup/installer_crash_reporting.h

Issue 1475643004: Add crash keys for the installer covering simple InstallerState fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move include file to fix last nit Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..b551667ef2c6b97ffb88298acd304f3cbefaea2f
--- /dev/null
+++ b/chrome/installer/setup/installer_crash_reporting.h
@@ -0,0 +1,25 @@
+// 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_
+
+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_
« no previous file with comments | « chrome/installer/setup/installer_crash_reporter_client.cc ('k') | chrome/installer/setup/installer_crash_reporting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698