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

Unified Diff: components/history/core/browser/url_database_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/history/core/browser/url_database_unittest.cc
diff --git a/components/history/core/browser/url_database_unittest.cc b/components/history/core/browser/url_database_unittest.cc
index 000d70cf6fbd719dc6c552858421d11c9ae69b36..1ecced9f62a6ca9b158697a5788ff527c9ba1e60 100644
--- a/components/history/core/browser/url_database_unittest.cc
+++ b/components/history/core/browser/url_database_unittest.cc
@@ -45,7 +45,7 @@ class URLDatabaseTest : public testing::Test,
private:
// Test setup.
- virtual void SetUp() {
+ void SetUp() override {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
base::FilePath db_file = temp_dir_.path().AppendASCII("URLTest.db");
@@ -57,9 +57,7 @@ class URLDatabaseTest : public testing::Test,
InitKeywordSearchTermsTable();
CreateKeywordSearchTermsIndices();
}
- virtual void TearDown() {
- db_.Close();
- }
+ void TearDown() override { db_.Close(); }
base::ScopedTempDir temp_dir_;
sql::Connection db_;
« no previous file with comments | « components/google/core/browser/google_url_tracker_unittest.cc ('k') | components/invalidation/gcm_network_channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698