Lines Matching defs:cache

214     // This invalidates the Windows icon cache and causes the icon changes to
713 const ProfileInfoCache& cache = profile_manager_->GetProfileInfoCache();
714 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_path);
715 DCHECK_LT(profile_index, cache.GetNumberOfProfiles());
719 if (cache.GetNumberOfProfiles() > 1)
720 shortcut_profile_name = cache.GetNameOfProfileAtIndex(profile_index);
747 const ProfileInfoCache& cache = profile_manager_->GetProfileInfoCache();
750 const bool deleting_down_to_last_profile = (cache.GetNumberOfProfiles() == 1);
753 CreateOrUpdateShortcutsForProfileAtPath(cache.GetPathOfProfileAtIndex(0),
778 const ProfileInfoCache& cache = profile_manager_->GetProfileInfoCache();
779 DCHECK_EQ(2U, cache.GetNumberOfProfiles());
782 size_t current_profile_index = cache.GetIndexOfProfileWithPath(profile_path);
784 return cache.GetPathOfProfileAtIndex(other_profile_index);
795 ProfileInfoCache* cache = &profile_manager_->GetProfileInfoCache();
796 size_t profile_index = cache->GetIndexOfProfileWithPath(profile_path);
799 bool remove_badging = cache->GetNumberOfProfiles() == 1;
802 cache->GetShortcutNameOfProfileAtIndex(profile_index);
806 // set in the profile info cache.
814 params.profile_name = cache->GetNameOfProfileAtIndex(profile_index);
819 if (cache->IsUsingGAIAPictureOfProfileAtIndex(profile_index)) {
821 cache->GetGAIAPictureOfProfileAtIndex(profile_index);
836 cache->GetAvatarIconIndexOfProfileAtIndex(profile_index);
850 cache->SetShortcutNameOfProfileAtIndex(profile_index,