| 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_;
|
|
|