| 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 9ac3ad777e8be3124ddfa6f47e5f2b13f0ca16de..021da4c3fe6788053fe3fd4446774b70e20eb493 100644
|
| --- a/chrome/browser/browsing_data/cache_counter.h
|
| +++ b/chrome/browser/browsing_data/cache_counter.h
|
| @@ -8,21 +8,20 @@
|
| #include <stdint.h>
|
|
|
| #include "base/memory/weak_ptr.h"
|
| -#include "chrome/browser/browsing_data/browsing_data_counter.h"
|
| +#include "chrome/browser/profiles/profile.h"
|
| +#include "components/browsing_data/counters/browsing_data_counter.h"
|
|
|
| class CacheCounter: public BrowsingDataCounter {
|
| public:
|
| - CacheCounter();
|
| + explicit CacheCounter(Profile* profile);
|
| ~CacheCounter() override;
|
|
|
| - const std::string& GetPrefName() const override;
|
| -
|
| // Whether this counter awaits the calculation result callback.
|
| // Used only for testing.
|
| bool Pending();
|
|
|
| private:
|
| - const std::string pref_name_;
|
| + Profile* profile_;
|
| bool pending_;
|
|
|
| base::WeakPtrFactory<CacheCounter> weak_ptr_factory_;
|
|
|