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..f61325b839be9b8bc8dd0826a9c0afdaecc44481 100644 |
--- a/chrome/browser/profiles/profile_info_cache.h |
+++ b/chrome/browser/profiles/profile_info_cache.h |
@@ -105,6 +105,16 @@ class ProfileInfoCache : public ProfileInfoInterface, |
size_t GetAvatarIconIndexOfProfileAtIndex(size_t index) const; |
+ // Statistics |
+ bool HasStatsBrowsingHistoryOfProfileAtIndex(size_t index) const; |
+ int GetStatsBrowsingHistoryOfProfileAtIndex(size_t index) const; |
+ bool HasStatsPasswordsOfProfileAtIndex(size_t index) const; |
+ int GetStatsPasswordsOfProfileAtIndex(size_t index) const; |
+ bool HasStatsBookmarksOfProfileAtIndex(size_t index) const; |
+ int GetStatsBookmarksOfProfileAtIndex(size_t index) const; |
+ bool HasStatsSettingsOfProfileAtIndex(size_t index) const; |
+ int GetStatsSettingsOfProfileAtIndex(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 +156,12 @@ class ProfileInfoCache : public ProfileInfoInterface, |
// set of default icons. |
size_t ChooseAvatarIconIndexForNewProfile() const; |
+ // Statistics |
+ void SetStatsBrowsingHistoryOfProfileAtIndex(size_t index, int value); |
+ void SetStatsPasswordsOfProfileAtIndex(size_t index, int value); |
+ void SetStatsBookmarksOfProfileAtIndex(size_t index, int value); |
+ void SetStatsSettingsOfProfileAtIndex(size_t index, int value); |
+ |
const base::FilePath& GetUserDataDir() const; |
// Register cache related preferences in Local State. |