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..b3342d876f9d4f3a0587ef1f576518355e0723bc 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,11 +125,9 @@ 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), |
+ std::vector<base::debug::CrashKey> keys; |
+ installer::GetCrashKeys(&keys); |
+ return base::debug::InitCrashKeys(keys.data(), keys.size(), |
crash_keys::kChunkMaxLength); |
} |