Searched defs:profile_index (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/chrome/browser/managed_mode/
H A Dmanaged_user_service_browsertest.cc48 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); local
50 UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index)));
76 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); local
77 EXPECT_EQ(name, UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index)));
85 profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath());
87 UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index)));
93 profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath());
95 UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index)));
/external/chromium_org/chrome/browser/profiles/
H A Davatar_menu.h38 Item(size_t menu_index, size_t profile_index, const gfx::Image& icon);
69 size_t profile_index; member in struct:AvatarMenu::Item
H A Dprofiles_state.cc86 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); local
89 cache.GetGAIAGivenNameOfProfileAtIndex(profile_index)) ||
90 (new_profile_name == cache.GetGAIANameOfProfileAtIndex(profile_index))) {
94 cache.SetIsUsingGAIANameOfProfileAtIndex(profile_index, true);
102 profile_index = cache.GetIndexOfProfileWithPath(profile_file_path);
103 if (profile_index == std::string::npos)
106 cache.SetIsUsingGAIANameOfProfileAtIndex(profile_index, false);
H A Dgaia_info_update_service.cc117 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); local
118 if (profile_index == std::string::npos)
121 cache.SetGAIANameOfProfileAtIndex(profile_index, full_name);
122 cache.SetGAIAGivenNameOfProfileAtIndex(profile_index, given_name);
125 profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath());
126 if (profile_index == std::string::npos)
132 cache.SetGAIAPictureOfProfileAtIndex(profile_index, &gfx_image);
134 cache.SetGAIAPictureOfProfileAtIndex(profile_index, NULL);
140 if (!cache.GetHasMigratedToGAIAInfoOfProfileAtIndex(profile_index)) {
141 cache.SetHasMigratedToGAIAInfoOfProfileAtIndex(profile_index, tru
168 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); local
[all...]
H A Davatar_menu.cc71 size_t profile_index,
78 profile_index(profile_index) {
131 profile_info_->GetPathOfProfileAtIndex(item.profile_index);
148 size_t profile_index = profile_list_->GetItemAt(index).profile_index; local
151 profile_info_->GetPathOfProfileAtIndex(profile_index));
153 menu_actions_->EditProfile(profile, profile_index);
70 Item(size_t menu_index, size_t profile_index, const gfx::Image& icon) argument
H A Dprofile_manager_unittest.cc399 size_t profile_index = cache.GetIndexOfProfileWithPath(dest_path); local
403 UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index)));
405 cache.GetAvatarIconIndexOfProfileAtIndex(profile_index));
H A Dprofile_shortcut_manager_unittest_win.cc238 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 Dprofile_shortcut_manager_win.cc723 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_path); local
724 DCHECK_LT(profile_index, cache.GetNumberOfProfiles());
729 shortcut_profile_name = cache.GetNameOfProfileAtIndex(profile_index);
805 size_t profile_index = cache->GetIndexOfProfileWithPath(profile_path); local
806 if (profile_index == std::string::npos)
811 cache->GetShortcutNameOfProfileAtIndex(profile_index);
823 params.profile_name = cache->GetNameOfProfileAtIndex(profile_index);
826 cache->GetAvatarIconIndexOfProfileAtIndex(profile_index);
839 cache->SetShortcutNameOfProfileAtIndex(profile_index,
H A Dprofile_info_cache.cc246 size_t profile_index = GetIndexOfProfileWithPath(profile_path); local
247 if (profile_index == std::string::npos) {
251 base::string16 name = GetNameOfProfileAtIndex(profile_index);
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dsearch_engines_helper.cc118 TemplateURLService* GetServiceForBrowserContext(int profile_index) { argument
120 test()->GetProfile(profile_index));
127 bool ServiceMatchesVerifier(int profile_index) { argument
129 TemplateURLService* other = GetServiceForBrowserContext(profile_index);
209 void AddSearchEngine(int profile_index, int seed) { argument
210 Profile* profile = test()->GetProfile(profile_index);
217 void EditSearchEngine(int profile_index, argument
223 TemplateURLService* service = GetServiceForBrowserContext(profile_index);
238 void DeleteSearchEngineBySeed(int profile_index, int seed) { argument
239 TemplateURLService* service = GetServiceForBrowserContext(profile_index);
253 ChangeDefaultSearchProvider(int profile_index, int seed) argument
[all...]
/external/chromium_org/chrome/browser/ui/app_list/
H A Dapp_list_service_impl.cc132 size_t profile_index = profile_info.GetIndexOfProfileWithPath(profile_path); variable
133 return profile_info.ProfileIsManagedAtIndex(profile_index);
/external/chromium_org/chrome/browser/ui/gtk/
H A Davatar_menu_bubble_gtk.cc89 void AvatarMenuBubbleGtk::OpenProfile(size_t profile_index) { argument
95 avatar_menu_->SwitchToProfile(profile_index,
100 void AvatarMenuBubbleGtk::EditProfile(size_t profile_index) { argument
103 avatar_menu_->EditProfile(profile_index);
/external/chromium_org/chrome/browser/ui/webui/ntp/
H A Dntp_login_handler.cc209 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); local
210 if (profile_index != std::string::npos) {
215 base::string16 name = cache.GetGAIANameOfProfileAtIndex(profile_index);
219 cache.GetGAIAPictureOfProfileAtIndex(profile_index);
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dmanage_profile_handler.cc231 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); local
232 if (profile_index != std::string::npos) {
234 cache.GetGAIAPictureOfProfileAtIndex(profile_index);
274 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); local
275 if (profile_index == std::string::npos)
289 cache.IsUsingGAIAPictureOfProfileAtIndex(profile_index);
293 cache.SetIsUsingGAIAPictureOfProfileAtIndex(profile_index, true);
306 cache.SetIsUsingGAIAPictureOfProfileAtIndex(profile_index, false);
365 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); local
366 if (profile_index
387 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); local
[all...]
/external/chromium_org/chrome/browser/ui/webui/signin/
H A Duser_manager_screen_handler.cc207 size_t profile_index = GetIndexOfProfileWithEmailAndName( local
209 if (profile_index >= info_cache.GetNumberOfProfiles()) {
213 if (!chrome::ValidateLocalAuthCredentials(profile_index, password)) {
224 info_cache.SetProfileSigninRequiredAtIndex(profile_index, false);
225 base::FilePath path = info_cache.GetPathOfProfileAtIndex(profile_index);
270 size_t profile_index = GetIndexOfProfileWithEmailAndName( local
273 if (profile_index >= info_cache.GetNumberOfProfiles()) {
283 if (info_cache.ProfileIsSigninRequiredAtIndex(profile_index))
286 base::FilePath path = info_cache.GetPathOfProfileAtIndex(profile_index);
/external/chromium/chrome/browser/autofill/
H A Dautofill_profile.cc368 size_t profile_index = it->second.front(); local
369 (*created_labels)[profile_index] = label;
/external/chromium_org/chrome/browser/
H A Dchrome_browser_main.cc364 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_path); local
366 if (cache.ProfileIsSigninRequiredAtIndex(profile_index))
/external/chromium_org/components/autofill/core/browser/
H A Dautofill_profile.cc603 size_t profile_index = it->second.front(); local
604 (*labels)[profile_index] = label;
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
H A Dbuiltin_function.cpp14444 _mesa_read_profile(struct _mesa_glsl_parse_state *state, int profile_index, const char *prototypes, const char **functions, int count) argument
[all...]

Completed in 694 milliseconds