Chromium Code Reviews| 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 d38fca1d17875d29ee5d570dcdfb9cad012e0f1b..d2bd228ece51c6dcc2a27baaffb3eab8bca307e4 100644 |
| --- a/chrome/browser/profiles/profile_info_cache.h |
| +++ b/chrome/browser/profiles/profile_info_cache.h |
| @@ -17,6 +17,7 @@ |
| #include "base/strings/string16.h" |
| #include "chrome/browser/profiles/profile_info_cache_observer.h" |
| #include "chrome/browser/profiles/profile_info_interface.h" |
| +#include "google_apis/gaia/google_service_auth_error.h" |
| namespace gfx { |
| class Image; |
| @@ -85,6 +86,7 @@ class ProfileInfoCache : public ProfileInfoInterface, |
| bool ProfileIsEphemeralAtIndex(size_t index) const override; |
| bool ProfileIsUsingDefaultNameAtIndex(size_t index) const override; |
| bool ProfileIsUsingDefaultAvatarAtIndex(size_t index) const override; |
| + GoogleServiceAuthError::State ProfileAuthErrorAtIndex(size_t index) const; |
|
noms (inactive)
2014/12/19 19:33:01
I think this should be GetProfileAuthErrorAtIndex
Mike Lerman
2014/12/19 19:53:18
Done.
|
| size_t GetAvatarIconIndexOfProfileAtIndex(size_t index) const; |
| @@ -113,6 +115,8 @@ class ProfileInfoCache : public ProfileInfoInterface, |
| void SetProfileIsEphemeralAtIndex(size_t index, bool value); |
| void SetProfileIsUsingDefaultNameAtIndex(size_t index, bool value); |
| void SetProfileIsUsingDefaultAvatarAtIndex(size_t index, bool value); |
| + void SetProfileAuthErrorAtIndex(size_t index, |
| + GoogleServiceAuthError::State value); |
| // Determines whether |name| is one of the default assigned names. |
| bool IsDefaultProfileName(const base::string16& name) const; |