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

Unified Diff: chrome/browser/metrics/variations/variations_service_unittest.cc

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
Index: chrome/browser/metrics/variations/variations_service_unittest.cc
diff --git a/chrome/browser/metrics/variations/variations_service_unittest.cc b/chrome/browser/metrics/variations/variations_service_unittest.cc
index bd5e134d1fa305f0cca1da592a12e444d025fe96..6478ade5352054401d9fc08f277f5f9fa7076af3 100644
--- a/chrome/browser/metrics/variations/variations_service_unittest.cc
+++ b/chrome/browser/metrics/variations/variations_service_unittest.cc
@@ -58,7 +58,7 @@ class TestVariationsService : public VariationsService {
bool seed_stored() const { return seed_stored_; }
- virtual void DoActualFetch() OVERRIDE {
+ virtual void DoActualFetch() override {
if (intercepts_fetch_) {
fetch_attempted_ = true;
return;
@@ -70,7 +70,7 @@ class TestVariationsService : public VariationsService {
protected:
virtual void StoreSeed(const std::string& seed_data,
const std::string& seed_signature,
- const base::Time& date_fetched) OVERRIDE {
+ const base::Time& date_fetched) override {
seed_stored_ = true;
}
@@ -91,7 +91,7 @@ class TestVariationsServiceObserver : public VariationsService::Observer {
virtual ~TestVariationsServiceObserver() {
}
- virtual void OnExperimentChangesDetected(Severity severity) OVERRIDE {
+ virtual void OnExperimentChangesDetected(Severity severity) override {
switch (severity) {
case BEST_EFFORT:
++best_effort_changes_notified_;
@@ -198,7 +198,7 @@ class VariationsServiceTestChromeOS : public VariationsServiceTest {
protected:
VariationsServiceTestChromeOS() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
cros_settings_ = chromeos::CrosSettings::Get();
DCHECK(cros_settings_ != NULL);
// Remove the real DeviceSettingsProvider and replace it with a stub that
@@ -211,7 +211,7 @@ class VariationsServiceTestChromeOS : public VariationsServiceTest {
cros_settings_->AddSettingsProvider(&stub_settings_provider_);
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
// Restore the real DeviceSettingsProvider.
EXPECT_TRUE(
cros_settings_->RemoveSettingsProvider(&stub_settings_provider_));

Powered by Google App Engine
This is Rietveld 408576698