Chromium Code Reviews| 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..39592116da8917a5148f3097d16a513e0a47503b 100644 |
| --- a/chrome/browser/profiles/profile_attributes_entry.h |
| +++ b/chrome/browser/profiles/profile_attributes_entry.h |
| @@ -5,6 +5,7 @@ |
| #ifndef CHROME_BROWSER_PROFILES_PROFILE_ATTRIBUTES_ENTRY_H_ |
| #define CHROME_BROWSER_PROFILES_PROFILE_ATTRIBUTES_ENTRY_H_ |
| +#include <map> |
|
lwchkg
2015/11/18 17:34:53
Unnecessary. Now removed.
|
| #include <string> |
| #include "base/files/file_path.h" |
| @@ -84,6 +85,16 @@ class ProfileAttributesEntry { |
| // Returns the index of the default icon used by the profile. |
| size_t GetAvatarIconIndex() const; |
| + // Get the statistics of the profiles |
|
Mike Lerman
2015/11/17 16:29:51
Browsing statistics of the profile.
lwchkg
2015/11/18 17:34:53
Done.
|
| + 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 +113,12 @@ class ProfileAttributesEntry { |
| void SetIsAuthError(bool value); |
| void SetAvatarIconIndex(size_t icon_index); |
| + // Set the statistics of the profiles |
|
Mike Lerman
2015/11/17 16:29:51
nit: of the profile. (singular, and add a period)
lwchkg
2015/11/18 17:34:53
Done.
|
| + 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); |