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

Unified Diff: components/metrics/metrics_log_unittest.cc

Issue 666133002: Standardize usage of virtual/override/final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/gpu/gpu_metrics_provider_unittest.cc ('k') | components/metrics/metrics_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/metrics_log_unittest.cc
diff --git a/components/metrics/metrics_log_unittest.cc b/components/metrics/metrics_log_unittest.cc
index eb852273185bd299d51ee72207f494a316ad24ff..da3838277643d4eecfbd37ff477e292c597bdefc 100644
--- a/components/metrics/metrics_log_unittest.cc
+++ b/components/metrics/metrics_log_unittest.cc
@@ -53,7 +53,7 @@ class TestMetricsLog : public MetricsLog {
InitPrefs();
}
- virtual ~TestMetricsLog() {}
+ ~TestMetricsLog() override {}
const ChromeUserMetricsExtension& uma_proto() const {
return *MetricsLog::uma_proto();
@@ -69,9 +69,8 @@ class TestMetricsLog : public MetricsLog {
base::Int64ToString(kEnabledDate));
}
- virtual void GetFieldTrialIds(
- std::vector<variations::ActiveGroupId>* field_trial_ids) const
- override {
+ void GetFieldTrialIds(
+ std::vector<variations::ActiveGroupId>* field_trial_ids) const override {
ASSERT_TRUE(field_trial_ids->empty());
for (size_t i = 0; i < arraysize(kFieldTrialIds); ++i) {
« no previous file with comments | « components/metrics/gpu/gpu_metrics_provider_unittest.cc ('k') | components/metrics/metrics_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698