Home
last modified time | relevance | path

Searched refs:info_cache (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/chrome/browser/ui/webui/signin/
Duser_manager_screen_handler.cc93 size_t index, const ProfileInfoCache& info_cache) { in GetAvatarImageAtIndex() argument
95 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() argument
115 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() local
131 info_cache, base::UTF8ToUTF16(email), base::string16()); in GetScreenlockRouter()
[all …]
/external/chromium_org/chrome/browser/profiles/
Dprofile_metrics.cc48 const ProfileInfoCache& info_cache = manager->GetProfileInfoCache(); in LogLockedProfileInformation() local
49 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() argument
77 if (info_cache.GetProfileActiveTimeAtIndex(index) < active_limit) in HasProfileAtIndexBeenActiveSince()
120 const ProfileInfoCache& info_cache = manager->GetProfileInfoCache(); in CountProfileInformation() local
121 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 …]