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

Unified Diff: extensions/browser/quota_service.h

Issue 664933004: Standardize usage of virtual/override/final in extensions/ (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
« no previous file with comments | « extensions/browser/process_map_factory.h ('k') | extensions/browser/quota_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/quota_service.h
diff --git a/extensions/browser/quota_service.h b/extensions/browser/quota_service.h
index 993ba7141642c87c690831fd8daa8ff9b7534da4..791b67fc10502b484b81d7e759ea99faa4ef8063 100644
--- a/extensions/browser/quota_service.h
+++ b/extensions/browser/quota_service.h
@@ -161,9 +161,9 @@ class QuotaLimitHeuristic {
class SingletonBucketMapper : public BucketMapper {
public:
SingletonBucketMapper() {}
- virtual ~SingletonBucketMapper() {}
- virtual void GetBucketsForArgs(const base::ListValue* args,
- BucketList* buckets) override;
+ ~SingletonBucketMapper() override {}
+ void GetBucketsForArgs(const base::ListValue* args,
+ BucketList* buckets) override;
private:
Bucket bucket_;
@@ -213,8 +213,7 @@ class QuotaService::TimedLimit : public QuotaLimitHeuristic {
public:
TimedLimit(const Config& config, BucketMapper* map, const std::string& name)
: QuotaLimitHeuristic(config, map, name) {}
- virtual bool Apply(Bucket* bucket,
- const base::TimeTicks& event_time) override;
+ bool Apply(Bucket* bucket, const base::TimeTicks& event_time) override;
};
// A per-item heuristic to limit the number of events that can occur in a
@@ -226,8 +225,7 @@ class QuotaService::SustainedLimit : public QuotaLimitHeuristic {
const Config& config,
BucketMapper* map,
const std::string& name);
- virtual bool Apply(Bucket* bucket,
- const base::TimeTicks& event_time) override;
+ bool Apply(Bucket* bucket, const base::TimeTicks& event_time) override;
private:
// Specifies how long exhaustion of buckets is allowed to continue before
« no previous file with comments | « extensions/browser/process_map_factory.h ('k') | extensions/browser/quota_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698