/external/chromium_org/chrome/browser/profiles/ |
D | gaia_info_update_service.cc | 116 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); in OnProfileDownloadSuccess() local 117 if (profile_index == std::string::npos) in OnProfileDownloadSuccess() 120 cache.SetGAIANameOfProfileAtIndex(profile_index, full_name); in OnProfileDownloadSuccess() 122 profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); in OnProfileDownloadSuccess() 123 DCHECK_NE(profile_index, std::string::npos); in OnProfileDownloadSuccess() 125 cache.SetGAIAGivenNameOfProfileAtIndex(profile_index, given_name); in OnProfileDownloadSuccess() 127 profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); in OnProfileDownloadSuccess() 128 DCHECK_NE(profile_index, std::string::npos); in OnProfileDownloadSuccess() 134 cache.SetGAIAPictureOfProfileAtIndex(profile_index, &gfx_image); in OnProfileDownloadSuccess() 136 cache.SetGAIAPictureOfProfileAtIndex(profile_index, NULL); in OnProfileDownloadSuccess() [all …]
|
D | avatar_menu.cc | 85 size_t profile_index, in Item() argument 92 profile_index(profile_index) { in Item() 146 profile_info_->GetPathOfProfileAtIndex(item.profile_index); in SwitchToProfile() 163 size_t profile_index = profile_list_->GetItemAt(index).profile_index; in EditProfile() local 166 profile_info_->GetPathOfProfileAtIndex(profile_index)); in EditProfile() 168 menu_actions_->EditProfile(profile, profile_index); in EditProfile()
|
D | profile_list_desktop_unittest.cc | 129 EXPECT_EQ(0u, item1.profile_index); in TEST_F() 134 EXPECT_EQ(1u, item2.profile_index); in TEST_F() 139 EXPECT_EQ(2u, item3.profile_index); in TEST_F() 144 EXPECT_EQ(3u, item4.profile_index); in TEST_F() 171 EXPECT_EQ(1u, item1.profile_index); in TEST_F() 176 EXPECT_EQ(3u, item2.profile_index); in TEST_F() 181 EXPECT_EQ(4u, item3.profile_index); in TEST_F() 186 EXPECT_EQ(6u, item4.profile_index); in TEST_F()
|
D | profile_shortcut_manager_win.cc | 714 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_path); in GetShortcutProperties() local 715 DCHECK_LT(profile_index, cache.GetNumberOfProfiles()); in GetShortcutProperties() 720 shortcut_profile_name = cache.GetNameOfProfileAtIndex(profile_index); in GetShortcutProperties() 796 size_t profile_index = cache->GetIndexOfProfileWithPath(profile_path); in CreateOrUpdateShortcutsForProfileAtPath() local 797 if (profile_index == std::string::npos) in CreateOrUpdateShortcutsForProfileAtPath() 802 cache->GetShortcutNameOfProfileAtIndex(profile_index); in CreateOrUpdateShortcutsForProfileAtPath() 814 params.profile_name = cache->GetNameOfProfileAtIndex(profile_index); in CreateOrUpdateShortcutsForProfileAtPath() 819 if (cache->IsUsingGAIAPictureOfProfileAtIndex(profile_index)) { in CreateOrUpdateShortcutsForProfileAtPath() 821 cache->GetGAIAPictureOfProfileAtIndex(profile_index); in CreateOrUpdateShortcutsForProfileAtPath() 836 cache->GetAvatarIconIndexOfProfileAtIndex(profile_index); in CreateOrUpdateShortcutsForProfileAtPath() [all …]
|
D | profiles_state.cc | 103 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in UpdateProfileName() local 104 if (profile_index == std::string::npos) in UpdateProfileName() 107 if (new_profile_name == cache.GetNameOfProfileAtIndex(profile_index)) in UpdateProfileName()
|
D | avatar_menu.h | 48 Item(size_t menu_index, size_t profile_index, const gfx::Image& icon); 79 size_t profile_index; member
|
D | profile_info_cache.cc | 235 size_t profile_index = GetIndexOfProfileWithPath(profile_path); in DeleteProfileFromCache() local 236 if (profile_index == std::string::npos) { in DeleteProfileFromCache() 240 base::string16 name = GetNameOfProfileAtIndex(profile_index); in DeleteProfileFromCache() 1100 size_t profile_index = GetIndexOfProfileWithPath(*it); in MigrateLegacyProfileNamesAndDownloadAvatars() local 1101 SetProfileIsUsingDefaultNameAtIndex(profile_index, true); in MigrateLegacyProfileNamesAndDownloadAvatars() 1103 SetNameOfProfileAtIndex(profile_index, ChooseNameForNewProfile( in MigrateLegacyProfileNamesAndDownloadAvatars() 1104 GetAvatarIconIndexOfProfileAtIndex(profile_index))); in MigrateLegacyProfileNamesAndDownloadAvatars()
|
D | profile_list_desktop.cc | 83 if (item.profile_index == index) in MenuIndexFromProfileIndex()
|
D | profile_shortcut_manager_unittest_win.cc | 238 const size_t profile_index = in RenameProfile() local 240 ASSERT_NE(std::string::npos, profile_index); in RenameProfile() 241 ASSERT_NE(profile_info_cache_->GetNameOfProfileAtIndex(profile_index), in RenameProfile() 243 profile_info_cache_->SetNameOfProfileAtIndex(profile_index, in RenameProfile()
|
D | profile_manager.cc | 1232 size_t profile_index = in UpdateLastUser() local 1234 if (profile_index != std::string::npos) in UpdateLastUser() 1235 cache.SetProfileActiveTimeAtIndex(profile_index); in UpdateLastUser()
|
D | profile_manager_unittest.cc | 549 size_t profile_index = cache.GetIndexOfProfileWithPath(dest_path); in TEST_F() local 553 base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); in TEST_F() 555 cache.GetAvatarIconIndexOfProfileAtIndex(profile_index)); in TEST_F()
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | search_engines_helper.h | 22 TemplateURLService* GetServiceForBrowserContext(int profile_index); 29 bool ServiceMatchesVerifier(int profile_index); 48 void AddSearchEngine(int profile_index, int seed); 53 void EditSearchEngine(int profile_index, 61 void DeleteSearchEngineBySeed(int profile_index, int seed); 66 void ChangeDefaultSearchProvider(int profile_index, int seed);
|
D | search_engines_helper.cc | 119 TemplateURLService* GetServiceForBrowserContext(int profile_index) { in GetServiceForBrowserContext() argument 121 test()->GetProfile(profile_index)); in GetServiceForBrowserContext() 128 bool ServiceMatchesVerifier(int profile_index) { in ServiceMatchesVerifier() argument 130 TemplateURLService* other = GetServiceForBrowserContext(profile_index); in ServiceMatchesVerifier() 210 void AddSearchEngine(int profile_index, int seed) { in AddSearchEngine() argument 211 Profile* profile = test()->GetProfile(profile_index); in AddSearchEngine() 218 void EditSearchEngine(int profile_index, in EditSearchEngine() argument 224 TemplateURLService* service = GetServiceForBrowserContext(profile_index); in EditSearchEngine() 239 void DeleteSearchEngineBySeed(int profile_index, int seed) { in DeleteSearchEngineBySeed() argument 240 TemplateURLService* service = GetServiceForBrowserContext(profile_index); in DeleteSearchEngineBySeed() [all …]
|
/external/chromium_org/chrome/browser/supervised_user/ |
D | supervised_user_service_browsertest.cc | 96 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in IN_PROC_BROWSER_TEST_F() local 98 base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); in IN_PROC_BROWSER_TEST_F() 124 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in IN_PROC_BROWSER_TEST_F() local 126 base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); in IN_PROC_BROWSER_TEST_F() 134 profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in IN_PROC_BROWSER_TEST_F() 136 base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); in IN_PROC_BROWSER_TEST_F() 142 profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in IN_PROC_BROWSER_TEST_F() 144 base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/webui/signin/ |
D | user_manager_screen_handler.cc | 130 const size_t profile_index = GetIndexOfProfileWithEmailAndName( in GetScreenlockRouter() local 133 ->GetProfileByPath(info_cache.GetPathOfProfileAtIndex(profile_index)); in GetScreenlockRouter() 281 const size_t profile_index = GetIndexOfProfileWithEmailAndName( in Unlock() local 283 DCHECK_LT(profile_index, info_cache.GetNumberOfProfiles()); in Unlock() 285 authenticating_profile_index_ = profile_index; in Unlock() 339 size_t profile_index = GetIndexOfProfileWithEmailAndName( in HandleAuthenticatedLaunchUser() local 341 if (profile_index >= info_cache.GetNumberOfProfiles()) { in HandleAuthenticatedLaunchUser() 346 authenticating_profile_index_ = profile_index; in HandleAuthenticatedLaunchUser() 347 if (!chrome::ValidateLocalAuthCredentials(profile_index, password)) { in HandleAuthenticatedLaunchUser() 423 size_t profile_index = GetIndexOfProfileWithEmailAndName( in HandleLaunchUser() local [all …]
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | manage_profile_handler.cc | 279 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in SendProfileIconsAndNames() local 280 if (profile_index != std::string::npos) { in SendProfileIconsAndNames() 282 cache.GetGAIAPictureOfProfileAtIndex(profile_index); in SendProfileIconsAndNames() 422 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); in ProfileIconSelectionChanged() local 423 if (profile_index == std::string::npos) in ProfileIconSelectionChanged() 425 base::string16 gaia_name = cache.GetNameOfProfileAtIndex(profile_index); in ProfileIconSelectionChanged() 446 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); in RequestHasProfileShortcuts() local 447 if (profile_index == std::string::npos) in RequestHasProfileShortcuts() 455 cache.GetPathOfProfileAtIndex(profile_index); in RequestHasProfileShortcuts()
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
D | ntp_login_handler.cc | 206 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in UpdateLogin() local 207 if (profile_index != std::string::npos) { in UpdateLogin() 212 base::string16 name = cache.GetGAIANameOfProfileAtIndex(profile_index); in UpdateLogin() 216 cache.GetGAIAPictureOfProfileAtIndex(profile_index); in UpdateLogin()
|
/external/chromium_org/chrome/browser/ui/app_list/ |
D | app_list_service_impl.cc | 137 size_t profile_index = profile_info.GetIndexOfProfileWithPath(profile_path); in IsProfileSupervised() local 138 return profile_index != std::string::npos && in IsProfileSupervised() 139 profile_info.ProfileIsSupervisedAtIndex(profile_index); in IsProfileSupervised()
|
/external/chromium_org/chrome/browser/ui/startup/ |
D | startup_browser_creator.cc | 627 size_t profile_index = profile_info.GetIndexOfProfileWithPath( in ProcessCmdLineImpl() local 629 bool signin_required = profile_index != std::string::npos && in ProcessCmdLineImpl() 630 profile_info.ProfileIsSigninRequiredAtIndex(profile_index); in ProcessCmdLineImpl()
|
/external/chromium_org/chrome/browser/chromeos/profiles/ |
D | profile_list_chromeos.cc | 87 if (items_[i]->profile_index == index) { in MenuIndexFromProfileIndex()
|
/external/chromium_org/chrome/browser/ |
D | app_controller_mac_browsertest.mm | 241 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); 242 cache.SetProfileSigninRequiredAtIndex(profile_index, true); 243 EXPECT_TRUE(cache.ProfileIsSigninRequiredAtIndex(profile_index));
|
/external/chromium_org/chrome/browser/background/ |
D | background_mode_manager.cc | 387 size_t profile_index = profile_cache_->GetIndexOfProfileWithPath( in OnApplicationListChanged() local 389 if (profile_index != std::string::npos) { in OnApplicationListChanged() 391 profile_index, GetBackgroundAppCountForProfile(profile) != 0); in OnApplicationListChanged()
|
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/ |
D | builtin_function.cpp | 14445 int profile_index, in _mesa_read_profile() argument 14450 gl_shader *sh = builtin_profiles[profile_index]; in _mesa_read_profile() 14455 builtin_profiles[profile_index] = sh; in _mesa_read_profile()
|
/external/chromium_org/chrome/browser/sessions/ |
D | session_service_unittest.cc | 428 size_t profile_index = profile_info.GetIndexOfProfileWithPath( in TEST_F() local 430 ASSERT_NE(std::string::npos, profile_index); in TEST_F() 431 profile_info.SetProfileSigninRequiredAtIndex(profile_index, true); in TEST_F()
|
/external/chromium_org/components/autofill/core/browser/ |
D | autofill_profile.cc | 764 size_t profile_index = it->second.front(); in CreateInferredLabels() local 765 (*labels)[profile_index] = label; in CreateInferredLabels()
|