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

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: Rebase Created 5 years 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/setup/install.cc ('k') | chrome/installer/setup/installer_crash_reporting.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 45421945d966bba588d9537f00840d00efd2eb20..e50340ecf55788016c7bd0c45534a0002f14bd99 100644
--- a/chrome/installer/setup/installer_crash_reporting.h
+++ b/chrome/installer/setup/installer_crash_reporting.h
@@ -7,6 +7,7 @@
namespace base {
class CommandLine;
+class Version;
} // namespace base
namespace installer {
@@ -27,6 +28,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_
« no previous file with comments | « chrome/installer/setup/install.cc ('k') | chrome/installer/setup/installer_crash_reporting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698