profile_index 400 chrome/browser/background/background_mode_manager.cc size_t profile_index = profile_cache_->GetIndexOfProfileWithPath( profile_index 402 chrome/browser/background/background_mode_manager.cc if (profile_index != std::string::npos) { profile_index 404 chrome/browser/background/background_mode_manager.cc profile_index, GetBackgroundAppCountForProfile(profile) != 0); profile_index 350 chrome/browser/chrome_browser_main.cc size_t profile_index = cache.GetIndexOfProfileWithPath(profile_path); profile_index 352 chrome/browser/chrome_browser_main.cc if (cache.ProfileIsSigninRequiredAtIndex(profile_index)) profile_index 85 chrome/browser/chromeos/profiles/profile_list_chromeos.cc if (items_[i]->profile_index == index) { profile_index 95 chrome/browser/managed_mode/managed_user_service_browsertest.cc size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); profile_index 97 chrome/browser/managed_mode/managed_user_service_browsertest.cc base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); profile_index 123 chrome/browser/managed_mode/managed_user_service_browsertest.cc size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); profile_index 125 chrome/browser/managed_mode/managed_user_service_browsertest.cc base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); profile_index 133 chrome/browser/managed_mode/managed_user_service_browsertest.cc profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); profile_index 135 chrome/browser/managed_mode/managed_user_service_browsertest.cc base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); profile_index 141 chrome/browser/managed_mode/managed_user_service_browsertest.cc profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); profile_index 143 chrome/browser/managed_mode/managed_user_service_browsertest.cc base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); profile_index 72 chrome/browser/profiles/avatar_menu.cc size_t profile_index, profile_index 79 chrome/browser/profiles/avatar_menu.cc profile_index(profile_index) { profile_index 131 chrome/browser/profiles/avatar_menu.cc profile_info_->GetPathOfProfileAtIndex(item.profile_index); profile_index 148 chrome/browser/profiles/avatar_menu.cc size_t profile_index = profile_list_->GetItemAt(index).profile_index; profile_index 151 chrome/browser/profiles/avatar_menu.cc profile_info_->GetPathOfProfileAtIndex(profile_index)); profile_index 153 chrome/browser/profiles/avatar_menu.cc menu_actions_->EditProfile(profile, profile_index); profile_index 38 chrome/browser/profiles/avatar_menu.h Item(size_t menu_index, size_t profile_index, const gfx::Image& icon); profile_index 69 chrome/browser/profiles/avatar_menu.h size_t profile_index; profile_index 116 chrome/browser/profiles/gaia_info_update_service.cc size_t profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); profile_index 117 chrome/browser/profiles/gaia_info_update_service.cc if (profile_index == std::string::npos) profile_index 120 chrome/browser/profiles/gaia_info_update_service.cc cache.SetGAIANameOfProfileAtIndex(profile_index, full_name); profile_index 121 chrome/browser/profiles/gaia_info_update_service.cc cache.SetGAIAGivenNameOfProfileAtIndex(profile_index, given_name); profile_index 124 chrome/browser/profiles/gaia_info_update_service.cc profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); profile_index 125 chrome/browser/profiles/gaia_info_update_service.cc if (profile_index == std::string::npos) profile_index 131 chrome/browser/profiles/gaia_info_update_service.cc cache.SetGAIAPictureOfProfileAtIndex(profile_index, &gfx_image); profile_index 133 chrome/browser/profiles/gaia_info_update_service.cc cache.SetGAIAPictureOfProfileAtIndex(profile_index, NULL); profile_index 140 chrome/browser/profiles/gaia_info_update_service.cc profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); profile_index 141 chrome/browser/profiles/gaia_info_update_service.cc cache.SetIsUsingGAIAPictureOfProfileAtIndex(profile_index, true); profile_index 159 chrome/browser/profiles/gaia_info_update_service.cc size_t profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); profile_index 160 chrome/browser/profiles/gaia_info_update_service.cc if (profile_index == std::string::npos) profile_index 165 chrome/browser/profiles/gaia_info_update_service.cc cache.SetGAIANameOfProfileAtIndex(profile_index, base::string16()); profile_index 167 chrome/browser/profiles/gaia_info_update_service.cc profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); profile_index 168 chrome/browser/profiles/gaia_info_update_service.cc if (profile_index == std::string::npos) profile_index 170 chrome/browser/profiles/gaia_info_update_service.cc cache.SetGAIAPictureOfProfileAtIndex(profile_index, NULL); profile_index 310 chrome/browser/profiles/profile_info_cache.cc size_t profile_index = GetIndexOfProfileWithPath(profile_path); profile_index 311 chrome/browser/profiles/profile_info_cache.cc if (profile_index == std::string::npos) { profile_index 315 chrome/browser/profiles/profile_info_cache.cc base::string16 name = GetNameOfProfileAtIndex(profile_index); profile_index 91 chrome/browser/profiles/profile_list_desktop.cc if (item.profile_index == index) profile_index 125 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_EQ(0u, item1.profile_index); profile_index 130 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_EQ(1u, item2.profile_index); profile_index 135 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_EQ(2u, item3.profile_index); profile_index 140 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_EQ(3u, item4.profile_index); profile_index 167 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_EQ(1u, item1.profile_index); profile_index 172 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_EQ(3u, item2.profile_index); profile_index 177 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_EQ(4u, item3.profile_index); profile_index 182 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_EQ(6u, item4.profile_index); profile_index 1239 chrome/browser/profiles/profile_manager.cc size_t profile_index = profile_index 1241 chrome/browser/profiles/profile_manager.cc if (profile_index != std::string::npos) profile_index 1242 chrome/browser/profiles/profile_manager.cc cache.SetProfileActiveTimeAtIndex(profile_index); profile_index 538 chrome/browser/profiles/profile_manager_unittest.cc size_t profile_index = cache.GetIndexOfProfileWithPath(dest_path); profile_index 542 chrome/browser/profiles/profile_manager_unittest.cc base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); profile_index 544 chrome/browser/profiles/profile_manager_unittest.cc cache.GetAvatarIconIndexOfProfileAtIndex(profile_index)); profile_index 238 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const size_t profile_index = profile_index 240 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_NE(std::string::npos, profile_index); profile_index 241 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_NE(profile_info_cache_->GetNameOfProfileAtIndex(profile_index), profile_index 243 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc profile_info_cache_->SetNameOfProfileAtIndex(profile_index, profile_index 721 chrome/browser/profiles/profile_shortcut_manager_win.cc size_t profile_index = cache.GetIndexOfProfileWithPath(profile_path); profile_index 722 chrome/browser/profiles/profile_shortcut_manager_win.cc DCHECK_LT(profile_index, cache.GetNumberOfProfiles()); profile_index 727 chrome/browser/profiles/profile_shortcut_manager_win.cc shortcut_profile_name = cache.GetNameOfProfileAtIndex(profile_index); profile_index 803 chrome/browser/profiles/profile_shortcut_manager_win.cc size_t profile_index = cache->GetIndexOfProfileWithPath(profile_path); profile_index 804 chrome/browser/profiles/profile_shortcut_manager_win.cc if (profile_index == std::string::npos) profile_index 809 chrome/browser/profiles/profile_shortcut_manager_win.cc cache->GetShortcutNameOfProfileAtIndex(profile_index); profile_index 821 chrome/browser/profiles/profile_shortcut_manager_win.cc params.profile_name = cache->GetNameOfProfileAtIndex(profile_index); profile_index 824 chrome/browser/profiles/profile_shortcut_manager_win.cc cache->GetAvatarIconIndexOfProfileAtIndex(profile_index); profile_index 837 chrome/browser/profiles/profile_shortcut_manager_win.cc cache->SetShortcutNameOfProfileAtIndex(profile_index, profile_index 348 chrome/browser/sessions/session_service.cc size_t profile_index = profile_info.GetIndexOfProfileWithPath( profile_index 350 chrome/browser/sessions/session_service.cc use_pending_close = profile_index != std::string::npos && profile_index 351 chrome/browser/sessions/session_service.cc profile_info.ProfileIsSigninRequiredAtIndex(profile_index); profile_index 428 chrome/browser/sessions/session_service_unittest.cc size_t profile_index = profile_info.GetIndexOfProfileWithPath( profile_index 430 chrome/browser/sessions/session_service_unittest.cc ASSERT_NE(std::string::npos, profile_index); profile_index 431 chrome/browser/sessions/session_service_unittest.cc profile_info.SetProfileSigninRequiredAtIndex(profile_index, true); profile_index 119 chrome/browser/sync/test/integration/search_engines_helper.cc TemplateURLService* GetServiceForBrowserContext(int profile_index) { profile_index 121 chrome/browser/sync/test/integration/search_engines_helper.cc test()->GetProfile(profile_index)); profile_index 128 chrome/browser/sync/test/integration/search_engines_helper.cc bool ServiceMatchesVerifier(int profile_index) { profile_index 130 chrome/browser/sync/test/integration/search_engines_helper.cc TemplateURLService* other = GetServiceForBrowserContext(profile_index); profile_index 210 chrome/browser/sync/test/integration/search_engines_helper.cc void AddSearchEngine(int profile_index, int seed) { profile_index 211 chrome/browser/sync/test/integration/search_engines_helper.cc Profile* profile = test()->GetProfile(profile_index); profile_index 218 chrome/browser/sync/test/integration/search_engines_helper.cc void EditSearchEngine(int profile_index, profile_index 224 chrome/browser/sync/test/integration/search_engines_helper.cc TemplateURLService* service = GetServiceForBrowserContext(profile_index); profile_index 239 chrome/browser/sync/test/integration/search_engines_helper.cc void DeleteSearchEngineBySeed(int profile_index, int seed) { profile_index 240 chrome/browser/sync/test/integration/search_engines_helper.cc TemplateURLService* service = GetServiceForBrowserContext(profile_index); profile_index 254 chrome/browser/sync/test/integration/search_engines_helper.cc void ChangeDefaultSearchProvider(int profile_index, int seed) { profile_index 255 chrome/browser/sync/test/integration/search_engines_helper.cc TemplateURLService* service = GetServiceForBrowserContext(profile_index); profile_index 22 chrome/browser/sync/test/integration/search_engines_helper.h TemplateURLService* GetServiceForBrowserContext(int profile_index); profile_index 29 chrome/browser/sync/test/integration/search_engines_helper.h bool ServiceMatchesVerifier(int profile_index); profile_index 48 chrome/browser/sync/test/integration/search_engines_helper.h void AddSearchEngine(int profile_index, int seed); profile_index 53 chrome/browser/sync/test/integration/search_engines_helper.h void EditSearchEngine(int profile_index, profile_index 61 chrome/browser/sync/test/integration/search_engines_helper.h void DeleteSearchEngineBySeed(int profile_index, int seed); profile_index 66 chrome/browser/sync/test/integration/search_engines_helper.h void ChangeDefaultSearchProvider(int profile_index, int seed); profile_index 138 chrome/browser/ui/app_list/app_list_service_impl.cc size_t profile_index = profile_info.GetIndexOfProfileWithPath(profile_path); profile_index 139 chrome/browser/ui/app_list/app_list_service_impl.cc return profile_info.ProfileIsManagedAtIndex(profile_index); profile_index 89 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc void AvatarMenuBubbleGtk::OpenProfile(size_t profile_index) { profile_index 95 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc avatar_menu_->SwitchToProfile(profile_index, profile_index 101 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc void AvatarMenuBubbleGtk::EditProfile(size_t profile_index) { profile_index 104 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc avatar_menu_->EditProfile(profile_index); profile_index 44 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.h virtual void OpenProfile(size_t profile_index) OVERRIDE; profile_index 45 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.h virtual void EditProfile(size_t profile_index) OVERRIDE; profile_index 28 chrome/browser/ui/gtk/avatar_menu_item_gtk.h virtual void OpenProfile(size_t profile_index) = 0; profile_index 31 chrome/browser/ui/gtk/avatar_menu_item_gtk.h virtual void EditProfile(size_t profile_index) = 0; profile_index 629 chrome/browser/ui/startup/startup_browser_creator.cc size_t profile_index = profile_info.GetIndexOfProfileWithPath( profile_index 631 chrome/browser/ui/startup/startup_browser_creator.cc bool signin_required = profile_index != std::string::npos && profile_index 632 chrome/browser/ui/startup/startup_browser_creator.cc profile_info.ProfileIsSigninRequiredAtIndex(profile_index); profile_index 209 chrome/browser/ui/webui/ntp/ntp_login_handler.cc size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); profile_index 210 chrome/browser/ui/webui/ntp/ntp_login_handler.cc if (profile_index != std::string::npos) { profile_index 215 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::string16 name = cache.GetGAIANameOfProfileAtIndex(profile_index); profile_index 219 chrome/browser/ui/webui/ntp/ntp_login_handler.cc cache.GetGAIAPictureOfProfileAtIndex(profile_index); profile_index 251 chrome/browser/ui/webui/options/manage_profile_handler.cc size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); profile_index 252 chrome/browser/ui/webui/options/manage_profile_handler.cc if (profile_index != std::string::npos) { profile_index 254 chrome/browser/ui/webui/options/manage_profile_handler.cc cache.GetGAIAPictureOfProfileAtIndex(profile_index); profile_index 297 chrome/browser/ui/webui/options/manage_profile_handler.cc size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); profile_index 298 chrome/browser/ui/webui/options/manage_profile_handler.cc if (profile_index == std::string::npos) profile_index 312 chrome/browser/ui/webui/options/manage_profile_handler.cc cache.IsUsingGAIAPictureOfProfileAtIndex(profile_index); profile_index 316 chrome/browser/ui/webui/options/manage_profile_handler.cc cache.SetIsUsingGAIAPictureOfProfileAtIndex(profile_index, true); profile_index 329 chrome/browser/ui/webui/options/manage_profile_handler.cc cache.SetIsUsingGAIAPictureOfProfileAtIndex(profile_index, false); profile_index 388 chrome/browser/ui/webui/options/manage_profile_handler.cc size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); profile_index 389 chrome/browser/ui/webui/options/manage_profile_handler.cc if (profile_index == std::string::npos) profile_index 391 chrome/browser/ui/webui/options/manage_profile_handler.cc base::string16 gaia_name = cache.GetNameOfProfileAtIndex(profile_index); profile_index 412 chrome/browser/ui/webui/options/manage_profile_handler.cc size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); profile_index 413 chrome/browser/ui/webui/options/manage_profile_handler.cc if (profile_index == std::string::npos) profile_index 417 chrome/browser/ui/webui/options/manage_profile_handler.cc cache.GetPathOfProfileAtIndex(profile_index); profile_index 230 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc size_t profile_index = GetIndexOfProfileWithEmailAndName( profile_index 232 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc if (profile_index >= info_cache.GetNumberOfProfiles()) { profile_index 237 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc authenticating_profile_index_ = profile_index; profile_index 238 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc if (!chrome::ValidateLocalAuthCredentials(profile_index, password)) { profile_index 304 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc size_t profile_index = GetIndexOfProfileWithEmailAndName( profile_index 307 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc if (profile_index >= info_cache.GetNumberOfProfiles()) { profile_index 317 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc if (info_cache.ProfileIsSigninRequiredAtIndex(profile_index)) profile_index 321 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::FilePath path = info_cache.GetPathOfProfileAtIndex(profile_index); profile_index 606 components/autofill/core/browser/autofill_profile.cc size_t profile_index = it->second.front(); profile_index 607 components/autofill/core/browser/autofill_profile.cc (*labels)[profile_index] = label;