| Index: chrome/browser/browsing_data/hosted_apps_counter.h
|
| diff --git a/chrome/browser/browsing_data/hosted_apps_counter.h b/chrome/browser/browsing_data/hosted_apps_counter.h
|
| index 5e9bd4f56b3eed3c23cd868da5107c7cc80d471b..c18c93687bac2614d86d35be6fb800b0b590bdee 100644
|
| --- a/chrome/browser/browsing_data/hosted_apps_counter.h
|
| +++ b/chrome/browser/browsing_data/hosted_apps_counter.h
|
| @@ -8,7 +8,8 @@
|
| #include <vector>
|
|
|
| #include "base/macros.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"
|
|
|
| // A BrowsingDataCounter that returns the number of hosted apps and names
|
| // of up to two of them as examples.
|
| @@ -29,17 +30,14 @@ class HostedAppsCounter: public BrowsingDataCounter {
|
| DISALLOW_COPY_AND_ASSIGN(HostedAppsResult);
|
| };
|
|
|
| - HostedAppsCounter();
|
| + explicit HostedAppsCounter(Profile* profile);
|
| ~HostedAppsCounter() override;
|
|
|
| - // BrowsingDataCounter:
|
| - const std::string& GetPrefName() const override;
|
| -
|
| private:
|
| // BrowsingDataCounter:
|
| void Count() override;
|
|
|
| - const std::string pref_name_;
|
| + Profile* profile_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(HostedAppsCounter);
|
| };
|
|
|