diff options
Diffstat (limited to 'chrome/browser/metrics/metrics_log.cc')
-rw-r--r-- | chrome/browser/metrics/metrics_log.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc index 025fea8..18441d4 100644 --- a/chrome/browser/metrics/metrics_log.cc +++ b/chrome/browser/metrics/metrics_log.cc @@ -447,11 +447,23 @@ void MetricsLog::WriteRealtimeStabilityAttributes(PrefService* pref) { pref->SetInteger(prefs::kStabilityRendererCrashCount, 0); } + count = pref->GetInteger(prefs::kStabilityExtensionRendererCrashCount); + if (count) { + WriteIntAttribute("extensionrenderercrashcount", count); + pref->SetInteger(prefs::kStabilityExtensionRendererCrashCount, 0); + } + count = pref->GetInteger(prefs::kStabilityRendererHangCount); if (count) { WriteIntAttribute("rendererhangcount", count); pref->SetInteger(prefs::kStabilityRendererHangCount, 0); } + + count = pref->GetInteger(prefs::kStabilityChildProcessCrashCount); + if (count) { + WriteIntAttribute("childprocesscrashcount", count); + pref->SetInteger(prefs::kStabilityChildProcessCrashCount, 0); + } } void MetricsLog::WritePluginList( |