Home
last modified time | relevance | path

Searched refs:GetIndexOfProfileWithPath (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium_org/chrome/browser/profiles/
Dgaia_info_update_service_unittest.cc84 size_t index = GetCache()->GetIndexOfProfileWithPath(profile->GetPath()); in CreateProfile()
127 size_t index = GetCache()->GetIndexOfProfileWithPath(profile()->GetPath()); in RenameProfile()
167 size_t index = GetCache()->GetIndexOfProfileWithPath(profile()->GetPath()); in TEST_F()
176 size_t index = GetCache()->GetIndexOfProfileWithPath(profile()->GetPath()); in TEST_F()
197 size_t index = GetCache()->GetIndexOfProfileWithPath(profile()->GetPath()); in TEST_F()
206 GetCache()->GetIndexOfProfileWithPath(profile()->GetPath()); in TEST_F()
212 GetCache()->GetIndexOfProfileWithPath(profile()->GetPath())); in TEST_F()
217 GetCache()->GetIndexOfProfileWithPath(profile()->GetPath())); in TEST_F()
225 GetCache()->GetIndexOfProfileWithPath(profile()->GetPath())); in TEST_F()
233 GetCache()->GetIndexOfProfileWithPath(profile()->GetPath())); in TEST_F()
Dprofile_info_cache_unittest.cc51 GetCache()->GetIndexOfProfileWithPath(profile_path)); in OnProfileAdded()
59 GetCache()->GetIndexOfProfileWithPath(profile_path)); in OnProfileWillBeRemoved()
74 GetCache()->GetIndexOfProfileWithPath(profile_path)); in OnProfileNameChanged()
84 GetCache()->GetIndexOfProfileWithPath(profile_path)); in OnProfileAvatarChanged()
165 EXPECT_EQ(i, GetCache()->GetIndexOfProfileWithPath(profile_path)); in TEST_F()
316 int index1 = GetCache()->GetIndexOfProfileWithPath(GetProfilePath("path_1")); in TEST_F()
317 int index2 = GetCache()->GetIndexOfProfileWithPath(GetProfilePath("path_2")); in TEST_F()
326 index1 = GetCache()->GetIndexOfProfileWithPath(GetProfilePath("path_1")); in TEST_F()
327 index2 = GetCache()->GetIndexOfProfileWithPath(GetProfilePath("path_2")); in TEST_F()
339 index1 = GetCache()->GetIndexOfProfileWithPath(GetProfilePath("path_1")); in TEST_F()
[all …]
Dgaia_info_update_service.cc116 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); in OnProfileDownloadSuccess()
122 profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); in OnProfileDownloadSuccess()
127 profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); in OnProfileDownloadSuccess()
155 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); in OnUsernameChanged()
164 profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); in OnUsernameChanged()
Dprofile_list_desktop_browsertest.cc64 size_t index = cache.GetIndexOfProfileWithPath(current_profile->GetPath()); in IN_PROC_BROWSER_TEST_F()
131 menu->SwitchToProfile(cache.GetIndexOfProfileWithPath(path_profile1), in IN_PROC_BROWSER_TEST_F()
137 menu->SwitchToProfile(cache.GetIndexOfProfileWithPath(path_profile2), in IN_PROC_BROWSER_TEST_F()
142 menu->SwitchToProfile(cache.GetIndexOfProfileWithPath(path_profile1), in IN_PROC_BROWSER_TEST_F()
Dprofiles_state.cc62 size_t index = cache.GetIndexOfProfileWithPath(profile_path); in GetAvatarNameForProfile()
103 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in UpdateProfileName()
168 size_t index = cache.GetIndexOfProfileWithPath(active_profile->GetPath()); in SetActiveProfileToGuestIfLocked()
Davatar_menu_desktop.cc20 size_t index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in GetImageForMenuButton()
Dprofile_info_interface.h26 virtual size_t GetIndexOfProfileWithPath(
Dprofile_shortcut_manager_unittest_win.cc239 profile_info_cache_->GetIndexOfProfileWithPath(profile_2_path_); in RenameProfile()
714 profile_info_cache_->GetIndexOfProfileWithPath(profile_3_path_), 3); in TEST_F()
720 profile_info_cache_->GetIndexOfProfileWithPath(profile_3_path_), in TEST_F()
729 profile_info_cache_->GetIndexOfProfileWithPath(profile_2_path_), in TEST_F()
841 profile_info_cache_->GetIndexOfProfileWithPath(profile_1_path_); in TEST_F()
Dprofile_window.cc161 size_t index = cache.GetIndexOfProfileWithPath(profile_path_to_focus); in OnUserManagerGuestProfileCreated()
297 cache->GetIndexOfProfileWithPath(profile_path), true); in LockBrowserCloseSuccess()
Dprofile_manager_unittest.cc375 size_t supervised_index = cache.GetIndexOfProfileWithPath(supervised_path); in TEST_F()
378 cache.GetIndexOfProfileWithPath(nonsupervised_path); in TEST_F()
549 size_t profile_index = cache.GetIndexOfProfileWithPath(dest_path); in TEST_F()
1160 int index = cache.GetIndexOfProfileWithPath(profile1->GetPath()); in TEST_F()
1166 index = cache.GetIndexOfProfileWithPath(profile2->GetPath()); in TEST_F()
1171 index = cache.GetIndexOfProfileWithPath(profile3->GetPath()); in TEST_F()
1188 cache.GetIndexOfProfileWithPath(profile1->GetPath()), gaia_given_name); in TEST_F()
Dprofile_manager.cc758 cache.GetIndexOfProfileWithPath(profile->GetPath()); in InitProfileUserPrefs()
1116 cache.GetIndexOfProfileWithPath(profile_dir)).empty(); in FinishDeletingProfile()
1155 if (cache.GetIndexOfProfileWithPath(profile->GetPath()) != std::string::npos) in AddProfileToCache()
1180 cache.GetIndexOfProfileWithPath(profile->GetPath()), true); in AddProfileToCache()
1233 cache.GetIndexOfProfileWithPath(last_active->GetPath()); in UpdateLastUser()
Dprofile_impl.cc1338 size_t index = cache.GetIndexOfProfileWithPath(GetPath()); in UpdateProfileUserNameCache()
1350 size_t index = cache.GetIndexOfProfileWithPath(GetPath()); in UpdateProfileSupervisedUserIdCache()
1362 size_t index = cache.GetIndexOfProfileWithPath(GetPath()); in UpdateProfileNameCache()
1376 size_t index = cache.GetIndexOfProfileWithPath(GetPath()); in UpdateProfileAvatarCache()
1393 size_t index = cache.GetIndexOfProfileWithPath(GetPath()); in UpdateProfileIsEphemeralCache()
Dprofile_shortcut_manager_win.cc714 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_path); in GetShortcutProperties()
782 size_t current_profile_index = cache.GetIndexOfProfileWithPath(profile_path); in GetOtherProfilePath()
796 size_t profile_index = cache->GetIndexOfProfileWithPath(profile_path); in CreateOrUpdateShortcutsForProfileAtPath()
Davatar_menu.cc196 profile_info_->GetIndexOfProfileWithPath(active_profile->GetPath()); in GetActiveProfileIndex()
Dprofile_info_cache.h58 virtual size_t GetIndexOfProfileWithPath(
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_service_browsertest.cc56 size_t index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in IN_PROC_BROWSER_TEST_F()
96 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in IN_PROC_BROWSER_TEST_F()
124 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in IN_PROC_BROWSER_TEST_F()
134 profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in IN_PROC_BROWSER_TEST_F()
142 profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/background/
Dbackground_mode_manager.cc296 size_t index = profile_cache_->GetIndexOfProfileWithPath(profile->GetPath()); in RegisterProfile()
387 size_t profile_index = profile_cache_->GetIndexOfProfileWithPath( in OnApplicationListChanged()
431 cache.GetIndexOfProfileWithPath(profile_path)); in OnProfileAdded()
452 cache.GetIndexOfProfileWithPath(profile_path)); in OnProfileWillBeRemoved()
476 cache.GetIndexOfProfileWithPath(profile_path)); in OnProfileNameChanged()
501 if (cache.ProfileIsSigninRequiredAtIndex(cache.GetIndexOfProfileWithPath( in GetBackgroundModeDataForLastProfile()
/external/chromium_org/chrome/browser/android/profiles/
Dprofile_downloader_android.cc116 const size_t index = info.GetIndexOfProfileWithPath(profile->GetPath()); in GetCachedNameForPrimaryAccount()
132 const size_t index = info.GetIndexOfProfileWithPath(profile->GetPath()); in GetCachedAvatarForPrimaryAccount()
/external/chromium_org/chrome/browser/ui/webui/options/
Doptions_ui_browsertest.cc231 EXPECT_TRUE(profile_info_cache.GetIndexOfProfileWithPath(profile_dir) != in IN_PROC_BROWSER_TEST_F()
252 EXPECT_TRUE(profile_info_cache.GetIndexOfProfileWithPath(profile_dir) == in IN_PROC_BROWSER_TEST_F()
Dmanage_profile_handler.cc279 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in SendProfileIconsAndNames()
422 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); in ProfileIconSelectionChanged()
446 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); in RequestHasProfileShortcuts()
/external/chromium_org/chrome/browser/task_manager/
Dtask_manager_util.cc52 size_t index = cache.GetIndexOfProfileWithPath( in GetProfileNameFromInfoCache()
/external/chromium_org/chrome/browser/chromeos/profiles/
Dprofile_list_chromeos.cc53 size_t i = profile_info_->GetIndexOfProfileWithPath( in RebuildMenu()
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_non_client_frame_view.cc110 size_t index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in UpdateAvatarInfo()
/external/chromium_org/chrome/browser/signin/
Dlocal_auth.cc102 return info.GetIndexOfProfileWithPath(profile->GetPath()); in GetProfileInfoIndexOfProfile()
/external/chromium_org/chrome/test/base/
Dtesting_profile_manager.cc98 size_t index = cache.GetIndexOfProfileWithPath(profile_path); in CreateTestingProfile()

12