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

Unified Diff: components/metrics/stability_metrics_helper.cc

Issue 2164023002: Correctly report extension renderer launch counts in system profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/stability_metrics_helper.cc
diff --git a/components/metrics/stability_metrics_helper.cc b/components/metrics/stability_metrics_helper.cc
index 8adcb226bd31339aa2be6ff44bf4369ae18e219f..af7f1b4f44a8da3afb6f81f013eb1740eedf34ff 100644
--- a/components/metrics/stability_metrics_helper.cc
+++ b/components/metrics/stability_metrics_helper.cc
@@ -122,10 +122,11 @@ void StabilityMetricsHelper::ProvideStabilityMetrics(
local_state_->SetInteger(prefs::kStabilityRendererHangCount, 0);
}
- count = local_state_->GetInteger(prefs::kStabilityRendererLaunchCount);
+ count =
+ local_state_->GetInteger(prefs::kStabilityExtensionRendererLaunchCount);
if (count) {
- stability_proto->set_renderer_launch_count(count);
- local_state_->SetInteger(prefs::kStabilityRendererLaunchCount, 0);
+ stability_proto->set_extension_renderer_launch_count(count);
+ local_state_->SetInteger(prefs::kStabilityExtensionRendererLaunchCount, 0);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698