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

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: typedef -> using, %lu -> PRIuS 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
« no previous file with comments | « chrome/common/crash_keys_unittest.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 b551667ef2c6b97ffb88298acd304f3cbefaea2f..45421945d966bba588d9537f00840d00efd2eb20 100644
--- a/chrome/installer/setup/installer_crash_reporting.h
+++ b/chrome/installer/setup/installer_crash_reporting.h
@@ -5,6 +5,10 @@
#ifndef CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_
#define CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_
+namespace base {
+class CommandLine;
+} // namespace base
+
namespace installer {
class InstallerState;
@@ -20,6 +24,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_
« no previous file with comments | « chrome/common/crash_keys_unittest.cc ('k') | chrome/installer/setup/installer_crash_reporting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698