Home
last modified time | relevance | path

Searched refs:GetNumberOfProfiles (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium_org/chrome/browser/profiles/
Dprofile_manager_browsertest.cc143 ASSERT_EQ(cache.GetNumberOfProfiles(), 1U); in IN_PROC_BROWSER_TEST_F()
155 EXPECT_EQ(cache.GetNumberOfProfiles(), 1U); in IN_PROC_BROWSER_TEST_F()
188 ASSERT_EQ(cache.GetNumberOfProfiles(), 2U); in IN_PROC_BROWSER_TEST_F()
204 EXPECT_EQ(cache.GetNumberOfProfiles(), 1U); in IN_PROC_BROWSER_TEST_F()
247 ASSERT_EQ(profile_manager->GetNumberOfProfiles(), 1U); in IN_PROC_BROWSER_TEST_F()
259 EXPECT_EQ(profile_manager->GetNumberOfProfiles(), 2U); in IN_PROC_BROWSER_TEST_F()
286 ASSERT_EQ(profile_manager->GetNumberOfProfiles(), 1U); in IN_PROC_BROWSER_TEST_F()
303 ASSERT_EQ(cache.GetNumberOfProfiles(), 2U); in IN_PROC_BROWSER_TEST_F()
354 ASSERT_EQ(1U, profile_manager->GetNumberOfProfiles()); in IN_PROC_BROWSER_TEST_F()
370 ASSERT_EQ(2U, cache.GetNumberOfProfiles()); in IN_PROC_BROWSER_TEST_F()
[all …]
Dprofile_info_cache_unittest.cc126 EXPECT_EQ(0u, GetCache()->GetNumberOfProfiles()); in TEST_F()
145 EXPECT_EQ(i + 1, GetCache()->GetNumberOfProfiles()); in TEST_F()
161 EXPECT_EQ(4u, GetCache()->GetNumberOfProfiles()); in TEST_F()
177 EXPECT_EQ(0u, GetCache()->GetNumberOfProfiles()); in TEST_F()
182 EXPECT_EQ(1u, GetCache()->GetNumberOfProfiles()); in TEST_F()
188 EXPECT_EQ(2u, GetCache()->GetNumberOfProfiles()); in TEST_F()
191 EXPECT_EQ(1u, GetCache()->GetNumberOfProfiles()); in TEST_F()
195 EXPECT_EQ(0u, GetCache()->GetNumberOfProfiles()); in TEST_F()
490 for (size_t i = 0; i < GetCache()->GetNumberOfProfiles(); i++) { in TEST_F()
506 EXPECT_EQ(0u, GetCache()->GetNumberOfProfiles()); in TEST_F()
[all …]
Dprofile_manager_unittest.cc145 size_t num_profiles = cache.GetNumberOfProfiles(); in AddProfileToCache()
149 EXPECT_EQ(num_profiles + 1, cache.GetNumberOfProfiles()); in AddProfileToCache()
334 EXPECT_EQ(0u, cache.GetNumberOfProfiles()); in TEST_F()
339 EXPECT_EQ(1u, cache.GetNumberOfProfiles()); in TEST_F()
347 EXPECT_EQ(2u, cache.GetNumberOfProfiles()); in TEST_F()
355 EXPECT_EQ(0u, cache.GetNumberOfProfiles()); in TEST_F()
365 EXPECT_EQ(1u, cache.GetNumberOfProfiles()); in TEST_F()
374 EXPECT_EQ(2u, cache.GetNumberOfProfiles()); in TEST_F()
466 EXPECT_EQ(0u, cache.GetNumberOfProfiles()); in TEST_F()
478 EXPECT_EQ(3u, cache.GetNumberOfProfiles()); in TEST_F()
[all …]
Dprofile_shortcut_manager_win.cc715 DCHECK_LT(profile_index, cache.GetNumberOfProfiles()); in GetShortcutProperties()
719 if (cache.GetNumberOfProfiles() > 1) in GetShortcutProperties()
735 if (profile_manager_->GetProfileInfoCache().GetNumberOfProfiles() == 2) { in OnProfileAdded()
750 const bool deleting_down_to_last_profile = (cache.GetNumberOfProfiles() == 1); in OnProfileWasRemoved()
779 DCHECK_EQ(2U, cache.GetNumberOfProfiles()); in GetOtherProfilePath()
799 bool remove_badging = cache->GetNumberOfProfiles() == 1; in CreateOrUpdateShortcutsForProfileAtPath()
Dprofile_info_interface.h24 virtual size_t GetNumberOfProfiles() const = 0;
Dprofile_list_desktop.cc40 const size_t count = profile_info_->GetNumberOfProfiles(); in RebuildMenu()
Dprofile_metrics.cc49 size_t number_of_profiles = info_cache.GetNumberOfProfiles(); in LogLockedProfileInformation()
121 size_t number_of_profiles = info_cache.GetNumberOfProfiles(); in CountProfileInformation()
Dprofile_info_cache.cc262 size_t ProfileInfoCache::GetNumberOfProfiles() const { in GetNumberOfProfiles() function in ProfileInfoCache
781 for (size_t i = 0; i < GetNumberOfProfiles(); ++i) { in ChooseNameForNewProfile()
887 DCHECK_LT(index, GetNumberOfProfiles()); in GetInfoForProfileAtIndex()
924 for (size_t i = 0; i < GetNumberOfProfiles(); ++i) { in FindPositionForProfile()
939 for (size_t i = 0; i < GetNumberOfProfiles(); ++i) { in IconIndexIsUnique()
1087 for (size_t i = 0; i < GetNumberOfProfiles(); i++) { in MigrateLegacyProfileNamesAndDownloadAvatars()
Dprofile_list_desktop_browsertest.cc121 ASSERT_EQ(cache.GetNumberOfProfiles(), 2U); in IN_PROC_BROWSER_TEST_F()
Dprofiles_state.cc78 if (cache.GetNumberOfProfiles() == 1 && is_default_name) in GetAvatarNameForProfile()
Davatar_menu.cc117 g_browser_process->profile_manager()->GetNumberOfProfiles() > 1); in ShouldShowAvatarMenu()
Dprofile_manager.h80 size_t GetNumberOfProfiles();
/external/chromium_org/chrome/browser/ui/views/profiles/
Davatar_menu_button_browsertest.cc43 EXPECT_EQ(1u, profile_manager->GetNumberOfProfiles()); in CreateTestingProfile()
53 EXPECT_EQ(2u, profile_manager->GetNumberOfProfiles()); in CreateTestingProfile()
Dnew_avatar_menu_button_browsertest.cc59 EXPECT_EQ(1u, profile_manager->GetNumberOfProfiles()); in CreateTestingProfile()
73 EXPECT_EQ(2u, profile_manager->GetNumberOfProfiles()); in CreateTestingProfile()
Dnew_avatar_button.cc177 cache.GetNumberOfProfiles() == 1 && in UpdateAvatarButtonAndRelayoutParent()
/external/chromium_org/chrome/browser/ui/webui/signin/
Duser_manager_ui_browsertest.cc62 EXPECT_EQ(num_pods, static_cast<int>(profile_manager->GetNumberOfProfiles())); in IN_PROC_BROWSER_TEST_F()
Duser_manager_screen_handler.cc115 for (size_t i = 0; i < info_cache.GetNumberOfProfiles(); ++i) { in GetIndexOfProfileWithEmailAndName()
283 DCHECK_LT(profile_index, info_cache.GetNumberOfProfiles()); in Unlock()
341 if (profile_index >= info_cache.GetNumberOfProfiles()) { in HandleAuthenticatedLaunchUser()
426 if (profile_index >= info_cache.GetNumberOfProfiles()) { in HandleLaunchUser()
647 for (size_t i = 0; i < info_cache.GetNumberOfProfiles(); ++i) { in SendUserList()
/external/chromium_org/chrome/browser/ui/app_list/
Dapp_list_service_interactive_uitest.cc237 EXPECT_EQ(1u, profile_manager->GetNumberOfProfiles()); in IN_PROC_BROWSER_TEST_F()
244 EXPECT_EQ(2u, profile_manager->GetNumberOfProfiles()); in IN_PROC_BROWSER_TEST_F()
Dapp_list_controller_delegate_impl.cc127 return g_browser_process->profile_manager()->GetNumberOfProfiles() > 1; in ShouldShowUserIcon()
/external/chromium_org/chrome/browser/signin/
Dlocal_auth_unittest.cc28 EXPECT_EQ(1U, cache.GetNumberOfProfiles()); in TEST()
Dsignin_names_io_thread.cc27 for (size_t i = 0; i < cache.GetNumberOfProfiles(); ++i) { in SigninNamesOnIOThread()
/external/chromium_org/chrome/browser/ui/
Dbrowser_command_controller_unittest.cc197 ASSERT_EQ(1U, profile_manager->GetNumberOfProfiles()); in TEST_F()
201 ASSERT_EQ(2U, profile_manager->GetNumberOfProfiles()); in TEST_F()
205 ASSERT_EQ(1U, profile_manager->GetNumberOfProfiles()); in TEST_F()
227 ASSERT_EQ(1U, profile_manager->GetNumberOfProfiles()); in TEST_F()
/external/chromium_org/chrome/browser/media/
Dwebrtc_log_util.cc109 size_t profiles_count = profile_cache.GetNumberOfProfiles(); in DeleteOldWebRtcLogFilesForAllProfiles()
/external/chromium_org/chrome/browser/
Dapp_controller_mac_unittest.mm58 ASSERT_EQ(2U, manager.profile_manager()->GetNumberOfProfiles());
/external/chromium_org/chrome/browser/ui/webui/options/
Dmanage_profile_handler.cc307 for (size_t i = 0, e = cache.GetNumberOfProfiles(); i < e; ++i) { in SendExistingProfileNames()
451 if (cache.GetNumberOfProfiles() <= 1) in RequestHasProfileShortcuts()

12