Home
last modified time | relevance | path

Searched refs:user_manager (Results 1 – 6 of 6) sorted by relevance

/external/chromium/chrome/browser/chromeos/login/
Duser_image_screen.cc44 UserManager* user_manager = UserManager::Get(); in Refresh() local
45 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() local
86 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() local
101 DCHECK(user_manager); in OnDefaultImageSelected()
[all …]
Duser_image_downloader.cc88 chromeos::UserManager* user_manager = chromeos::UserManager::Get(); in OnImageDecoded() local
89 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()
Duser_image_view.cc96 UserManager* user_manager = UserManager::Get(); in Init() local
97 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()
/external/chromium/chrome/browser/chromeos/options/
Dtake_photo_dialog.cc59 UserManager* user_manager = UserManager::Get(); in Accept() local
60 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()
/external/chromium/chrome/browser/ui/webui/options/chromeos/
Dchange_picture_options_handler.cc148 UserManager* user_manager = UserManager::Get(); in SelectImage() local
149 user_manager->SetLoggedInUserImage(*image); in SelectImage()
150 user_manager->SaveUserImagePath( in SelectImage()
151 user_manager->logged_in_user().email(), in SelectImage()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider_chromeos.cc135 const UserManager* user_manager = UserManager::Get(); in GetLoginInfo() local
136 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()