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

Unified Diff: chrome/installer/setup/installer_crash_reporter_client.cc

Issue 1475643004: Add crash keys for the installer covering simple InstallerState fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move include file to fix last nit 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/installer/setup/BUILD.gn ('k') | chrome/installer/setup/installer_crash_reporting.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/installer_crash_reporter_client.cc
diff --git a/chrome/installer/setup/installer_crash_reporter_client.cc b/chrome/installer/setup/installer_crash_reporter_client.cc
index a19f09507a201e4f400d2e8a9808a7d3ee92a55c..b96ed37870244bedd7948120d031e4e851cbf176 100644
--- a/chrome/installer/setup/installer_crash_reporter_client.cc
+++ b/chrome/installer/setup/installer_crash_reporter_client.cc
@@ -13,6 +13,7 @@
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_version.h"
#include "chrome/common/env_vars.h"
+#include "chrome/installer/setup/installer_crash_reporting.h"
#include "chrome/installer/util/google_update_settings.h"
#include "components/crash/core/common/crash_keys.h"
@@ -124,12 +125,7 @@ bool InstallerCrashReporterClient::GetCrashDumpLocation(
}
size_t InstallerCrashReporterClient::RegisterCrashKeys() {
- const base::debug::CrashKey kKeys[] = {
- { crash_keys::kClientId, crash_keys::kSmallSize },
- };
-
- return base::debug::InitCrashKeys(&kKeys[0], arraysize(kKeys),
- crash_keys::kChunkMaxLength);
+ return installer::RegisterCrashKeys();
}
bool InstallerCrashReporterClient::IsRunningUnattended() {
« no previous file with comments | « chrome/installer/setup/BUILD.gn ('k') | chrome/installer/setup/installer_crash_reporting.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698