Home
last modified time | relevance | path

Searched refs:QuotaLimitHeuristic (Results 1 – 14 of 14) sorted by relevance

/external/chromium/chrome/browser/extensions/
Dextensions_quota_service.h29 class QuotaLimitHeuristic; variable
30 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 {
Dextensions_quota_service.cc16 const char QuotaLimitHeuristic::kGenericOverQuotaError[] =
80 void QuotaLimitHeuristic::Bucket::Reset(const Config& config, in Reset()
86 QuotaLimitHeuristic::QuotaLimitHeuristic(const Config& config, in QuotaLimitHeuristic() function in QuotaLimitHeuristic
91 QuotaLimitHeuristic::~QuotaLimitHeuristic() {} in ~QuotaLimitHeuristic()
93 bool QuotaLimitHeuristic::ApplyToArgs(const ListValue* args, in ApplyToArgs()
108 : QuotaLimitHeuristic(config, map), in SustainedLimit()
Dextension_bookmarks_module.h152 std::list<QuotaLimitHeuristic*>* heuristics) const;
165 std::list<QuotaLimitHeuristic*>* heuristics) const;
178 std::list<QuotaLimitHeuristic*>* heuristics) const;
191 std::list<QuotaLimitHeuristic*>* heuristics) const;
Dextensions_quota_service_unittest.cc14 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()
Dextension_function.h19 class QuotaLimitHeuristic; variable
72 std::list<QuotaLimitHeuristic*>* heuristics) const {} in GetQuotaLimitHeuristics()
Dextension_bookmarks_module.cc41 typedef QuotaLimitHeuristic::Bucket Bucket;
42 typedef QuotaLimitHeuristic::Config Config;
43 typedef QuotaLimitHeuristic::BucketList BucketList;
46 typedef QuotaLimitHeuristic::BucketMapper BucketMapper;
Dextension_function_dispatcher.cc514 std::string(), QuotaLimitHeuristic::kGenericOverQuotaError)); in HandleRequest()
/external/chromium_org/extensions/browser/
Dquota_service.h32 class QuotaLimitHeuristic; variable
35 typedef std::list<QuotaLimitHeuristic*> QuotaLimitHeuristics;
99 class QuotaLimitHeuristic {
175 QuotaLimitHeuristic(const Config& config,
178 virtual ~QuotaLimitHeuristic();
208 DISALLOW_COPY_AND_ASSIGN(QuotaLimitHeuristic);
213 class QuotaService::TimedLimit : public QuotaLimitHeuristic {
216 : QuotaLimitHeuristic(config, map, name) {} in TimedLimit()
224 class QuotaService::SustainedLimit : public QuotaLimitHeuristic {
Dquota_service.cc65 QuotaLimitHeuristic* failed_heuristic = NULL; in Assess()
104 void QuotaLimitHeuristic::Bucket::Reset(const Config& config, in Reset()
110 void QuotaLimitHeuristic::SingletonBucketMapper::GetBucketsForArgs( in GetBucketsForArgs()
116 QuotaLimitHeuristic::QuotaLimitHeuristic(const Config& config, in QuotaLimitHeuristic() function in extensions::QuotaLimitHeuristic
121 QuotaLimitHeuristic::~QuotaLimitHeuristic() {} in ~QuotaLimitHeuristic()
123 bool QuotaLimitHeuristic::ApplyToArgs(const base::ListValue* args, in ApplyToArgs()
136 std::string QuotaLimitHeuristic::GetError() const { in GetError()
144 : QuotaLimitHeuristic(config, map, name), in SustainedLimit()
Dquota_service_unittest.cc20 typedef QuotaLimitHeuristic::Bucket Bucket;
21 typedef QuotaLimitHeuristic::Config Config;
22 typedef QuotaLimitHeuristic::BucketList BucketList;
35 class Mapper : public QuotaLimitHeuristic::BucketMapper {
56 class MockMapper : public QuotaLimitHeuristic::BucketMapper {
150 QuotaLimitHeuristic* lim, in DoMoreThan2PerMinuteFor5Minutes()
Dextension_function.h43 class QuotaLimitHeuristic; variable
/external/chromium_org/chrome/browser/extensions/api/storage/
Dstorage_api.cc133 QuotaLimitHeuristic::Config longLimitConfig = { in GetModificationQuotaLimitHeuristics()
140 new QuotaLimitHeuristic::SingletonBucketMapper(), in GetModificationQuotaLimitHeuristics()
144 QuotaLimitHeuristic::Config shortLimitConfig = { in GetModificationQuotaLimitHeuristics()
152 new QuotaLimitHeuristic::SingletonBucketMapper(), in GetModificationQuotaLimitHeuristics()
/external/chromium_org/chrome/browser/extensions/api/bookmarks/
Dbookmarks_api.cc65 typedef QuotaLimitHeuristic::Bucket Bucket;
66 typedef QuotaLimitHeuristic::Config Config;
67 typedef QuotaLimitHeuristic::BucketList BucketList;
70 typedef QuotaLimitHeuristic::BucketMapper BucketMapper;
/external/chromium_org/chrome/browser/extensions/api/web_request/
Dweb_request_api.cc2077 class ClearCacheQuotaHeuristic : public extensions::QuotaLimitHeuristic {
2080 : QuotaLimitHeuristic( in ClearCacheQuotaHeuristic()
2324 extensions::QuotaLimitHeuristic::Config config = { in GetQuotaLimitHeuristics()
2328 extensions::QuotaLimitHeuristic::BucketMapper* bucket_mapper = in GetQuotaLimitHeuristics()
2329 new extensions::QuotaLimitHeuristic::SingletonBucketMapper(); in GetQuotaLimitHeuristics()