summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extensions_quota_service.h
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 14:48:43 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 14:48:43 +0000
commit1cc91feb15032eed6c268fb497908c5253949c83 (patch)
treeacbecfb9800bb74e4a5e7e1fff432645b4e89b26 /chrome/browser/extensions/extensions_quota_service.h
parent2643be99f7433a4c856c3e6fd7a0c6f007b120d2 (diff)
downloadchromium_src-1cc91feb15032eed6c268fb497908c5253949c83.zip
chromium_src-1cc91feb15032eed6c268fb497908c5253949c83.tar.gz
chromium_src-1cc91feb15032eed6c268fb497908c5253949c83.tar.bz2
Add OVERRIDE to chrome/browser/extensions/.
BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8473003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110919 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extensions_quota_service.h')
-rw-r--r--chrome/browser/extensions/extensions_quota_service.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extensions_quota_service.h b/chrome/browser/extensions/extensions_quota_service.h
index 0f16686..2f0cab0 100644
--- a/chrome/browser/extensions/extensions_quota_service.h
+++ b/chrome/browser/extensions/extensions_quota_service.h
@@ -190,7 +190,8 @@ class ExtensionsQuotaService::TimedLimit : public QuotaLimitHeuristic {
public:
TimedLimit(const Config& config, BucketMapper* map)
: QuotaLimitHeuristic(config, map) {}
- virtual bool Apply(Bucket* bucket, const base::TimeTicks& event_time);
+ virtual 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
@@ -201,7 +202,8 @@ class ExtensionsQuotaService::SustainedLimit : public QuotaLimitHeuristic {
SustainedLimit(const base::TimeDelta& sustain,
const Config& config,
BucketMapper* map);
- virtual bool Apply(Bucket* bucket, const base::TimeTicks& event_time);
+ virtual bool Apply(Bucket* bucket,
+ const base::TimeTicks& event_time) OVERRIDE;
private:
// Specifies how long exhaustion of buckets is allowed to continue before
// denying requests.