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

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

Issue 1481933002: Move crash keys for command-line switches to components/crash so they can be set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@installer_crash_keys
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 4ce1baee54b87894791b9494ade2b0c11c97dd17..386d264fc7da48162e248d2f50d5c30fe420940d 100644
--- a/chrome/installer/setup/installer_crash_reporting.h
+++ b/chrome/installer/setup/installer_crash_reporting.h
@@ -9,6 +9,10 @@
#include "base/debug/crash_logging.h"
+namespace base {
+class CommandLine;
+} // namespace base
+
namespace installer {
class InstallerState;
@@ -24,6 +28,9 @@ size_t RegisterCrashKeys();
// once.
void SetInitialCrashKeys(const InstallerState& installer_state);
+// Sets crash keys for the switches given in |command_line|.
+void SetCrashKeysFromCommandLine(const base::CommandLine& command_line);
+
} // namespace installer
#endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_

Powered by Google App Engine
This is Rietveld 408576698