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

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

Issue 293393010: Move initial metrics gathering tasks out of MetricsService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes Created 6 years, 7 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_log.cc
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc
index ba5fdf9ec14a83ccf32ffc00e2d0d35cd37012f3..8d37a4133164c01e7a4ba5ad37a2f8639284e175 100644
--- a/chrome/browser/metrics/metrics_log.cc
+++ b/chrome/browser/metrics/metrics_log.cc
@@ -301,12 +301,6 @@ void MetricsLog::WriteRealtimeStabilityAttributes(
SystemProfileProto::Stability* stability =
uma_proto()->mutable_system_profile()->mutable_stability();
- int count = pref->GetInteger(prefs::kStabilityChildProcessCrashCount);
- if (count) {
- stability->set_child_process_crash_count(count);
- pref->SetInteger(prefs::kStabilityChildProcessCrashCount, 0);
- }
-
const uint64 incremental_uptime_sec = incremental_uptime.InSeconds();
if (incremental_uptime_sec)
stability->set_incremental_uptime_sec(incremental_uptime_sec);

Powered by Google App Engine
This is Rietveld 408576698