| Index: chrome/browser/browsing_data/cache_counter.h
|
| diff --git a/chrome/browser/browsing_data/cache_counter.h b/chrome/browser/browsing_data/cache_counter.h
|
| index 04248e4f94eee53c27a48a42a169f14f91b152b9..eb78cf5448be1ed38108038c08796dcf5a9e4205 100644
|
| --- a/chrome/browser/browsing_data/cache_counter.h
|
| +++ b/chrome/browser/browsing_data/cache_counter.h
|
| @@ -44,6 +44,9 @@ class CacheCounter : public browsing_data::BrowsingDataCounter {
|
| // Used only for testing.
|
| bool Pending();
|
|
|
| + // Used only for testing.
|
| + void SetTimeout(base::TimeDelta timeout);
|
| +
|
| private:
|
| void Count() override;
|
| void OnCacheSizeCalculated(bool is_upper_limit, int64_t bytes);
|
| @@ -52,6 +55,7 @@ class CacheCounter : public browsing_data::BrowsingDataCounter {
|
|
|
| Profile* profile_;
|
| bool pending_;
|
| + base::TimeDelta timeout_;
|
|
|
| base::WeakPtrFactory<CacheCounter> weak_ptr_factory_;
|
|
|
|
|