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

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

Issue 7273038: ChromeOs: Call BrowserList::SessionEnding when shutting down via SIGTERM (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 6 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
Index: chrome/browser/metrics/metrics_service.cc
diff --git a/chrome/browser/metrics/metrics_service.cc b/chrome/browser/metrics/metrics_service.cc
index cb298e5c0e2fdc6e58a4a4d35522a91544db2e8e..aa328012e498f0372faf80e1be4979d9e8609d84 100644
--- a/chrome/browser/metrics/metrics_service.cc
+++ b/chrome/browser/metrics/metrics_service.cc
@@ -1231,6 +1231,10 @@ void MetricsService::StoreUnsentLogs() {
}
}
+void MetricsService::LogCleanShutdown() {
+ RecordBooleanPrefValue(prefs::kStabilityExitedCleanly, true);
jar (doing other things) 2011/06/29 04:00:09 Two things: I think this should ONLY be called on
+}
+
void MetricsService::PreparePendingLogText() {
DCHECK(pending_log());
if (!compressed_log_.empty())
@@ -1480,10 +1484,6 @@ void MetricsService::LogRendererHang() {
IncrementPrefValue(prefs::kStabilityRendererHangCount);
}
-void MetricsService::LogCleanShutdown() {
- RecordBooleanPrefValue(prefs::kStabilityExitedCleanly, true);
-}
-
#if defined(OS_CHROMEOS)
void MetricsService::LogChromeOSCrash(const std::string &crash_type) {
if (crash_type == "user")

Powered by Google App Engine
This is Rietveld 408576698