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

Unified Diff: components/metrics/stability_metrics_helper.cc

Issue 1923653002: Wire up process launch error codes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix debug and clang Created 4 years, 8 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/service/service_utility_process_host.cc ('k') | components/nacl/broker/nacl_broker_listener.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/stability_metrics_helper.cc
diff --git a/components/metrics/stability_metrics_helper.cc b/components/metrics/stability_metrics_helper.cc
index 52b91f0f127d65df8adcb795e1abe7f2e1d65345..7b771f9f4d54c6610aa0a96518650bfc6969d025 100644
--- a/components/metrics/stability_metrics_helper.cc
+++ b/components/metrics/stability_metrics_helper.cc
@@ -197,6 +197,8 @@ void StabilityMetricsHelper::LogRendererCrash(bool was_extension_process,
} else if (status == base::TERMINATION_STATUS_LAUNCH_FAILED) {
UMA_HISTOGRAM_ENUMERATION("BrowserRenderProcessHost.ChildLaunchFailures",
histogram_type, RENDERER_TYPE_COUNT);
+ UMA_HISTOGRAM_SPARSE_SLOWLY(
+ "BrowserRenderProcessHost.ChildLaunchFailureCodes", exit_code);
if (was_extension_process)
IncrementPrefValue(prefs::kStabilityExtensionRendererFailedLaunchCount);
else
« no previous file with comments | « chrome/service/service_utility_process_host.cc ('k') | components/nacl/broker/nacl_broker_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698