| Index: chrome/browser/profiles/profile_statistics.h
|
| diff --git a/chrome/browser/profiles/profile_statistics.h b/chrome/browser/profiles/profile_statistics.h
|
| index 76918c59fcc322ec727bb74d8fff909b894a9cb8..966c373294abed42a5cf99304e0cb45f6c2c408d 100644
|
| --- a/chrome/browser/profiles/profile_statistics.h
|
| +++ b/chrome/browser/profiles/profile_statistics.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CHROME_BROWSER_PROFILES_PROFILE_STATISTICS_H_
|
| #define CHROME_BROWSER_PROFILES_PROFILE_STATISTICS_H_
|
|
|
| +#include <memory>
|
| #include <string>
|
|
|
| #include "base/memory/weak_ptr.h"
|
| @@ -22,7 +23,7 @@ class ProfileStatistics : public KeyedService {
|
|
|
| // This function collects statistical information about |profile|, also
|
| // returns the information via |callback| if |callback| is not null.
|
| - // Currently bookmarks, history, logins and preferences are counted. The
|
| + // Currently bookmarks, history, logins and autofill forms are counted. The
|
| // callback function will probably be called more than once, so binding
|
| // parameters with bind::Passed() is prohibited.
|
| void GatherStatistics(const profiles::ProfileStatisticsCallback& callback);
|
| @@ -35,7 +36,7 @@ class ProfileStatistics : public KeyedService {
|
| void DeregisterAggregator();
|
|
|
| Profile* profile_;
|
| - scoped_refptr<ProfileStatisticsAggregator> aggregator_;
|
| + std::unique_ptr<ProfileStatisticsAggregator> aggregator_;
|
| base::WeakPtrFactory<ProfileStatistics> weak_ptr_factory_;
|
| };
|
|
|
|
|