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

Unified Diff: chrome/browser/history/android/visit_sql_handler_unittest.cc

Issue 885283009: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/history/android/visit_sql_handler_unittest.cc
diff --git a/chrome/browser/history/android/visit_sql_handler_unittest.cc b/chrome/browser/history/android/visit_sql_handler_unittest.cc
index 3229d7ae8435d472d0b394ef0f9a0dac01ecd336..723b0feee8c9983e7b3dd8ce1f183ddb869784b8 100644
--- a/chrome/browser/history/android/visit_sql_handler_unittest.cc
+++ b/chrome/browser/history/android/visit_sql_handler_unittest.cc
@@ -26,10 +26,10 @@ class VisitSQLHandlerTest : public testing::Test {
VisitSQLHandlerTest()
: urls_sql_handler_(&history_db_),
visit_sql_handler_(&history_db_, &history_db_) {}
- virtual ~VisitSQLHandlerTest() {}
+ ~VisitSQLHandlerTest() override {}
protected:
- virtual void SetUp() {
+ void SetUp() override {
// Get a temporary directory for the test DB files.
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
base::FilePath history_db_name =
@@ -37,8 +37,7 @@ class VisitSQLHandlerTest : public testing::Test {
ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name));
}
- virtual void TearDown() {
- }
+ void TearDown() override {}
TestHistoryDatabase history_db_;
base::ScopedTempDir temp_dir_;
« no previous file with comments | « chrome/browser/history/android/urls_sql_handler_unittest.cc ('k') | chrome/browser/metrics/android_metrics_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698