/external/chromium_org/chrome/browser/ui/ash/ |
session_state_delegate_chromeos_unittest.cc | 43 user_manager()->AddUser(user); 44 user_manager()->LoginUser(user); 52 chromeos::FakeUserManager* user_manager() { return user_manager_; } function in class:SessionStateDelegateChromeOSTest
|
/external/chromium_org/chrome/browser/chromeos/first_run/ |
first_run.cc | 9 #include "chrome/browser/chromeos/login/user_manager.h" 85 UserManager* user_manager = UserManager::Get(); local 87 user_manager->GetProfileByUser(user_manager->GetActiveUser()));
|
first_run_controller.cc | 16 #include "chrome/browser/chromeos/login/user_manager.h" 73 UserManager* user_manager = UserManager::Get(); local 74 user_profile_ = user_manager->GetProfileByUser(user_manager->GetActiveUser());
|
/external/chromium/chrome/browser/chromeos/login/ |
user_image_downloader.cc | 15 #include "chrome/browser/chromeos/login/user_manager.h" 88 chromeos::UserManager* user_manager = chromeos::UserManager::Get(); local 89 if (user_manager) { 90 if (user_manager->logged_in_user().email() == username_) { 91 user_manager->SetLoggedInUserImage(decoded_image); 93 user_manager->SaveUserImage(username_, decoded_image);
|
user_image_screen.cc | 12 #include "chrome/browser/chromeos/login/user_manager.h" 44 UserManager* user_manager = UserManager::Get(); local 45 std::string logged_in_user = user_manager->logged_in_user().email(); 47 user_manager->GetUserDefaultImageIndex(logged_in_user)); 85 UserManager* user_manager = UserManager::Get(); local 86 DCHECK(user_manager); 88 const UserManager::User& user = user_manager->logged_in_user(); 91 user_manager->SetLoggedInUserImage(image); 92 user_manager->SaveUserImage(user.email(), image); 100 UserManager* user_manager = UserManager::Get() local [all...] |
user_image_view.cc | 12 #include "chrome/browser/chromeos/login/user_manager.h" 96 UserManager* user_manager = UserManager::Get(); local 97 const std::string& logged_in_user = user_manager->logged_in_user().email(); 98 int image_index = user_manager->GetUserDefaultImageIndex(logged_in_user);
|
/external/chromium/chrome/browser/chromeos/options/ |
take_photo_dialog.cc | 10 #include "chrome/browser/chromeos/login/user_manager.h" 59 UserManager* user_manager = UserManager::Get(); local 60 DCHECK(user_manager); 62 const UserManager::User& user = user_manager->logged_in_user(); 66 user_manager->SetLoggedInUserImage(image); 67 user_manager->SaveUserImage(user.email(), image);
|
/external/chromium/chrome/browser/ui/webui/options/chromeos/ |
change_picture_options_handler.cc | 11 #include "chrome/browser/chromeos/login/user_manager.h" 148 UserManager* user_manager = UserManager::Get(); local 149 user_manager->SetLoggedInUserImage(*image); 150 user_manager->SaveUserImagePath( 151 user_manager->logged_in_user().email(),
|
/external/chromium_org/chrome/browser/chromeos/login/ |
crash_restore_browsertest.cc | 12 #include "chrome/browser/chromeos/login/user_manager.h" 63 UserManager* user_manager = UserManager::Get(); local 64 User* user = user_manager->GetActiveUser(); 69 EXPECT_EQ(1UL, user_manager->GetLoggedInUsers().size()); 132 UserManager* user_manager = UserManager::Get(); local 133 DCHECK(user_manager->UserSessionsRestored()); 137 User* user = user_manager->GetActiveUser(); 142 const UserList& users = user_manager->GetLoggedInUsers();
|
multi_profile_user_controller.cc | 16 #include "chrome/browser/chromeos/login/user_manager.h" 81 UserManager* user_manager = UserManager::Get(); local 82 CHECK(user_manager); 84 const User* primary_user = user_manager->GetPrimaryUser(); 95 if (user_manager->GetOwnerEmail() == user_email) 116 primary_user ? user_manager->GetProfileByUser(primary_user) : NULL;
|
app_launch_signin_screen.cc | 36 UserManager* user_manager = GetUserManager(); local 37 const std::string& owner_email = user_manager->GetOwnerEmail(); 38 const UserList& all_users = user_manager->GetUsers(); 54 UserManager* user_manager) { 55 test_user_manager_ = user_manager;
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
policy_cert_service_factory.cc | 12 #include "chrome/browser/chromeos/login/user_manager.h" 96 chromeos::UserManager* user_manager = chromeos::UserManager::Get(); local 98 user_manager->GetUserByProfile(profile->GetOriginalProfile()); 112 if (user_manager->GetLoggedInUsers().size() > 1u) { 129 return new PolicyCertService(user->email(), net_conf_updater, user_manager);
|
/external/chromium_org/chrome/browser/extensions/api/autotest_private/ |
autotest_private_api.cc | 24 #include "chrome/browser/chromeos/login/user_manager.h" 101 const chromeos::UserManager* user_manager = chromeos::UserManager::Get(); local 105 if (user_manager) { 106 result->SetBoolean("isLoggedIn", user_manager->IsUserLoggedIn()); 107 result->SetBoolean("isOwner", user_manager->IsCurrentUserOwner()); 109 if (user_manager->IsUserLoggedIn()) { 111 user_manager->IsLoggedInAsRegularUser()); 112 result->SetBoolean("isGuest", user_manager->IsLoggedInAsGuest()); 113 result->SetBoolean("isKiosk", user_manager->IsLoggedInAsKioskApp()); 115 const chromeos::User* user = user_manager->GetLoggedInUser() [all...] |
/external/chromium_org/chrome/browser/extensions/api/networking_private/ |
networking_private_apitest.cc | 9 #include "chrome/browser/chromeos/login/user_manager.h" 129 chromeos::UserManager* user_manager = chromeos::UserManager::Get(); local 130 chromeos::User* user = user_manager->GetActiveUser();
|
/external/chromium_org/chrome/browser/policy/ |
profile_policy_connector_factory.cc | 20 #include "chrome/browser/chromeos/login/user_manager.h" 101 chromeos::UserManager* user_manager = chromeos::UserManager::Get(); local 102 user = user_manager->GetUserByProfile(profile);
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
core_chromeos_options_handler.cc | 15 #include "chrome/browser/chromeos/login/user_manager.h" 47 UserManager* user_manager = UserManager::Get(); local 48 return user_manager->IsCurrentUserOwner() && 49 user_manager->GetLoggedInUser()->email() == username; 71 UserManager* user_manager = UserManager::Get(); local 78 std::string display_email = user_manager->GetUserDisplayEmail(email);
|
/external/chromium/chrome/browser/automation/ |
testing_automation_provider_chromeos.cc | 135 const UserManager* user_manager = UserManager::Get(); local 136 if (!user_manager) 141 return_value->SetBoolean("is_owner", user_manager->current_user_is_owner()); 142 return_value->SetBoolean("is_logged_in", user_manager->user_is_logged_in()); 144 if (user_manager->user_is_logged_in()) { 145 return_value->SetBoolean("is_guest", user_manager->IsLoggedInAsGuest()); 146 return_value->SetString("email", user_manager->logged_in_user().email());
|
/external/chromium_org/apps/ |
launcher.cc | 41 #include "chrome/browser/chromeos/login/user_manager.h" 326 chromeos::UserManager* user_manager = chromeos::UserManager::Get(); local 327 in_kiosk_mode = user_manager && user_manager->IsLoggedInAsKioskApp();
|
/external/chromium_org/chrome/browser/automation/ |
automation_util.cc | 174 const UserManager* user_manager = UserManager::Get(); local 175 if (!user_manager) { 179 if (!user_manager->IsUserLoggedIn()) {
|
/external/chromium_org/chrome/browser/chromeos/ |
chrome_browser_main_chromeos.cc | 48 #include "chrome/browser/chromeos/login/user_manager.h" 534 UserManager* user_manager = UserManager::Get(); local 538 user_manager->UserLoggedIn(username, username_hash, true);
|
/external/chromium_org/chrome/browser/chromeos/display/ |
display_preferences.cc | 21 #include "chrome/browser/chromeos/login/user_manager.h" 73 UserManager* user_manager = UserManager::Get(); local 74 return user_manager->IsUserLoggedIn() && 75 (user_manager->IsLoggedInAsRegularUser() || 76 user_manager->IsLoggedInAsLocallyManagedUser() || 77 user_manager->IsLoggedInAsKioskApp());
|
/external/chromium_org/chrome/browser/chromeos/login/screens/ |
user_image_screen.cc | 26 #include "chrome/browser/chromeos/login/user_manager.h" 196 UserManager* user_manager = UserManager::Get(); local 197 UserImageManager* image_manager = user_manager->GetUserImageManager();
|
/external/chromium_org/chrome/browser/extensions/ |
crx_installer.cc | 61 #include "chrome/browser/chromeos/login/user_manager.h" 557 chromeos::UserManager* user_manager = chromeos::UserManager::Get(); local 558 in_kiosk_mode = user_manager && user_manager->IsLoggedInAsKioskApp();
|
external_provider_impl.cc | 40 #include "chrome/browser/chromeos/login/user_manager.h" 409 chromeos::UserManager* user_manager = chromeos::UserManager::Get(); local 411 user_manager && user_manager->IsLoggedInAsDemoUser() &&
|
/external/chromium_org/chrome/browser/media/ |
media_stream_devices_controller.cc | 28 #include "chrome/browser/chromeos/login/user_manager.h" 49 const chromeos::UserManager* user_manager = chromeos::UserManager::Get(); local 50 return user_manager && user_manager->IsLoggedInAsKioskApp();
|