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

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

Issue 638503002: Replacing the OVERRIDE with override and FINAL with final in content/browser/[download|… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 a584f8fe25f424a3fcd8681ae78d68589a1c5484..eff98b458124b6f8241a417c5586bac72f06277b 100644
--- a/content/browser/quota/quota_reservation_manager_unittest.cc
+++ b/content/browser/quota/quota_reservation_manager_unittest.cc
@@ -52,7 +52,7 @@ class FakeBackend : public QuotaReservationManager::QuotaBackend {
virtual void ReserveQuota(const GURL& origin,
storage::FileSystemType type,
int64 delta,
- const ReserveQuotaCallback& callback) OVERRIDE {
+ const ReserveQuotaCallback& callback) override {
EXPECT_EQ(GURL(kOrigin), origin);
EXPECT_EQ(kType, type);
on_memory_usage_ += delta;
@@ -63,7 +63,7 @@ class FakeBackend : public QuotaReservationManager::QuotaBackend {
virtual void ReleaseReservedQuota(const GURL& origin,
storage::FileSystemType type,
- int64 size) OVERRIDE {
+ int64 size) override {
EXPECT_LE(0, size);
EXPECT_EQ(GURL(kOrigin), origin);
EXPECT_EQ(kType, type);
@@ -72,7 +72,7 @@ class FakeBackend : public QuotaReservationManager::QuotaBackend {
virtual void CommitQuotaUsage(const GURL& origin,
storage::FileSystemType type,
- int64 delta) OVERRIDE {
+ int64 delta) override {
EXPECT_EQ(GURL(kOrigin), origin);
EXPECT_EQ(kType, type);
on_disk_usage_ += delta;
@@ -80,9 +80,9 @@ class FakeBackend : public QuotaReservationManager::QuotaBackend {
}
virtual void IncrementDirtyCount(const GURL& origin,
- storage::FileSystemType type) OVERRIDE {}
+ storage::FileSystemType type) override {}
virtual void DecrementDirtyCount(const GURL& origin,
- storage::FileSystemType type) OVERRIDE {}
+ storage::FileSystemType type) override {}
int64 on_memory_usage() { return on_memory_usage_; }
int64 on_disk_usage() { return on_disk_usage_; }
@@ -182,7 +182,7 @@ class QuotaReservationManagerTest : public testing::Test {
QuotaReservationManagerTest() {}
virtual ~QuotaReservationManagerTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
ASSERT_TRUE(work_dir_.CreateUniqueTempDir());
file_path_ = work_dir_.path().Append(FILE_PATH_LITERAL("hoge"));
SetFileSize(file_path_, kInitialFileSize);
@@ -191,7 +191,7 @@ class QuotaReservationManagerTest : public testing::Test {
reservation_manager_.reset(new QuotaReservationManager(backend.Pass()));
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
reservation_manager_.reset();
}

Powered by Google App Engine
This is Rietveld 408576698