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

Unified Diff: chrome/browser/background/background_contents_service_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_contents_service_unittest.cc
diff --git a/chrome/browser/background/background_contents_service_unittest.cc b/chrome/browser/background/background_contents_service_unittest.cc
index a42901cf28b57a3d4fa5477a2cf24d650119ab93..b76e2e55d1b0301c55082b6f602c61e22dc81d7b 100644
--- a/chrome/browser/background/background_contents_service_unittest.cc
+++ b/chrome/browser/background/background_contents_service_unittest.cc
@@ -41,8 +41,8 @@
class BackgroundContentsServiceTest : public testing::Test {
public:
BackgroundContentsServiceTest() {}
- virtual ~BackgroundContentsServiceTest() {}
- virtual void SetUp() {
+ ~BackgroundContentsServiceTest() override {}
+ void SetUp() override {
command_line_.reset(new CommandLine(CommandLine::NO_PROGRAM));
}
@@ -168,10 +168,10 @@ class BackgroundContentsServiceNotificationTest
: public BrowserWithTestWindowTest {
public:
BackgroundContentsServiceNotificationTest() {}
- virtual ~BackgroundContentsServiceNotificationTest() {}
+ ~BackgroundContentsServiceNotificationTest() override {}
// Overridden from testing::Test
- virtual void SetUp() {
+ void SetUp() override {
BrowserWithTestWindowTest::SetUp();
// In ChromeOS environment, BrowserWithTestWindowTest initializes
// MessageCenter.
@@ -189,7 +189,7 @@ class BackgroundContentsServiceNotificationTest
message_center::MessageCenter::Get(), base::Closure()));
}
- virtual void TearDown() {
+ void TearDown() override {
g_browser_process->notification_ui_manager()->CancelAll();
profile_manager_.reset();
#if !defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698