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

Unified Diff: chrome/browser/download/download_history_unittest.cc

Issue 684613002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad indent 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: chrome/browser/download/download_history_unittest.cc
diff --git a/chrome/browser/download/download_history_unittest.cc b/chrome/browser/download/download_history_unittest.cc
index 608029a1e474729e699805f996a278726b343b8d..e11d0a8ebd9fdb900ad3b36b99503ecf7af9b832 100644
--- a/chrome/browser/download/download_history_unittest.cc
+++ b/chrome/browser/download/download_history_unittest.cc
@@ -203,14 +203,10 @@ class DownloadHistoryTest : public testing::Test {
history_(NULL),
manager_observer_(NULL),
download_created_index_(0) {}
- virtual ~DownloadHistoryTest() {
- STLDeleteElements(&items_);
- }
+ ~DownloadHistoryTest() override { STLDeleteElements(&items_); }
protected:
- virtual void TearDown() override {
- download_history_.reset();
- }
+ void TearDown() override { download_history_.reset(); }
content::MockDownloadManager& manager() { return *manager_.get(); }
content::MockDownloadItem& item(size_t index) { return *items_[index]; }

Powered by Google App Engine
This is Rietveld 408576698