Searched refs:QuotaLimitHeuristic (Results 1 – 7 of 7) sorted by relevance
29 class QuotaLimitHeuristic; variable30 typedef std::list<QuotaLimitHeuristic*> QuotaLimitHeuristics;81 class QuotaLimitHeuristic {145 explicit QuotaLimitHeuristic(const Config& config, BucketMapper* map);146 virtual ~QuotaLimitHeuristic();169 DISALLOW_COPY_AND_ASSIGN(QuotaLimitHeuristic);174 class ExtensionsQuotaService::TimedLimit : public QuotaLimitHeuristic {177 : QuotaLimitHeuristic(config, map) {} in TimedLimit()184 class ExtensionsQuotaService::SustainedLimit : public QuotaLimitHeuristic {
16 const char QuotaLimitHeuristic::kGenericOverQuotaError[] =80 void QuotaLimitHeuristic::Bucket::Reset(const Config& config, in Reset()86 QuotaLimitHeuristic::QuotaLimitHeuristic(const Config& config, in QuotaLimitHeuristic() function in QuotaLimitHeuristic91 QuotaLimitHeuristic::~QuotaLimitHeuristic() {} in ~QuotaLimitHeuristic()93 bool QuotaLimitHeuristic::ApplyToArgs(const ListValue* args, in ApplyToArgs()108 : QuotaLimitHeuristic(config, map), in SustainedLimit()
152 std::list<QuotaLimitHeuristic*>* heuristics) const;165 std::list<QuotaLimitHeuristic*>* heuristics) const;178 std::list<QuotaLimitHeuristic*>* heuristics) const;191 std::list<QuotaLimitHeuristic*>* heuristics) const;
14 typedef QuotaLimitHeuristic::Bucket Bucket;15 typedef QuotaLimitHeuristic::Config Config;16 typedef QuotaLimitHeuristic::BucketList BucketList;28 class Mapper : public QuotaLimitHeuristic::BucketMapper {47 class MockMapper : public QuotaLimitHeuristic::BucketMapper {115 QuotaLimitHeuristic* lim, in DoMoreThan2PerMinuteFor5Minutes()
19 class QuotaLimitHeuristic; variable72 std::list<QuotaLimitHeuristic*>* heuristics) const {} in GetQuotaLimitHeuristics()
41 typedef QuotaLimitHeuristic::Bucket Bucket;42 typedef QuotaLimitHeuristic::Config Config;43 typedef QuotaLimitHeuristic::BucketList BucketList;46 typedef QuotaLimitHeuristic::BucketMapper BucketMapper;
514 std::string(), QuotaLimitHeuristic::kGenericOverQuotaError)); in HandleRequest()