diff options
author | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-30 16:05:48 +0000 |
---|---|---|
committer | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-30 16:05:48 +0000 |
commit | 8e674e456d8fa2a7e79ee4cb4f200c0399036fb4 (patch) | |
tree | ccd4313c2d5bbeefa27ecb54f1b6f7e1e8d3ade3 /chrome/browser/metrics_log.cc | |
parent | 4a5a6f8ec12966cce75fd70d77fa1b32dea85a86 (diff) | |
download | chromium_src-8e674e456d8fa2a7e79ee4cb4f200c0399036fb4.zip chromium_src-8e674e456d8fa2a7e79ee4cb4f200c0399036fb4.tar.gz chromium_src-8e674e456d8fa2a7e79ee4cb4f200c0399036fb4.tar.bz2 |
Send the "shutdown didn't get to finish" metric to UMA.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/metrics_log.cc')
-rw-r--r-- | chrome/browser/metrics_log.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/metrics_log.cc b/chrome/browser/metrics_log.cc index e488567..06daa76 100644 --- a/chrome/browser/metrics_log.cc +++ b/chrome/browser/metrics_log.cc @@ -350,6 +350,10 @@ void MetricsLog::WriteStabilityElement() { WriteIntAttribute("crashcount", pref->GetInteger(prefs::kStabilityCrashCount)); pref->SetInteger(prefs::kStabilityCrashCount, 0); + WriteIntAttribute("incompleteshutdowncount", + pref->GetInteger( + prefs::kStabilityIncompleteSessionEndCount)); + pref->SetInteger(prefs::kStabilityIncompleteSessionEndCount, 0); WriteIntAttribute("pageloadcount", pref->GetInteger(prefs::kStabilityPageLoadCount)); pref->SetInteger(prefs::kStabilityPageLoadCount, 0); |