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

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

Issue 1478273003: Add an installer crash key for the currently installed version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@installer_crash_keys_cmdline
Patch Set: 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
index 386d264fc7da48162e248d2f50d5c30fe420940d..a0d76b34f7caff1d8a40df9619c5a07eb3df6eb3 100644
--- a/chrome/installer/setup/installer_crash_reporting.h
+++ b/chrome/installer/setup/installer_crash_reporting.h
@@ -11,6 +11,7 @@
namespace base {
class CommandLine;
+class Version;
} // namespace base
namespace installer {
@@ -31,6 +32,10 @@ void SetInitialCrashKeys(const InstallerState& installer_state);
// Sets crash keys for the switches given in |command_line|.
void SetCrashKeysFromCommandLine(const base::CommandLine& command_line);
+// Sets a crash key recording the version of the product which was present
+// before the installer was run.
+void SetCurrentVersionCrashKey(const base::Version* current_version);
+
} // namespace installer
#endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_

Powered by Google App Engine
This is Rietveld 408576698