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

Unified Diff: content/browser/renderer_host/pepper/quota_reservation_unittest.cc

Issue 616603004: Replacing the OVERRIDE with override and FINAL with final in content/browser/renderer_host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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/renderer_host/pepper/quota_reservation_unittest.cc
diff --git a/content/browser/renderer_host/pepper/quota_reservation_unittest.cc b/content/browser/renderer_host/pepper/quota_reservation_unittest.cc
index ccecb57afdd66ff340a913fce9157b8eba4b683d..ed9d24994ea7b0d0e0fb95f8905903d2cc21ee72 100644
--- a/content/browser/renderer_host/pepper/quota_reservation_unittest.cc
+++ b/content/browser/renderer_host/pepper/quota_reservation_unittest.cc
@@ -39,7 +39,7 @@ class FakeBackend : public QuotaReservationManager::QuotaBackend {
const GURL& origin,
storage::FileSystemType type,
int64 delta,
- const QuotaReservationManager::ReserveQuotaCallback& callback) OVERRIDE {
+ const QuotaReservationManager::ReserveQuotaCallback& callback) override {
base::MessageLoopProxy::current()->PostTask(
FROM_HERE,
base::Bind(base::IgnoreResult(callback), base::File::FILE_OK, delta));
@@ -47,16 +47,16 @@ class FakeBackend : public QuotaReservationManager::QuotaBackend {
virtual void ReleaseReservedQuota(const GURL& origin,
storage::FileSystemType type,
- int64 size) OVERRIDE {}
+ int64 size) override {}
virtual void CommitQuotaUsage(const GURL& origin,
storage::FileSystemType type,
- int64 delta) OVERRIDE {}
+ int64 delta) override {}
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 {}
private:
DISALLOW_COPY_AND_ASSIGN(FakeBackend);
@@ -69,14 +69,14 @@ class QuotaReservationTest : public testing::Test {
QuotaReservationTest() {}
virtual ~QuotaReservationTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
ASSERT_TRUE(work_dir_.CreateUniqueTempDir());
reservation_manager_.reset(new QuotaReservationManager(
scoped_ptr<QuotaReservationManager::QuotaBackend>(new FakeBackend)));
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
reservation_manager_.reset();
base::RunLoop().RunUntilIdle();
}

Powered by Google App Engine
This is Rietveld 408576698