Chromium Code Reviews| Index: chrome/browser/metrics/chrome_stability_metrics_provider.cc |
| diff --git a/chrome/browser/metrics/chrome_stability_metrics_provider.cc b/chrome/browser/metrics/chrome_stability_metrics_provider.cc |
| index 0c9172911cb4b7fdbb3652b3948e62622c513b03..f39bbd46caf00447cdeff19043f1b62e28bbe866 100644 |
| --- a/chrome/browser/metrics/chrome_stability_metrics_provider.cc |
| +++ b/chrome/browser/metrics/chrome_stability_metrics_provider.cc |
| @@ -98,6 +98,12 @@ void ChromeStabilityMetricsProvider::ProvideStabilityMetrics( |
| pref->SetInteger(prefs::kStabilityPageLoadCount, 0); |
| } |
| + count = pref->GetInteger(prefs::kStabilityChildProcessCrashCount); |
|
blundell
2014/05/27 15:55:49
This code should have been moved here when ChromeS
|
| + if (count) { |
| + stability_proto->set_child_process_crash_count(count); |
| + pref->SetInteger(prefs::kStabilityChildProcessCrashCount, 0); |
| + } |
| + |
| count = pref->GetInteger(prefs::kStabilityRendererCrashCount); |
| if (count) { |
| stability_proto->set_renderer_crash_count(count); |