Searched refs:user_manager (Results 1 – 6 of 6) sorted by relevance
44 UserManager* user_manager = UserManager::Get(); in Refresh() local45 std::string logged_in_user = user_manager->logged_in_user().email(); in Refresh()47 user_manager->GetUserDefaultImageIndex(logged_in_user)); in Refresh()85 UserManager* user_manager = UserManager::Get(); in OnPhotoTaken() local86 DCHECK(user_manager); in OnPhotoTaken()88 const UserManager::User& user = user_manager->logged_in_user(); in OnPhotoTaken()91 user_manager->SetLoggedInUserImage(image); in OnPhotoTaken()92 user_manager->SaveUserImage(user.email(), image); in OnPhotoTaken()100 UserManager* user_manager = UserManager::Get(); in OnDefaultImageSelected() local101 DCHECK(user_manager); in OnDefaultImageSelected()[all …]
88 chromeos::UserManager* user_manager = chromeos::UserManager::Get(); in OnImageDecoded() local89 if (user_manager) { in OnImageDecoded()90 if (user_manager->logged_in_user().email() == username_) { in OnImageDecoded()91 user_manager->SetLoggedInUserImage(decoded_image); in OnImageDecoded()93 user_manager->SaveUserImage(username_, decoded_image); in OnImageDecoded()
96 UserManager* user_manager = UserManager::Get(); in Init() local97 const std::string& logged_in_user = user_manager->logged_in_user().email(); in Init()98 int image_index = user_manager->GetUserDefaultImageIndex(logged_in_user); in Init()
59 UserManager* user_manager = UserManager::Get(); in Accept() local60 DCHECK(user_manager); in Accept()62 const UserManager::User& user = user_manager->logged_in_user(); in Accept()66 user_manager->SetLoggedInUserImage(image); in Accept()67 user_manager->SaveUserImage(user.email(), image); in Accept()
148 UserManager* user_manager = UserManager::Get(); in SelectImage() local149 user_manager->SetLoggedInUserImage(*image); in SelectImage()150 user_manager->SaveUserImagePath( in SelectImage()151 user_manager->logged_in_user().email(), in SelectImage()
135 const UserManager* user_manager = UserManager::Get(); in GetLoginInfo() local136 if (!user_manager) in GetLoginInfo()141 return_value->SetBoolean("is_owner", user_manager->current_user_is_owner()); in GetLoginInfo()142 return_value->SetBoolean("is_logged_in", user_manager->user_is_logged_in()); in GetLoginInfo()144 if (user_manager->user_is_logged_in()) { in GetLoginInfo()145 return_value->SetBoolean("is_guest", user_manager->IsLoggedInAsGuest()); in GetLoginInfo()146 return_value->SetString("email", user_manager->logged_in_user().email()); in GetLoginInfo()