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

Unified Diff: content/browser/quota/quota_reservation_manager_unittest.cc

Issue 678073006: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bogus formatting 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: content/browser/quota/quota_reservation_manager_unittest.cc
diff --git a/content/browser/quota/quota_reservation_manager_unittest.cc b/content/browser/quota/quota_reservation_manager_unittest.cc
index 66c42df6be4bd8cda9068f7d89fe304b2eab0f60..61de3d574e87ab5601d7ae633a53d9d2ead2c2f8 100644
--- a/content/browser/quota/quota_reservation_manager_unittest.cc
+++ b/content/browser/quota/quota_reservation_manager_unittest.cc
@@ -180,9 +180,9 @@ void RefreshReservation(QuotaReservation* reservation, int64 size) {
class QuotaReservationManagerTest : public testing::Test {
public:
QuotaReservationManagerTest() {}
- virtual ~QuotaReservationManagerTest() {}
+ ~QuotaReservationManagerTest() override {}
- virtual void SetUp() override {
+ void SetUp() override {
ASSERT_TRUE(work_dir_.CreateUniqueTempDir());
file_path_ = work_dir_.path().Append(FILE_PATH_LITERAL("hoge"));
SetFileSize(file_path_, kInitialFileSize);
@@ -191,9 +191,7 @@ class QuotaReservationManagerTest : public testing::Test {
reservation_manager_.reset(new QuotaReservationManager(backend.Pass()));
}
- virtual void TearDown() override {
- reservation_manager_.reset();
- }
+ void TearDown() override { reservation_manager_.reset(); }
FakeBackend* fake_backend() {
return static_cast<FakeBackend*>(reservation_manager_->backend_.get());
« no previous file with comments | « content/browser/quota/quota_manager_unittest.cc ('k') | content/browser/quota/quota_temporary_storage_evictor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698