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

Unified Diff: ui/app_list/app_list_model_unittest.cc

Issue 681873002: Standardize usage of virtual/override/final specifiers. (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 | « ui/app_list/app_list_item_list_unittest.cc ('k') | ui/app_list/demo/app_list_demo_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_model_unittest.cc
diff --git a/ui/app_list/app_list_model_unittest.cc b/ui/app_list/app_list_model_unittest.cc
index c113ecafd6dc591d620a6d7f9572b854b5eb416b..fde8f74cb67e1777f794cc365af6c0c31e9dee9d 100644
--- a/ui/app_list/app_list_model_unittest.cc
+++ b/ui/app_list/app_list_model_unittest.cc
@@ -68,15 +68,11 @@ class TestObserver : public AppListModelObserver {
class AppListModelTest : public testing::Test {
public:
AppListModelTest() {}
- virtual ~AppListModelTest() {}
+ ~AppListModelTest() override {}
// testing::Test overrides:
- virtual void SetUp() override {
- model_.AddObserver(&observer_);
- }
- virtual void TearDown() override {
- model_.RemoveObserver(&observer_);
- }
+ void SetUp() override { model_.AddObserver(&observer_); }
+ void TearDown() override { model_.RemoveObserver(&observer_); }
protected:
bool ItemObservedByFolder(AppListFolderItem* folder,
@@ -227,15 +223,11 @@ class AppListModelFolderTest : public AppListModelTest {
AppListModelFolderTest() {
model_.SetFoldersEnabled(true);
}
- virtual ~AppListModelFolderTest() {}
+ ~AppListModelFolderTest() override {}
// testing::Test overrides:
- virtual void SetUp() override {
- AppListModelTest::SetUp();
- }
- virtual void TearDown() override {
- AppListModelTest::TearDown();
- }
+ void SetUp() override { AppListModelTest::SetUp(); }
+ void TearDown() override { AppListModelTest::TearDown(); }
private:
DISALLOW_COPY_AND_ASSIGN(AppListModelFolderTest);
« no previous file with comments | « ui/app_list/app_list_item_list_unittest.cc ('k') | ui/app_list/demo/app_list_demo_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698