/external/chromium_org/chrome/browser/sync/test/integration/ |
H A D | search_engines_helper.h | 22 TemplateURLService* GetServiceForBrowserContext(int profile_index); 29 bool ServiceMatchesVerifier(int profile_index); 46 // Add a search engine based on a seed to the service at index |profile_index| 48 void AddSearchEngine(int profile_index, int seed); 50 // Retrieves a search engine from the service at index |profile_index| with 53 void EditSearchEngine(int profile_index, 59 // Deletes a search engine from the service at index |profile_index| which was 61 void DeleteSearchEngineBySeed(int profile_index, int seed); 64 // |profile_index| to be the new default. Does the same to the verifier, if it 66 void ChangeDefaultSearchProvider(int profile_index, in [all...] |
H A D | search_engines_helper.cc | 119 TemplateURLService* GetServiceForBrowserContext(int profile_index) { argument 121 test()->GetProfile(profile_index)); 128 bool ServiceMatchesVerifier(int profile_index) { argument 130 TemplateURLService* other = GetServiceForBrowserContext(profile_index); 210 void AddSearchEngine(int profile_index, int seed) { argument 211 Profile* profile = test()->GetProfile(profile_index); 218 void EditSearchEngine(int profile_index, argument 224 TemplateURLService* service = GetServiceForBrowserContext(profile_index); 239 void DeleteSearchEngineBySeed(int profile_index, int seed) { argument 240 TemplateURLService* service = GetServiceForBrowserContext(profile_index); 254 ChangeDefaultSearchProvider(int profile_index, int seed) argument [all...] |
/external/chromium_org/chrome/browser/profiles/ |
H A D | gaia_info_update_service.cc | 116 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); local 117 if (profile_index == std::string::npos) 120 cache.SetGAIANameOfProfileAtIndex(profile_index, full_name); 122 profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); 123 DCHECK_NE(profile_index, std::string::npos); 125 cache.SetGAIAGivenNameOfProfileAtIndex(profile_index, given_name); 127 profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); 128 DCHECK_NE(profile_index, std::string::npos); 134 cache.SetGAIAPictureOfProfileAtIndex(profile_index, &gfx_image); 136 cache.SetGAIAPictureOfProfileAtIndex(profile_index, NUL 155 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); local [all...] |
H A D | avatar_menu.cc | 85 size_t profile_index, 92 profile_index(profile_index) { 146 profile_info_->GetPathOfProfileAtIndex(item.profile_index); 163 size_t profile_index = profile_list_->GetItemAt(index).profile_index; local 166 profile_info_->GetPathOfProfileAtIndex(profile_index)); 168 menu_actions_->EditProfile(profile, profile_index); 84 Item(size_t menu_index, size_t profile_index, const gfx::Image& icon) argument
|
H A D | avatar_menu.h | 48 Item(size_t menu_index, size_t profile_index, const gfx::Image& icon); 79 size_t profile_index; member in struct:AvatarMenu::Item
|
H A D | profile_list_desktop_unittest.cc | 129 EXPECT_EQ(0u, item1.profile_index); 134 EXPECT_EQ(1u, item2.profile_index); 139 EXPECT_EQ(2u, item3.profile_index); 144 EXPECT_EQ(3u, item4.profile_index); 171 EXPECT_EQ(1u, item1.profile_index); 176 EXPECT_EQ(3u, item2.profile_index); 181 EXPECT_EQ(4u, item3.profile_index); 186 EXPECT_EQ(6u, item4.profile_index);
|
H A D | profiles_state.cc | 103 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); local 104 if (profile_index == std::string::npos) 107 if (new_profile_name == cache.GetNameOfProfileAtIndex(profile_index))
|
H A D | profile_list_desktop.cc | 83 if (item.profile_index == index)
|
H A D | profile_shortcut_manager_win.cc | 714 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_path); local 715 DCHECK_LT(profile_index, cache.GetNumberOfProfiles()); 720 shortcut_profile_name = cache.GetNameOfProfileAtIndex(profile_index); 796 size_t profile_index = cache->GetIndexOfProfileWithPath(profile_path); local 797 if (profile_index == std::string::npos) 802 cache->GetShortcutNameOfProfileAtIndex(profile_index); 814 params.profile_name = cache->GetNameOfProfileAtIndex(profile_index); 819 if (cache->IsUsingGAIAPictureOfProfileAtIndex(profile_index)) { 821 cache->GetGAIAPictureOfProfileAtIndex(profile_index); 836 cache->GetAvatarIconIndexOfProfileAtIndex(profile_index); [all...] |
H A D | profile_info_cache.cc | 235 size_t profile_index = GetIndexOfProfileWithPath(profile_path); local 236 if (profile_index == std::string::npos) { 240 base::string16 name = GetNameOfProfileAtIndex(profile_index); 1100 size_t profile_index = GetIndexOfProfileWithPath(*it); local 1101 SetProfileIsUsingDefaultNameAtIndex(profile_index, true); 1103 SetNameOfProfileAtIndex(profile_index, ChooseNameForNewProfile( 1104 GetAvatarIconIndexOfProfileAtIndex(profile_index)));
|
H A D | profile_shortcut_manager_unittest_win.cc | 238 const size_t profile_index = local 240 ASSERT_NE(std::string::npos, profile_index); 241 ASSERT_NE(profile_info_cache_->GetNameOfProfileAtIndex(profile_index), 243 profile_info_cache_->SetNameOfProfileAtIndex(profile_index,
|
H A D | profile_manager.cc | 1232 size_t profile_index = local 1234 if (profile_index != std::string::npos) 1235 cache.SetProfileActiveTimeAtIndex(profile_index);
|
H A D | profile_manager_unittest.cc | 549 size_t profile_index = cache.GetIndexOfProfileWithPath(dest_path); local 553 base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); 555 cache.GetAvatarIconIndexOfProfileAtIndex(profile_index));
|
/external/chromium_org/chrome/browser/supervised_user/ |
H A D | supervised_user_service_browsertest.cc | 96 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); local 98 base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); 124 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); local 126 base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); 134 profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); 136 base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); 142 profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); 144 base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index)));
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
H A D | manage_profile_handler.cc | 279 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); local 280 if (profile_index != std::string::npos) { 282 cache.GetGAIAPictureOfProfileAtIndex(profile_index); 422 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); local 423 if (profile_index == std::string::npos) 425 base::string16 gaia_name = cache.GetNameOfProfileAtIndex(profile_index); 446 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); local 447 if (profile_index == std::string::npos) 455 cache.GetPathOfProfileAtIndex(profile_index);
|
/external/chromium_org/chrome/browser/ui/webui/signin/ |
H A D | user_manager_screen_handler.cc | 130 const size_t profile_index = GetIndexOfProfileWithEmailAndName( local 133 ->GetProfileByPath(info_cache.GetPathOfProfileAtIndex(profile_index)); 281 const size_t profile_index = GetIndexOfProfileWithEmailAndName( local 283 DCHECK_LT(profile_index, info_cache.GetNumberOfProfiles()); 285 authenticating_profile_index_ = profile_index; 339 size_t profile_index = GetIndexOfProfileWithEmailAndName( local 341 if (profile_index >= info_cache.GetNumberOfProfiles()) { 346 authenticating_profile_index_ = profile_index; 347 if (!chrome::ValidateLocalAuthCredentials(profile_index, password)) { 423 size_t profile_index local [all...] |
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
H A D | ntp_login_handler.cc | 206 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); local 207 if (profile_index != std::string::npos) { 212 base::string16 name = cache.GetGAIANameOfProfileAtIndex(profile_index); 216 cache.GetGAIAPictureOfProfileAtIndex(profile_index);
|
/external/chromium_org/chrome/browser/ui/app_list/ |
H A D | app_list_service_impl.cc | 137 size_t profile_index = profile_info.GetIndexOfProfileWithPath(profile_path); variable 138 return profile_index != std::string::npos && 139 profile_info.ProfileIsSupervisedAtIndex(profile_index);
|
/external/chromium_org/chrome/browser/chromeos/profiles/ |
H A D | profile_list_chromeos.cc | 87 if (items_[i]->profile_index == index) {
|
/external/chromium_org/chrome/browser/background/ |
H A D | background_mode_manager.cc | 387 size_t profile_index = profile_cache_->GetIndexOfProfileWithPath( 389 if (profile_index != std::string::npos) { 391 profile_index, GetBackgroundAppCountForProfile(profile) != 0);
|
/external/chromium_org/chrome/browser/ui/startup/ |
H A D | startup_browser_creator.cc | 627 size_t profile_index = profile_info.GetIndexOfProfileWithPath( local 629 bool signin_required = profile_index != std::string::npos && 630 profile_info.ProfileIsSigninRequiredAtIndex(profile_index);
|
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/ |
H A D | builtin_function.cpp | 14444 _mesa_read_profile(struct _mesa_glsl_parse_state *state, int profile_index, const char *prototypes, const char **functions, int count) argument [all...] |
/external/chromium_org/chrome/browser/sessions/ |
H A D | session_service_unittest.cc | 428 size_t profile_index = profile_info.GetIndexOfProfileWithPath( local 430 ASSERT_NE(std::string::npos, profile_index); 431 profile_info.SetProfileSigninRequiredAtIndex(profile_index, true);
|
/external/chromium_org/chrome/browser/ |
H A D | chrome_browser_main.cc | 363 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_path); local 365 if (cache.ProfileIsSigninRequiredAtIndex(profile_index))
|
/external/chromium_org/components/autofill/core/browser/ |
H A D | autofill_profile.cc | 764 size_t profile_index = it->second.front(); local 765 (*labels)[profile_index] = label;
|