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

Unified Diff: sql/connection_unittest.cc

Issue 817403002: Standardize usage of virtual/override/final specifiers in sql/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | sql/meta_table_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/connection_unittest.cc
diff --git a/sql/connection_unittest.cc b/sql/connection_unittest.cc
index bb3f000cf65563ce76d07ebce74fd9ad4fe8edf3..d79cba8d0298e1289a61198e95fb746e9865e3fe 100644
--- a/sql/connection_unittest.cc
+++ b/sql/connection_unittest.cc
@@ -90,15 +90,13 @@ class ScopedUmaskSetter {
class SQLConnectionTest : public testing::Test {
public:
- virtual void SetUp() {
+ void SetUp() override {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
db_path_ = temp_dir_.path().AppendASCII("SQLConnectionTest.db");
ASSERT_TRUE(db_.Open(db_path_));
}
- virtual void TearDown() {
- db_.Close();
- }
+ void TearDown() override { db_.Close(); }
sql::Connection& db() { return db_; }
const base::FilePath& db_path() { return db_path_; }
« no previous file with comments | « no previous file | sql/meta_table_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698