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

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

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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/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 ed9d24994ea7b0d0e0fb95f8905903d2cc21ee72..7c75c325d31aa35ca6073c61aee2d06d12f48dd1 100644
--- a/content/browser/renderer_host/pepper/quota_reservation_unittest.cc
+++ b/content/browser/renderer_host/pepper/quota_reservation_unittest.cc
@@ -33,9 +33,9 @@ const int kFile3ID = 3;
class FakeBackend : public QuotaReservationManager::QuotaBackend {
public:
FakeBackend() {}
- virtual ~FakeBackend() {}
+ ~FakeBackend() override {}
- virtual void ReserveQuota(
+ void ReserveQuota(
const GURL& origin,
storage::FileSystemType type,
int64 delta,
@@ -45,18 +45,18 @@ class FakeBackend : public QuotaReservationManager::QuotaBackend {
base::Bind(base::IgnoreResult(callback), base::File::FILE_OK, delta));
}
- virtual void ReleaseReservedQuota(const GURL& origin,
- storage::FileSystemType type,
- int64 size) override {}
+ void ReleaseReservedQuota(const GURL& origin,
+ storage::FileSystemType type,
+ int64 size) override {}
- virtual void CommitQuotaUsage(const GURL& origin,
- storage::FileSystemType type,
- int64 delta) override {}
+ void CommitQuotaUsage(const GURL& origin,
+ storage::FileSystemType type,
+ int64 delta) override {}
- virtual void IncrementDirtyCount(const GURL& origin,
- storage::FileSystemType type) override {}
- virtual void DecrementDirtyCount(const GURL& origin,
- storage::FileSystemType type) override {}
+ void IncrementDirtyCount(const GURL& origin,
+ storage::FileSystemType type) override {}
+ void DecrementDirtyCount(const GURL& origin,
+ storage::FileSystemType type) override {}
private:
DISALLOW_COPY_AND_ASSIGN(FakeBackend);

Powered by Google App Engine
This is Rietveld 408576698