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

Unified Diff: chrome/common/crash_keys.cc

Issue 1133533003: Omnibox - Log Addition Crash Data for Rare HQP Crash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reuse constant Created 5 years, 7 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
« no previous file with comments | « chrome/common/crash_keys.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/crash_keys.cc
diff --git a/chrome/common/crash_keys.cc b/chrome/common/crash_keys.cc
index ceb9c013a39d3a60093ff73b0bf582d821d768f0..57007e0b3c9714994564ece4b11b40d0c5c0a6c7 100644
--- a/chrome/common/crash_keys.cc
+++ b/chrome/common/crash_keys.cc
@@ -128,6 +128,8 @@ const char kKaskoGuid[] = "kasko-guid";
const char kKaskoEquivalentGuid[] = "kasko-equivalent-guid";
#endif
+const char kBug464926CrashKey[] = "bug-464926-info";
+
size_t RegisterChromeCrashKeys() {
// The following keys may be chunked by the underlying crash logging system,
// but ultimately constitute a single key-value pair.
@@ -243,6 +245,12 @@ size_t RegisterChromeCrashKeys() {
}
}
+ // Register a key to help investigate bug 464926.
Robert Sesek 2015/05/13 15:22:34 This should just go in the fixed_keys array.
Mark P 2015/05/13 17:50:14 Okay. Done. In the future, you may want to revis
+ {
+ base::debug::CrashKey crash_key = { kBug464926CrashKey, kSmallSize };
+ keys.push_back(crash_key);
+ }
+
return base::debug::InitCrashKeys(&keys.at(0), keys.size(),
kSingleChunkLength);
}
« no previous file with comments | « chrome/common/crash_keys.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698