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

Unified Diff: android_webview/common/crash_reporter/crash_keys.cc

Issue 2708883006: Add possibility to ignore unregistered crash keys. Use this from WebView (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | base/debug/crash_logging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/common/crash_reporter/crash_keys.cc
diff --git a/android_webview/common/crash_reporter/crash_keys.cc b/android_webview/common/crash_reporter/crash_keys.cc
index cd82afc34bb68a402c48d870c89d9344f8e29f08..c1a46ec32e6170a0c067d182a9e101c38e74e183 100644
--- a/android_webview/common/crash_reporter/crash_keys.cc
+++ b/android_webview/common/crash_reporter/crash_keys.cc
@@ -37,7 +37,8 @@ size_t RegisterWebViewCrashKeys() {
std::vector<base::debug::CrashKey> keys(fixed_keys,
fixed_keys + arraysize(fixed_keys));
- return base::debug::InitCrashKeys(&keys.at(0), keys.size(), kChunkMaxLength);
+ return base::debug::InitCrashKeys(&keys.at(0), keys.size(), kChunkMaxLength,
+ true /* ignore_unregistered_keys */);
}
}
« no previous file with comments | « no previous file | base/debug/crash_logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698