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

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

Issue 1537743006: Persist setup metrics and have Chrome report them during UMA upload. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shared-histograms
Patch Set: address (many) comments by Greg Created 4 years, 10 months 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.cc
diff --git a/chrome/installer/setup/installer_crash_reporting.cc b/chrome/installer/setup/installer_crash_reporting.cc
index fcecd773a729cf49d90e06bd4ba7facb0d938854..3bbedb8e8b62ee68096a43c7598072983ece2b5f 100644
--- a/chrome/installer/setup/installer_crash_reporting.cc
+++ b/chrome/installer/setup/installer_crash_reporting.cc
@@ -121,7 +121,11 @@ void ConfigureCrashReporting(const InstallerState& installer_state) {
size_t RegisterCrashKeys() {
const base::debug::CrashKey kFixedKeys[] = {
+#if defined(OS_MACOSX) || defined(OS_WIN)
+ { crash_keys::kMetricsClientId, crash_keys::kSmallSize },
+#else
{ crash_keys::kClientId, crash_keys::kSmallSize },
+#endif
{ kCurrentVersion, crash_keys::kSmallSize },
{ kDistributionType, crash_keys::kSmallSize },
{ kIsMultiInstall, crash_keys::kSmallSize },

Powered by Google App Engine
This is Rietveld 408576698