Searched refs:info_cache (Results 1 – 2 of 2) sorted by relevance
93 size_t index, const ProfileInfoCache& info_cache) { in GetAvatarImageAtIndex() argument95 info_cache.IsUsingGAIAPictureOfProfileAtIndex(index) && in GetAvatarImageAtIndex()96 info_cache.GetGAIAPictureOfProfileAtIndex(index); in GetAvatarImageAtIndex()101 gfx::Image avatar_image = info_cache.GetAvatarIconOfProfileAtIndex(index); in GetAvatarImageAtIndex()112 size_t GetIndexOfProfileWithEmailAndName(const ProfileInfoCache& info_cache, in GetIndexOfProfileWithEmailAndName() argument115 for (size_t i = 0; i < info_cache.GetNumberOfProfiles(); ++i) { in GetIndexOfProfileWithEmailAndName()116 if (info_cache.GetUserNameOfProfileAtIndex(i) == email && in GetIndexOfProfileWithEmailAndName()119 info_cache.GetPathOfProfileAtIndex(i)) == name)) { in GetIndexOfProfileWithEmailAndName()128 ProfileInfoCache& info_cache = in GetScreenlockRouter() local131 info_cache, base::UTF8ToUTF16(email), base::string16()); in GetScreenlockRouter()[all …]
48 const ProfileInfoCache& info_cache = manager->GetProfileInfoCache(); in LogLockedProfileInformation() local49 size_t number_of_profiles = info_cache.GetNumberOfProfiles(); in LogLockedProfileInformation()56 if (info_cache.ProfileIsSigninRequiredAtIndex(i)) { in LogLockedProfileInformation()58 info_cache.GetProfileActiveTimeAtIndex(i); in LogLockedProfileInformation()71 bool HasProfileAtIndexBeenActiveSince(const ProfileInfoCache& info_cache, in HasProfileAtIndexBeenActiveSince() argument77 if (info_cache.GetProfileActiveTimeAtIndex(index) < active_limit) in HasProfileAtIndexBeenActiveSince()120 const ProfileInfoCache& info_cache = manager->GetProfileInfoCache(); in CountProfileInformation() local121 size_t number_of_profiles = info_cache.GetNumberOfProfiles(); in CountProfileInformation()133 if (!HasProfileAtIndexBeenActiveSince(info_cache, i, oldest)) { in CountProfileInformation()136 if (info_cache.ProfileIsSupervisedAtIndex(i)) in CountProfileInformation()[all …]