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

Unified Diff: chrome/common/crash_keys.cc

Issue 2797433002: Include Google Update integration details in crash keys and about:version. (Closed)
Patch Set: Created 3 years, 9 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/common/crash_keys.cc
diff --git a/chrome/common/crash_keys.cc b/chrome/common/crash_keys.cc
index baf6abe20e9d66e603bae661de4cbb9ab7b140d1..78b04f487bfe8a9ccdb7d9f61c14d0e52679cc28 100644
--- a/chrome/common/crash_keys.cc
+++ b/chrome/common/crash_keys.cc
@@ -46,6 +46,11 @@ const char kThirdPartyModulesLoaded[] = "third-party-modules-loaded";
const char kThirdPartyModulesNotLoaded[] = "third-party-modules-not-loaded";
const char kIsEnterpriseManaged[] = "is-enterprise-managed";
+
+// Registry values used to determine Chrome's update channel; see
+// https://crbug.com/579504.
+const char kApValue[] = "ap";
+const char kCohortName[] = "cohort-name";
#endif
const char kInputEventFilterSendFailure[] = "input-event-filter-send-failure";
@@ -105,6 +110,10 @@ size_t RegisterChromeCrashKeys() {
{kNumExtensionsCount, kSmallSize},
{kShutdownType, kSmallSize},
{kBrowserUnpinTrace, kMediumSize},
+#if defined(OS_WIN)
+ {kApValue, kSmallSize},
+ {kCohortName, kSmallSize},
+#endif // defined(OS_WIN)
#if !defined(OS_ANDROID)
{gpu::crash_keys::kGPUVendorID, kSmallSize},
{gpu::crash_keys::kGPUDeviceID, kSmallSize},

Powered by Google App Engine
This is Rietveld 408576698