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

Unified Diff: chrome/browser/profiles/off_the_record_profile_impl_unittest.cc

Issue 654223009: Standardize usage of virtual/override/final in chrome/browser/profiles/ (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
Index: chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc b/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
index 9bb689a66256b75941e1a20199f899d62e2e1072..4040a71aab7e9904ea213f57892fb46e0edb0ee5 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
@@ -37,12 +37,10 @@ class TestingProfileWithHostZoomMap : public TestingProfile {
zoom_level_prefs_->InitPrefsAndCopyToHostZoomMap(GetPath(), host_zoom_map);
}
- virtual ~TestingProfileWithHostZoomMap() {}
+ ~TestingProfileWithHostZoomMap() override {}
// Profile overrides:
- virtual PrefService* GetOffTheRecordPrefs() override {
- return GetPrefs();
- }
+ PrefService* GetOffTheRecordPrefs() override { return GetPrefs(); }
private:
void OnZoomLevelChanged(const HostZoomMap::ZoomLevelChange& change) {
@@ -104,7 +102,7 @@ class OffTheRecordProfileImplTest : public BrowserWithTestWindowTest {
}
// BrowserWithTestWindowTest overrides:
- virtual TestingProfile* CreateProfile() override {
+ TestingProfile* CreateProfile() override {
return new TestingProfileWithHostZoomMap;
}

Powered by Google App Engine
This is Rietveld 408576698