Index: chrome/browser/profiles/profile_attributes_entry.h |
diff --git a/chrome/browser/profiles/profile_attributes_entry.h b/chrome/browser/profiles/profile_attributes_entry.h |
index 898557792594d675337a446ae23b823c990f8b63..3fdbdd647f28f800dc811606314369bdd342a434 100644 |
--- a/chrome/browser/profiles/profile_attributes_entry.h |
+++ b/chrome/browser/profiles/profile_attributes_entry.h |
@@ -84,6 +84,16 @@ class ProfileAttributesEntry { |
// Returns the index of the default icon used by the profile. |
size_t GetAvatarIconIndex() const; |
+ // Browsing statistics of the profile. |
+ bool HasStatsBrowsingHistory() const; |
+ int GetStatsBrowsingHistory() const; |
+ bool HasStatsPasswords() const; |
+ int GetStatsPasswords() const; |
+ bool HasStatsBookmarks() const; |
+ int GetStatsBookmarks() const; |
+ bool HasStatsSettings() const; |
+ int GetStatsSettings() const; |
+ |
void SetName(const base::string16& name); |
void SetShortcutName(const base::string16& name); |
void SetIsOmitted(bool is_omitted); |
@@ -102,6 +112,12 @@ class ProfileAttributesEntry { |
void SetIsAuthError(bool value); |
void SetAvatarIconIndex(size_t icon_index); |
+ // Get the statistics of the profile. |
+ void SetStatsBrowsingHistory(int value); |
+ void SetStatsPasswords(int value); |
+ void SetStatsBookmarks(int value); |
+ void SetStatsSettings(int value); |
+ |
void SetAuthInfo(const std::string& gaia_id, |
const base::string16& user_name); |