| Index: chrome/browser/profiles/profile_info_cache.h
|
| diff --git a/chrome/browser/profiles/profile_info_cache.h b/chrome/browser/profiles/profile_info_cache.h
|
| index fb990428d79d329827306ccd3da4050f6514c185..ca49c54c02dda51b8969bb125e8d37620695222c 100644
|
| --- a/chrome/browser/profiles/profile_info_cache.h
|
| +++ b/chrome/browser/profiles/profile_info_cache.h
|
| @@ -105,6 +105,13 @@ class ProfileInfoCache : public ProfileInfoInterface,
|
|
|
| size_t GetAvatarIconIndexOfProfileAtIndex(size_t index) const;
|
|
|
| + int GetStatisticOfProfileAtIndex(size_t index, const std::string& category)
|
| + const;
|
| + std::map<std::string, int> GetAllStatisticsOfProfileAtIndex(size_t index)
|
| + const;
|
| + scoped_ptr<base::DictionaryValue>
|
| + GetAllStatisticsOfProfileAtIndexAsDictionaryValue(size_t index) const;
|
| +
|
| void SetProfileActiveTimeAtIndex(size_t index);
|
| // Warning: This will re-sort profiles and thus may change indices!
|
| void SetNameOfProfileAtIndex(size_t index, const base::string16& name);
|
| @@ -146,6 +153,9 @@ class ProfileInfoCache : public ProfileInfoInterface,
|
| // set of default icons.
|
| size_t ChooseAvatarIconIndexForNewProfile() const;
|
|
|
| + void SetStatisticOfProfileAtIndex(size_t index, const std::string& category,
|
| + int value);
|
| +
|
| const base::FilePath& GetUserDataDir() const;
|
|
|
| // Register cache related preferences in Local State.
|
|
|