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

Unified Diff: chrome/browser/metrics/metrics_log.cc

Issue 468005: Improve reporting of subprocess crashes.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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 | chrome/browser/metrics/metrics_service.h » ('j') | chrome/browser/metrics/metrics_service.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/metrics_log.cc
===================================================================
--- chrome/browser/metrics/metrics_log.cc (revision 33701)
+++ chrome/browser/metrics/metrics_log.cc (working copy)
@@ -447,11 +447,23 @@
pref->SetInteger(prefs::kStabilityRendererCrashCount, 0);
}
+ count = pref->GetInteger(prefs::kStabilityExtensionRendererCrashCount);
+ if (count) {
+ WriteIntAttribute("extensionrenderercrashcount", count);
jar (doing other things) 2009/12/18 16:28:14 Do you have corresponding changes to the protobuff
asargent_no_longer_on_chrome 2010/01/05 01:01:19 I was under the impression that doing this here is
+ 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(
« no previous file with comments | « no previous file | chrome/browser/metrics/metrics_service.h » ('j') | chrome/browser/metrics/metrics_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698