/external/chromium_org/chrome/browser/profiles/ |
D | profile_manager_browsertest.cc | 143 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 …]
|
D | profile_info_cache_unittest.cc | 126 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 …]
|
D | profile_manager_unittest.cc | 145 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 …]
|
D | profile_shortcut_manager_win.cc | 715 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()
|
D | profile_info_interface.h | 24 virtual size_t GetNumberOfProfiles() const = 0;
|
D | profile_list_desktop.cc | 40 const size_t count = profile_info_->GetNumberOfProfiles(); in RebuildMenu()
|
D | profile_metrics.cc | 49 size_t number_of_profiles = info_cache.GetNumberOfProfiles(); in LogLockedProfileInformation() 121 size_t number_of_profiles = info_cache.GetNumberOfProfiles(); in CountProfileInformation()
|
D | profile_info_cache.cc | 262 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()
|
D | profile_list_desktop_browsertest.cc | 121 ASSERT_EQ(cache.GetNumberOfProfiles(), 2U); in IN_PROC_BROWSER_TEST_F()
|
D | profiles_state.cc | 78 if (cache.GetNumberOfProfiles() == 1 && is_default_name) in GetAvatarNameForProfile()
|
D | avatar_menu.cc | 117 g_browser_process->profile_manager()->GetNumberOfProfiles() > 1); in ShouldShowAvatarMenu()
|
D | profile_manager.h | 80 size_t GetNumberOfProfiles();
|
/external/chromium_org/chrome/browser/ui/views/profiles/ |
D | avatar_menu_button_browsertest.cc | 43 EXPECT_EQ(1u, profile_manager->GetNumberOfProfiles()); in CreateTestingProfile() 53 EXPECT_EQ(2u, profile_manager->GetNumberOfProfiles()); in CreateTestingProfile()
|
D | new_avatar_menu_button_browsertest.cc | 59 EXPECT_EQ(1u, profile_manager->GetNumberOfProfiles()); in CreateTestingProfile() 73 EXPECT_EQ(2u, profile_manager->GetNumberOfProfiles()); in CreateTestingProfile()
|
D | new_avatar_button.cc | 177 cache.GetNumberOfProfiles() == 1 && in UpdateAvatarButtonAndRelayoutParent()
|
/external/chromium_org/chrome/browser/ui/webui/signin/ |
D | user_manager_ui_browsertest.cc | 62 EXPECT_EQ(num_pods, static_cast<int>(profile_manager->GetNumberOfProfiles())); in IN_PROC_BROWSER_TEST_F()
|
D | user_manager_screen_handler.cc | 115 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/ |
D | app_list_service_interactive_uitest.cc | 237 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()
|
D | app_list_controller_delegate_impl.cc | 127 return g_browser_process->profile_manager()->GetNumberOfProfiles() > 1; in ShouldShowUserIcon()
|
/external/chromium_org/chrome/browser/signin/ |
D | local_auth_unittest.cc | 28 EXPECT_EQ(1U, cache.GetNumberOfProfiles()); in TEST()
|
D | signin_names_io_thread.cc | 27 for (size_t i = 0; i < cache.GetNumberOfProfiles(); ++i) { in SigninNamesOnIOThread()
|
/external/chromium_org/chrome/browser/ui/ |
D | browser_command_controller_unittest.cc | 197 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/ |
D | webrtc_log_util.cc | 109 size_t profiles_count = profile_cache.GetNumberOfProfiles(); in DeleteOldWebRtcLogFilesForAllProfiles()
|
/external/chromium_org/chrome/browser/ |
D | app_controller_mac_unittest.mm | 58 ASSERT_EQ(2U, manager.profile_manager()->GetNumberOfProfiles());
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | manage_profile_handler.cc | 307 for (size_t i = 0, e = cache.GetNumberOfProfiles(); i < e; ++i) { in SendExistingProfileNames() 451 if (cache.GetNumberOfProfiles() <= 1) in RequestHasProfileShortcuts()
|