/external/chromium_org/chrome/browser/profiles/ |
D | gaia_info_update_service.cc | 117 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); in OnProfileDownloadSuccess() local 118 if (profile_index == std::string::npos) in OnProfileDownloadSuccess() 121 cache.SetGAIANameOfProfileAtIndex(profile_index, full_name); in OnProfileDownloadSuccess() 122 cache.SetGAIAGivenNameOfProfileAtIndex(profile_index, given_name); in OnProfileDownloadSuccess() 125 profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); in OnProfileDownloadSuccess() 126 if (profile_index == std::string::npos) in OnProfileDownloadSuccess() 132 cache.SetGAIAPictureOfProfileAtIndex(profile_index, &gfx_image); in OnProfileDownloadSuccess() 134 cache.SetGAIAPictureOfProfileAtIndex(profile_index, NULL); in OnProfileDownloadSuccess() 140 if (!cache.GetHasMigratedToGAIAInfoOfProfileAtIndex(profile_index)) { in OnProfileDownloadSuccess() 141 cache.SetHasMigratedToGAIAInfoOfProfileAtIndex(profile_index, true); in OnProfileDownloadSuccess() [all …]
|
D | profiles_state.cc | 86 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); in UpdateProfileName() local 89 cache.GetGAIAGivenNameOfProfileAtIndex(profile_index)) || in UpdateProfileName() 90 (new_profile_name == cache.GetGAIANameOfProfileAtIndex(profile_index))) { in UpdateProfileName() 94 cache.SetIsUsingGAIANameOfProfileAtIndex(profile_index, true); in UpdateProfileName() 102 profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); in UpdateProfileName() 103 if (profile_index == std::string::npos) in UpdateProfileName() 106 cache.SetIsUsingGAIANameOfProfileAtIndex(profile_index, false); in UpdateProfileName()
|
D | avatar_menu.cc | 71 size_t profile_index, in Item() argument 78 profile_index(profile_index) { in Item() 131 profile_info_->GetPathOfProfileAtIndex(item.profile_index); in SwitchToProfile() 148 size_t profile_index = profile_list_->GetItemAt(index).profile_index; in EditProfile() local 151 profile_info_->GetPathOfProfileAtIndex(profile_index)); in EditProfile() 153 menu_actions_->EditProfile(profile, profile_index); in EditProfile()
|
D | avatar_menu.h | 38 Item(size_t menu_index, size_t profile_index, const gfx::Image& icon); 69 size_t profile_index; member
|
D | profile_shortcut_manager_win.cc | 723 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_path); in GetShortcutProperties() local 724 DCHECK_LT(profile_index, cache.GetNumberOfProfiles()); in GetShortcutProperties() 729 shortcut_profile_name = cache.GetNameOfProfileAtIndex(profile_index); in GetShortcutProperties() 805 size_t profile_index = cache->GetIndexOfProfileWithPath(profile_path); in CreateOrUpdateShortcutsForProfileAtPath() local 806 if (profile_index == std::string::npos) in CreateOrUpdateShortcutsForProfileAtPath() 811 cache->GetShortcutNameOfProfileAtIndex(profile_index); in CreateOrUpdateShortcutsForProfileAtPath() 823 params.profile_name = cache->GetNameOfProfileAtIndex(profile_index); in CreateOrUpdateShortcutsForProfileAtPath() 826 cache->GetAvatarIconIndexOfProfileAtIndex(profile_index); in CreateOrUpdateShortcutsForProfileAtPath() 839 cache->SetShortcutNameOfProfileAtIndex(profile_index, in CreateOrUpdateShortcutsForProfileAtPath()
|
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_unittest.cc | 399 size_t profile_index = cache.GetIndexOfProfileWithPath(dest_path); in TEST_F() local 403 UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); in TEST_F() 405 cache.GetAvatarIconIndexOfProfileAtIndex(profile_index)); in TEST_F()
|
D | profile_info_cache.cc | 246 size_t profile_index = GetIndexOfProfileWithPath(profile_path); in DeleteProfileFromCache() local 247 if (profile_index == std::string::npos) { in DeleteProfileFromCache() 251 base::string16 name = GetNameOfProfileAtIndex(profile_index); in DeleteProfileFromCache()
|
/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 | 118 TemplateURLService* GetServiceForBrowserContext(int profile_index) { in GetServiceForBrowserContext() argument 120 test()->GetProfile(profile_index)); in GetServiceForBrowserContext() 127 bool ServiceMatchesVerifier(int profile_index) { in ServiceMatchesVerifier() argument 129 TemplateURLService* other = GetServiceForBrowserContext(profile_index); in ServiceMatchesVerifier() 209 void AddSearchEngine(int profile_index, int seed) { in AddSearchEngine() argument 210 Profile* profile = test()->GetProfile(profile_index); in AddSearchEngine() 217 void EditSearchEngine(int profile_index, in EditSearchEngine() argument 223 TemplateURLService* service = GetServiceForBrowserContext(profile_index); in EditSearchEngine() 238 void DeleteSearchEngineBySeed(int profile_index, int seed) { in DeleteSearchEngineBySeed() argument 239 TemplateURLService* service = GetServiceForBrowserContext(profile_index); in DeleteSearchEngineBySeed() [all …]
|
/external/chromium_org/chrome/browser/managed_mode/ |
D | managed_user_service_browsertest.cc | 48 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in IN_PROC_BROWSER_TEST_F() local 50 UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); in IN_PROC_BROWSER_TEST_F() 76 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in IN_PROC_BROWSER_TEST_F() local 77 EXPECT_EQ(name, UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); in IN_PROC_BROWSER_TEST_F() 85 profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in IN_PROC_BROWSER_TEST_F() 87 UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); in IN_PROC_BROWSER_TEST_F() 93 profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in IN_PROC_BROWSER_TEST_F() 95 UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | manage_profile_handler.cc | 231 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in SendProfileIcons() local 232 if (profile_index != std::string::npos) { in SendProfileIcons() 234 cache.GetGAIAPictureOfProfileAtIndex(profile_index); in SendProfileIcons() 274 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); in SetProfileIconAndName() local 275 if (profile_index == std::string::npos) in SetProfileIconAndName() 289 cache.IsUsingGAIAPictureOfProfileAtIndex(profile_index); in SetProfileIconAndName() 293 cache.SetIsUsingGAIAPictureOfProfileAtIndex(profile_index, true); in SetProfileIconAndName() 306 cache.SetIsUsingGAIAPictureOfProfileAtIndex(profile_index, false); in SetProfileIconAndName() 365 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); in ProfileIconSelectionChanged() local 366 if (profile_index == std::string::npos) in ProfileIconSelectionChanged() [all …]
|
/external/chromium_org/chrome/browser/ui/webui/signin/ |
D | user_manager_screen_handler.cc | 207 size_t profile_index = GetIndexOfProfileWithEmailAndName( in HandleAuthenticatedLaunchUser() local 209 if (profile_index >= info_cache.GetNumberOfProfiles()) { in HandleAuthenticatedLaunchUser() 213 if (!chrome::ValidateLocalAuthCredentials(profile_index, password)) { in HandleAuthenticatedLaunchUser() 224 info_cache.SetProfileSigninRequiredAtIndex(profile_index, false); in HandleAuthenticatedLaunchUser() 225 base::FilePath path = info_cache.GetPathOfProfileAtIndex(profile_index); in HandleAuthenticatedLaunchUser() 270 size_t profile_index = GetIndexOfProfileWithEmailAndName( in HandleLaunchUser() local 273 if (profile_index >= info_cache.GetNumberOfProfiles()) { in HandleLaunchUser() 283 if (info_cache.ProfileIsSigninRequiredAtIndex(profile_index)) in HandleLaunchUser() 286 base::FilePath path = info_cache.GetPathOfProfileAtIndex(profile_index); in HandleLaunchUser()
|
/external/chromium_org/chrome/browser/ui/gtk/ |
D | avatar_menu_bubble_gtk.h | 44 virtual void OpenProfile(size_t profile_index) OVERRIDE; 45 virtual void EditProfile(size_t profile_index) OVERRIDE;
|
D | avatar_menu_bubble_gtk.cc | 89 void AvatarMenuBubbleGtk::OpenProfile(size_t profile_index) { in OpenProfile() argument 95 avatar_menu_->SwitchToProfile(profile_index, in OpenProfile() 100 void AvatarMenuBubbleGtk::EditProfile(size_t profile_index) { in EditProfile() argument 103 avatar_menu_->EditProfile(profile_index); in EditProfile()
|
D | avatar_menu_item_gtk.h | 28 virtual void OpenProfile(size_t profile_index) = 0; 31 virtual void EditProfile(size_t profile_index) = 0;
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
D | ntp_login_handler.cc | 209 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in UpdateLogin() local 210 if (profile_index != std::string::npos) { in UpdateLogin() 215 base::string16 name = cache.GetGAIANameOfProfileAtIndex(profile_index); in UpdateLogin() 219 cache.GetGAIAPictureOfProfileAtIndex(profile_index); in UpdateLogin()
|
/external/chromium_org/chrome/browser/ui/app_list/ |
D | app_list_service_impl.cc | 132 size_t profile_index = profile_info.GetIndexOfProfileWithPath(profile_path); in IsProfileManaged() local 133 return profile_info.ProfileIsManagedAtIndex(profile_index); in IsProfileManaged()
|
/external/chromium_org/chrome/browser/chromeos/profiles/ |
D | profile_list_chromeos.cc | 85 if (items_[i]->profile_index == index) { in MenuIndexFromProfileIndex()
|
/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/background/ |
D | background_mode_manager.cc | 400 size_t profile_index = profile_cache_->GetIndexOfProfileWithPath( in OnApplicationListChanged() local 402 if (profile_index != std::string::npos) { in OnApplicationListChanged() 404 profile_index, GetBackgroundAppCountForProfile(profile) != 0); in OnApplicationListChanged()
|
/external/chromium/chrome/browser/autofill/ |
D | autofill_profile.cc | 368 size_t profile_index = it->second.front(); in CreateInferredLabels() local 369 (*created_labels)[profile_index] = label; in CreateInferredLabels()
|
/external/chromium_org/components/autofill/core/browser/ |
D | autofill_profile.cc | 603 size_t profile_index = it->second.front(); in CreateInferredLabels() local 604 (*labels)[profile_index] = label; in CreateInferredLabels()
|
/external/chromium_org/chrome/browser/ |
D | chrome_browser_main.cc | 364 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_path); in CreateProfile() local 366 if (cache.ProfileIsSigninRequiredAtIndex(profile_index)) in CreateProfile()
|
/external/chromium_org/chrome/browser/ui/cocoa/browser/ |
D | profile_chooser_controller.mm | 320 std::string::npos, /* profile_index, not used */
|