/external/chromium_org/chrome/browser/supervised_user/ |
H A D | supervised_user_sync_service.h | 53 // |avatar_index| to hold the extracted value. Returns true if the 58 // |avatar_index| is set to -1. 60 int* avatar_index); 62 // Given an |avatar_index|, it returns a string of the form: 63 // "chrome-avatar-index:INDEX" where INDEX = |avatar_index|. 65 static std::string BuildAvatarString(int avatar_index); 75 int avatar_index); 81 int avatar_index); 86 // no avatar and |avatar_index| is set to some value other than 87 // |kNoAvatar|. If |avatar_index| equal [all...] |
H A D | supervised_user_pref_mapping_service.cc | 70 int avatar_index; local 71 bool success = value->GetAsInteger(&avatar_index); 73 prefs_->SetInteger(prefs::kProfileAvatarIndex, avatar_index);
|
H A D | supervised_user_pref_mapping_service_unittest.cc | 55 int avatar_index; local 56 value->GetAsInteger(&avatar_index); 57 EXPECT_EQ(avatar_index, 4);
|
H A D | supervised_user_sync_service.cc | 145 int* avatar_index) { 146 DCHECK(avatar_index); 148 *avatar_index = kNoAvatar; 162 if (!base::StringToInt(avatar_str.substr(prefix_len), avatar_index)) 168 return (*avatar_index == kChromeOSDummyAvatarIndex || 169 (*avatar_index >= user_manager::kFirstDefaultImageIndex && 170 *avatar_index < user_manager::kDefaultImagesCount)); 177 if (*avatar_index == kChromeOSDummyAvatarIndex) 178 *avatar_index = kNoAvatar; 179 return (*avatar_index 144 GetAvatarIndex(const std::string& avatar_str, int* avatar_index) argument 187 BuildAvatarString(int avatar_index) argument 206 CreateDictionary( const std::string& name, const std::string& master_key, const std::string& signature_key, const std::string& encryption_key, int avatar_index) argument 231 AddSupervisedUser( const std::string& id, const std::string& name, const std::string& master_key, const std::string& signature_key, const std::string& encryption_key, int avatar_index) argument 247 UpdateSupervisedUser( const std::string& id, const std::string& name, const std::string& master_key, const std::string& signature_key, const std::string& encryption_key, int avatar_index) argument 263 UpdateSupervisedUserImpl( const std::string& id, const std::string& name, const std::string& master_key, const std::string& signature_key, const std::string& encryption_key, int avatar_index, bool add_user) argument 317 UpdateSupervisedUserAvatarIfNeeded( const std::string& id, int avatar_index) argument [all...] |
H A D | supervised_user_sync_service_unittest.cc | 296 int avatar_index = 4; local 298 avatar_index += user_manager::kFirstDefaultImageIndex; 301 SupervisedUserSyncService::BuildAvatarString(avatar_index); 303 EXPECT_EQ(base::StringPrintf("chromeos-avatar-index:%d", avatar_index), 306 EXPECT_EQ(base::StringPrintf("chrome-avatar-index:%d", avatar_index), 310 EXPECT_EQ(avatar_index, avatar); 312 avatar_index = 0; 314 avatar_index += user_manager::kFirstDefaultImageIndex; 316 avatar_str = SupervisedUserSyncService::BuildAvatarString(avatar_index); 318 EXPECT_EQ(base::StringPrintf("chromeos-avatar-index:%d", avatar_index), [all...] |
H A D | supervised_user_registration_utility.h | 36 SupervisedUserRegistrationInfo(const base::string16& name, int avatar_index); 38 int avatar_index; member in struct:SupervisedUserRegistrationInfo
|
H A D | supervised_user_registration_utility.cc | 128 int avatar_index) 129 : avatar_index(avatar_index), 251 info.avatar_index); 277 info.avatar_index); 286 info.avatar_index); 295 base::FundamentalValue(info.avatar_index)); 126 SupervisedUserRegistrationInfo( const base::string16& name, int avatar_index) argument
|
H A D | supervised_user_service.cc | 839 int avatar_index = profile_->GetPrefs()->GetInteger( local 841 SupervisedUserRegistrationInfo info(name, avatar_index);
|
/external/chromium_org/chrome/browser/chromeos/login/supervised/ |
H A D | supervised_user_creation_controller.h | 61 // |password| and avatar indexed by |avatar_index|. StartCreation() have to 65 int avatar_index) = 0; 69 // |avatar_index|. The master key for cryptohome is a |master_key|. 72 int avatar_index, 78 // |avatar_index|. The master key for cryptohome is a |master_key|. The user 82 int avatar_index,
|
H A D | supervised_user_creation_controller_new.h | 53 // |password| and avatar indexed by |avatar_index|. StartCreation() have to 57 int avatar_index) OVERRIDE; 63 // |avatar_index|. The master key for cryptohome is a |master_key|. 66 int avatar_index, 72 // |avatar_index|. The master key for cryptohome is a |master_key|. The user 76 int avatar_index, 120 int avatar_index; member in struct:chromeos::SupervisedUserCreationControllerNew::UserCreationContext
|
H A D | supervised_user_creation_controller_new.cc | 87 int avatar_index) { 92 creation_context_->avatar_index = avatar_index; 99 int avatar_index, 107 creation_context_->avatar_index = avatar_index; 117 int avatar_index, 128 creation_context_->avatar_index = avatar_index; 323 creation_context_->avatar_index); 84 StartCreation( const base::string16& display_name, const std::string& password, int avatar_index) argument 96 StartImport( const base::string16& display_name, const std::string& password, int avatar_index, const std::string& sync_id, const std::string& master_key) argument 115 StartImport( const base::string16& display_name, int avatar_index, const std::string& sync_id, const std::string& master_key, const base::DictionaryValue* password_data, const std::string& encryption_key, const std::string& signature_key) argument [all...] |
H A D | supervised_user_creation_screen.cc | 254 int avatar_index = SupervisedUserCreationController::kDummyAvatarIndex; local 276 SupervisedUserSyncService::GetAvatarIndex(avatar, &avatar_index); 290 avatar_index, 318 int avatar_index = SupervisedUserCreationController::kDummyAvatarIndex; local 336 SupervisedUserSyncService::GetAvatarIndex(avatar, &avatar_index); 340 avatar_index, 523 int avatar_index = SupervisedUserCreationController::kDummyAvatarIndex; local 529 chromeos_avatar, &avatar_index)) { 531 user_manager::GetDefaultImageUrl(avatar_index));
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
H A D | supervised_user_import_handler.cc | 177 int avatar_index = SupervisedUserSyncService::kNoAvatar; local 181 success = avatar_index_value->GetAsInteger(&avatar_index); 187 SupervisedUserSyncService::GetAvatarIndex(avatar_str, &avatar_index); 192 avatar_index == SupervisedUserSyncService::kNoAvatar); 198 avatar_index == SupervisedUserSyncService::kNoAvatar ? 200 profiles::GetDefaultAvatarIconUrl(avatar_index);
|
/external/chromium_org/chrome/browser/profiles/ |
H A D | profile_manager.cc | 671 int avatar_index = profiles::GetPlaceholderAvatarIndex(); local 673 base::UTF8ToUTF16(profiles::GetDefaultAvatarIconUrl(avatar_index)) : 676 cache.ChooseNameForNewProfile(avatar_index) : base::string16(); 750 size_t avatar_index; 755 avatar_index = 0; 761 avatar_index = 771 avatar_index = profiles::GetPlaceholderAvatarIndex(); 773 base::UTF16ToUTF8(cache.ChooseNameForNewProfile(avatar_index)) : 776 avatar_index = cache.ChooseAvatarIconIndexForNewProfile(); 778 base::UTF16ToUTF8(cache.ChooseNameForNewProfile(avatar_index)); [all...] |
H A D | profile_info_cache.cc | 989 int avatar_index = GetAvatarIconIndexOfProfileAtIndex(index); local 990 std::string key = profiles::GetDefaultAvatarIconFileNameAtIndex(avatar_index); 996 profiles::GetPathOfHighResAvatarAtIndex(avatar_index);
|
H A D | profile_manager_unittest.cc | 525 size_t avatar_index = local 528 avatar_index)); 546 size_t avatar_index = local 554 EXPECT_EQ(avatar_index,
|
H A D | profile_impl.cc | 1378 size_t avatar_index = local 1380 cache.SetAvatarIconOfProfileAtIndex(index, avatar_index);
|