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

Unified Diff: chrome/browser/custom_handlers/protocol_handler_registry_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/custom_handlers/protocol_handler_registry_unittest.cc
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
index e28c034b8998d15762cfb93f736012e4d5a3ec91..ab54350c7d2f96637aa11fc8fb5a7d6b646f64c3 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
@@ -390,7 +390,7 @@ class ProtocolHandlerRegistryTest : public testing::Test {
// Registry owns the delegate_ it handles deletion of that object.
}
- virtual void SetUp() {
+ void SetUp() override {
profile_.reset(new TestingProfile());
CHECK(profile_->GetPrefs());
SetUpRegistry(true);
@@ -398,9 +398,7 @@ class ProtocolHandlerRegistryTest : public testing::Test {
CreateProtocolHandler("test", GURL("http://test.com/%s"));
}
- virtual void TearDown() {
- TeadDownRegistry();
- }
+ void TearDown() override { TeadDownRegistry(); }
TestMessageLoop loop_;

Powered by Google App Engine
This is Rietveld 408576698