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

Unified Diff: components/metrics/test_metrics_provider.cc

Issue 1985733002: Always check if providers have initial stability metrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed order of test expectations Created 4 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
« no previous file with comments | « components/metrics/test_metrics_provider.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/test_metrics_provider.cc
diff --git a/components/metrics/test_metrics_provider.cc b/components/metrics/test_metrics_provider.cc
index 409d8d129d66698623955a794180904dacaa6f82..db88ed4c80623529b37d818cd77cfb518704c9d8 100644
--- a/components/metrics/test_metrics_provider.cc
+++ b/components/metrics/test_metrics_provider.cc
@@ -17,6 +17,7 @@ void TestMetricsProvider::OnRecordingDisabled() {
}
bool TestMetricsProvider::HasInitialStabilityMetrics() {
+ has_initial_stability_metrics_called_ = true;
return has_initial_stability_metrics_;
}
« no previous file with comments | « components/metrics/test_metrics_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698