| Index: extensions/browser/quota_service.h
|
| diff --git a/extensions/browser/quota_service.h b/extensions/browser/quota_service.h
|
| index 2ff8a1fab45593c7a35919bb6bccf9509fff1f57..40f5ff8cc5d21fa9475f94e47da7420489d0bcda 100644
|
| --- a/extensions/browser/quota_service.h
|
| +++ b/extensions/browser/quota_service.h
|
| @@ -61,6 +61,17 @@ class QuotaService : public base::NonThreadSafe {
|
| const base::ListValue* args,
|
| const base::TimeTicks& event_time);
|
|
|
| + // An active ScopedDisablePurgeForTesting prevents QuotaService's constructor
|
| + // from starting a purge timer.
|
| + class ScopedDisablePurgeForTesting {
|
| + public:
|
| + ScopedDisablePurgeForTesting();
|
| + ~ScopedDisablePurgeForTesting();
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(ScopedDisablePurgeForTesting);
|
| + };
|
| +
|
| private:
|
| typedef std::string ExtensionId;
|
| typedef std::string FunctionName;
|
|
|