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

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

Issue 1561663003: CL for perf tryjob on win (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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
« no previous file with comments | « chrome/installer/util/install_util.cc ('k') | chrome/installer/util/installer_crash_reporting.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chrome/installer/util/install_util.cc ('k') | chrome/installer/util/installer_crash_reporting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698