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

Unified Diff: components/visitedlink/test/visitedlink_unittest.cc

Issue 684513002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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: components/visitedlink/test/visitedlink_unittest.cc
diff --git a/components/visitedlink/test/visitedlink_unittest.cc b/components/visitedlink/test/visitedlink_unittest.cc
index d41759a9e6a2da0ead0990f4426487ab0a30b51b..80f92225606f1df018dac0f4045d0ffe735ea437 100644
--- a/components/visitedlink/test/visitedlink_unittest.cc
+++ b/components/visitedlink/test/visitedlink_unittest.cc
@@ -205,7 +205,7 @@ class VisitedLinkTest : public testing::Test {
}
// testing::Test
- virtual void SetUp() {
+ void SetUp() override {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
history_dir_ = temp_dir_.path().AppendASCII("VisitedLinkTest");
@@ -214,9 +214,7 @@ class VisitedLinkTest : public testing::Test {
visited_file_ = history_dir_.Append(FILE_PATH_LITERAL("VisitedLinks"));
}
- virtual void TearDown() {
- ClearDB();
- }
+ void TearDown() override { ClearDB(); }
base::ScopedTempDir temp_dir_;
@@ -589,7 +587,7 @@ class VisitedLinkRenderProcessHostFactory
class VisitedLinkEventsTest : public content::RenderViewHostTestHarness {
public:
- virtual void SetUp() {
+ void SetUp() override {
SetRenderProcessHostFactory(&vc_rph_factory_);
content::RenderViewHostTestHarness::SetUp();
}

Powered by Google App Engine
This is Rietveld 408576698