Home | History | Annotate | Download | only in profiles

Lines Matching defs:ProfileInfoCache

174 ProfileInfoCache::ProfileInfoCache(PrefService* prefs,
198 ProfileInfoCache::~ProfileInfoCache() {
203 void ProfileInfoCache::AddProfileToCache(const base::FilePath& profile_path,
233 void ProfileInfoCache::AddObserver(ProfileInfoCacheObserver* obs) {
237 void ProfileInfoCache::RemoveObserver(ProfileInfoCacheObserver* obs) {
241 void ProfileInfoCache::DeleteProfileFromCache(
270 size_t ProfileInfoCache::GetNumberOfProfiles() const {
274 size_t ProfileInfoCache::GetIndexOfProfileWithPath(
286 string16 ProfileInfoCache::GetNameOfProfileAtIndex(size_t index) const {
295 string16 ProfileInfoCache::GetShortcutNameOfProfileAtIndex(size_t index)
303 base::FilePath ProfileInfoCache::GetPathOfProfileAtIndex(size_t index) const {
307 string16 ProfileInfoCache::GetUserNameOfProfileAtIndex(size_t index) const {
313 const gfx::Image& ProfileInfoCache::GetAvatarIconOfProfileAtIndex(
326 bool ProfileInfoCache::GetBackgroundStatusOfProfileAtIndex(
336 string16 ProfileInfoCache::GetGAIANameOfProfileAtIndex(size_t index) const {
342 bool ProfileInfoCache::IsUsingGAIANameOfProfileAtIndex(size_t index) const {
348 const gfx::Image* ProfileInfoCache::GetGAIAPictureOfProfileAtIndex(
374 base::Bind(&ProfileInfoCache::OnGAIAPictureLoaded,
375 const_cast<ProfileInfoCache*>(this)->AsWeakPtr(), path, image));
380 bool ProfileInfoCache::ProfileIsManagedAtIndex(size_t index) const {
384 bool ProfileInfoCache::ProfileIsSigninRequiredAtIndex(size_t index) const {
390 std::string ProfileInfoCache::GetManagedUserIdOfProfileAtIndex(
397 void ProfileInfoCache::OnGAIAPictureLoaded(const base::FilePath& path,
419 void ProfileInfoCache::OnGAIAPictureSaved(const base::FilePath& path,
432 bool ProfileInfoCache::IsUsingGAIAPictureOfProfileAtIndex(
439 size_t ProfileInfoCache::GetAvatarIconIndexOfProfileAtIndex(size_t index)
451 void ProfileInfoCache::SetNameOfProfileAtIndex(size_t index,
474 void ProfileInfoCache::SetShortcutNameOfProfileAtIndex(
485 void ProfileInfoCache
496 void ProfileInfoCache::SetAvatarIconOfProfileAtIndex(size_t index,
509 void ProfileInfoCache::SetManagedUserIdOfProfileAtIndex(size_t index,
517 void ProfileInfoCache::SetBackgroundStatusOfProfileAtIndex(
528 void ProfileInfoCache::SetGAIANameOfProfileAtIndex(size_t index,
549 void ProfileInfoCache::SetIsUsingGAIANameOfProfileAtIndex(size_t index,
570 void ProfileInfoCache::SetGAIAPictureOfProfileAtIndex(size_t index,
609 base::Bind(&ProfileInfoCache::OnGAIAPictureSaved, AsWeakPtr(),
624 void ProfileInfoCache::SetIsUsingGAIAPictureOfProfileAtIndex(size_t index,
638 void ProfileInfoCache::SetProfileSigninRequiredAtIndex(size_t index,
649 string16 ProfileInfoCache::ChooseNameForNewProfile(size_t icon_index) const {
675 bool ProfileInfoCache::GetHasMigratedToGAIAInfoOfProfileAtIndex(
683 void ProfileInfoCache::SetHasMigratedToGAIAInfoOfProfileAtIndex(
691 bool ProfileInfoCache::IconIndexIsUnique(size_t icon_index) const {
699 bool ProfileInfoCache::ChooseAvatarIconIndexForNewProfile(
719 size_t ProfileInfoCache::ChooseAvatarIconIndexForNewProfile() const {
735 const base::FilePath& ProfileInfoCache::GetUserDataDir() const {
740 size_t ProfileInfoCache::GetDefaultAvatarIconCount() {
745 int ProfileInfoCache::GetDefaultAvatarIconResourceIDAtIndex(size_t index) {
751 std::string ProfileInfoCache::GetDefaultAvatarIconUrl(size_t index) {
757 bool ProfileInfoCache::IsDefaultAvatarIconIndex(size_t index) {
762 bool ProfileInfoCache::IsDefaultAvatarIconUrl(const std::string& url,
783 const DictionaryValue* ProfileInfoCache::GetInfoForProfileAtIndex(
793 void ProfileInfoCache::SetInfoForProfileAtIndex(size_t index,
805 std::string ProfileInfoCache::CacheKeyFromProfilePath(
812 std::vector<std::string>::iterator ProfileInfoCache::FindPositionForProfile(
830 void ProfileInfoCache::UpdateSortForProfileIndex(size_t index) {
848 std::vector<string16> ProfileInfoCache::GetProfileNames() {
865 void ProfileInfoCache::RegisterPrefs(PrefRegistrySimple* registry) {