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

Unified Diff: chrome/browser/background/background_mode_manager_unittest.cc

Issue 684613002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad indent 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/background/background_mode_manager_unittest.cc
diff --git a/chrome/browser/background/background_mode_manager_unittest.cc b/chrome/browser/background/background_mode_manager_unittest.cc
index d8e9930065a0a6f0ace016c244b44e70f4ec0ce5..402917b57c45e14b2ec90f60cc0e937303456594 100644
--- a/chrome/browser/background/background_mode_manager_unittest.cc
+++ b/chrome/browser/background/background_mode_manager_unittest.cc
@@ -152,8 +152,8 @@ void AssertBackgroundModeSuspended(
class BackgroundModeManagerTest : public testing::Test {
public:
BackgroundModeManagerTest() {}
- virtual ~BackgroundModeManagerTest() {}
- virtual void SetUp() override {
+ ~BackgroundModeManagerTest() override {}
+ void SetUp() override {
command_line_.reset(new CommandLine(CommandLine::NO_PROGRAM));
profile_manager_ = CreateTestingProfileManager();
profile_ = profile_manager_->CreateTestingProfile("p1");
@@ -201,8 +201,8 @@ class BackgroundModeManagerWithExtensionsTest
: public BackgroundModeManagerTest {
public:
BackgroundModeManagerWithExtensionsTest() {}
- virtual ~BackgroundModeManagerWithExtensionsTest() {}
- virtual void SetUp() override {
+ ~BackgroundModeManagerWithExtensionsTest() override {}
+ void SetUp() override {
BackgroundModeManagerTest::SetUp();
// Aura clears notifications from the message center at shutdown.
message_center::MessageCenter::Initialize();
@@ -226,7 +226,7 @@ class BackgroundModeManagerWithExtensionsTest
manager_->RegisterProfile(profile_);
}
- virtual void TearDown() {
+ void TearDown() override {
// Clean up the status icon. If this is not done before profile deletes,
// the context menu updates will DCHECK with the now deleted profiles.
StatusIcon* status_icon = manager_->status_icon_;

Powered by Google App Engine
This is Rietveld 408576698