summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extensions_quota_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extensions_quota_service.h')
-rw-r--r--chrome/browser/extensions/extensions_quota_service.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extensions_quota_service.h b/chrome/browser/extensions/extensions_quota_service.h
index 6b0ce5d..60acde5 100644
--- a/chrome/browser/extensions/extensions_quota_service.h
+++ b/chrome/browser/extensions/extensions_quota_service.h
@@ -31,6 +31,10 @@ class ExtensionFunction;
class QuotaLimitHeuristic;
typedef std::list<QuotaLimitHeuristic*> QuotaLimitHeuristics;
+namespace extensions {
+class TestResetQuotaFunction;
+}
+
// The ExtensionsQuotaService takes care that calls to certain extension
// functions do not exceed predefined quotas.
//
@@ -54,7 +58,7 @@ class ExtensionsQuotaService : public base::NonThreadSafe {
bool Assess(const std::string& extension_id, ExtensionFunction* function,
const ListValue* args, const base::TimeTicks& event_time);
private:
- friend class ExtensionTestQuotaResetFunction;
+ friend class extensions::TestResetQuotaFunction;
typedef std::string ExtensionId;
typedef std::string FunctionName;
// All QuotaLimitHeuristic instances in this map are owned by us.