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

Unified Diff: chrome/browser/history/android/sqlite_cursor_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/sqlite_cursor_unittest.cc
diff --git a/chrome/browser/history/android/sqlite_cursor_unittest.cc b/chrome/browser/history/android/sqlite_cursor_unittest.cc
index 076eb449ed57baabbf4ed92be86fab0406287537..c7aa0c279755c7d7a7f1b8a8d2b1886c3dece773 100644
--- a/chrome/browser/history/android/sqlite_cursor_unittest.cc
+++ b/chrome/browser/history/android/sqlite_cursor_unittest.cc
@@ -48,11 +48,10 @@ class SQLiteCursorTest : public testing::Test,
ui_thread_(BrowserThread::UI, &message_loop_),
file_thread_(BrowserThread::FILE, &message_loop_) {
}
- virtual ~SQLiteCursorTest() {
- }
+ ~SQLiteCursorTest() override {}
protected:
- virtual void SetUp() override {
+ void SetUp() override {
// Setup the testing profile, so the bookmark_model_sql_handler could
// get the bookmark model from it.
ASSERT_TRUE(profile_manager_.SetUp());
@@ -72,28 +71,20 @@ class SQLiteCursorTest : public testing::Test,
testing_profile_, ServiceAccessType::EXPLICIT_ACCESS);
}
- virtual void TearDown() override {
+ void TearDown() override {
testing_profile_->DestroyHistoryService();
profile_manager_.DeleteTestingProfile(chrome::kInitialProfile);
testing_profile_ = NULL;
}
// Override SQLiteCursor::TestObserver.
- virtual void OnPostMoveToTask() override {
- base::MessageLoop::current()->Run();
- }
+ void OnPostMoveToTask() override { base::MessageLoop::current()->Run(); }
- virtual void OnGetMoveToResult() override {
- base::MessageLoop::current()->Quit();
- }
+ void OnGetMoveToResult() override { base::MessageLoop::current()->Quit(); }
- virtual void OnPostGetFaviconTask() override {
- base::MessageLoop::current()->Run();
- }
+ void OnPostGetFaviconTask() override { base::MessageLoop::current()->Run(); }
- virtual void OnGetFaviconResult() override {
- base::MessageLoop::current()->Quit();
- }
+ void OnGetFaviconResult() override { base::MessageLoop::current()->Quit(); }
protected:
TestingProfileManager profile_manager_;

Powered by Google App Engine
This is Rietveld 408576698