GetNumberOfProfiles 739 chrome/browser/background/background_mode_manager.cc if (profile_cache_->GetNumberOfProfiles() > 1) { GetNumberOfProfiles 773 chrome/browser/background/background_mode_manager.cc DCHECK(profile_cache_->GetNumberOfProfiles() == size_t(1) || GetNumberOfProfiles 309 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_EQ(2u, cache->GetNumberOfProfiles()); GetNumberOfProfiles 343 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_EQ(2u, cache->GetNumberOfProfiles()); GetNumberOfProfiles 1054 chrome/browser/chrome_browser_main.cc size_t profiles_count = profile_cache.GetNumberOfProfiles(); GetNumberOfProfiles 109 chrome/browser/media/webrtc_log_util.cc size_t profiles_count = profile_cache.GetNumberOfProfiles(); GetNumberOfProfiles 497 chrome/browser/notifications/message_center_settings_controller.cc const size_t count = profile_info_cache_->GetNumberOfProfiles(); GetNumberOfProfiles 364 chrome/browser/prefs/chrome_pref_service_factory.cc const size_t n_profiles = profile_info_cache.GetNumberOfProfiles(); GetNumberOfProfiles 63 chrome/browser/prefs/pref_hash_browsertest.cc for (size_t i = 0; i < cache.GetNumberOfProfiles(); ++i) GetNumberOfProfiles 104 chrome/browser/profiles/avatar_menu.cc g_browser_process->profile_manager()->GetNumberOfProfiles() > 1); GetNumberOfProfiles 865 chrome/browser/profiles/profile_info_cache.cc for (size_t i = 0; i < GetNumberOfProfiles(); ++i) { GetNumberOfProfiles 877 chrome/browser/profiles/profile_info_cache.cc for (size_t i = 0; i < GetNumberOfProfiles(); ++i) { GetNumberOfProfiles 974 chrome/browser/profiles/profile_info_cache.cc DCHECK_LT(index, GetNumberOfProfiles()); GetNumberOfProfiles 1011 chrome/browser/profiles/profile_info_cache.cc for (size_t i = 0; i < GetNumberOfProfiles(); ++i) { GetNumberOfProfiles 55 chrome/browser/profiles/profile_info_cache.h virtual size_t GetNumberOfProfiles() const OVERRIDE; GetNumberOfProfiles 122 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_EQ(0u, GetCache()->GetNumberOfProfiles()); GetNumberOfProfiles 141 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_EQ(i + 1, GetCache()->GetNumberOfProfiles()); GetNumberOfProfiles 156 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_EQ(4u, GetCache()->GetNumberOfProfiles()); GetNumberOfProfiles 172 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_EQ(0u, GetCache()->GetNumberOfProfiles()); GetNumberOfProfiles 177 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_EQ(1u, GetCache()->GetNumberOfProfiles()); GetNumberOfProfiles 183 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_EQ(2u, GetCache()->GetNumberOfProfiles()); GetNumberOfProfiles 186 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_EQ(1u, GetCache()->GetNumberOfProfiles()); GetNumberOfProfiles 190 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_EQ(0u, GetCache()->GetNumberOfProfiles()); GetNumberOfProfiles 457 chrome/browser/profiles/profile_info_cache_unittest.cc for (size_t i = 0; i < GetCache()->GetNumberOfProfiles(); i++) { GetNumberOfProfiles 472 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_EQ(0u, GetCache()->GetNumberOfProfiles()); GetNumberOfProfiles 496 chrome/browser/profiles/profile_info_cache_unittest.cc ASSERT_EQ(4U, GetCache()->GetNumberOfProfiles()); GetNumberOfProfiles 24 chrome/browser/profiles/profile_info_interface.h virtual size_t GetNumberOfProfiles() const = 0; GetNumberOfProfiles 40 chrome/browser/profiles/profile_list_desktop.cc const size_t count = profile_info_->GetNumberOfProfiles(); GetNumberOfProfiles 115 chrome/browser/profiles/profile_list_desktop_browsertest.cc ASSERT_EQ(cache.GetNumberOfProfiles(), 2U); GetNumberOfProfiles 362 chrome/browser/profiles/profile_manager.cc return GetProfileInfoCache().GetNumberOfProfiles(); GetNumberOfProfiles 643 chrome/browser/profiles/profile_manager.cc for (size_t i = 0; i < cache.GetNumberOfProfiles(); ++i) { GetNumberOfProfiles 714 chrome/browser/profiles/profile_manager.cc size_t number_of_profiles = cache.GetNumberOfProfiles(); GetNumberOfProfiles 80 chrome/browser/profiles/profile_manager.h size_t GetNumberOfProfiles(); GetNumberOfProfiles 108 chrome/browser/profiles/profile_manager_browsertest.cc ASSERT_EQ(cache.GetNumberOfProfiles(), 1U); GetNumberOfProfiles 120 chrome/browser/profiles/profile_manager_browsertest.cc EXPECT_EQ(cache.GetNumberOfProfiles(), 1U); GetNumberOfProfiles 153 chrome/browser/profiles/profile_manager_browsertest.cc ASSERT_EQ(cache.GetNumberOfProfiles(), 2U); GetNumberOfProfiles 169 chrome/browser/profiles/profile_manager_browsertest.cc EXPECT_EQ(cache.GetNumberOfProfiles(), 1U); GetNumberOfProfiles 225 chrome/browser/profiles/profile_manager_browsertest.cc ASSERT_EQ(profile_manager->GetNumberOfProfiles(), 1U); GetNumberOfProfiles 237 chrome/browser/profiles/profile_manager_browsertest.cc EXPECT_EQ(profile_manager->GetNumberOfProfiles(), 2U); GetNumberOfProfiles 264 chrome/browser/profiles/profile_manager_browsertest.cc ASSERT_EQ(profile_manager->GetNumberOfProfiles(), 1U); GetNumberOfProfiles 281 chrome/browser/profiles/profile_manager_browsertest.cc ASSERT_EQ(cache.GetNumberOfProfiles(), 2U); GetNumberOfProfiles 328 chrome/browser/profiles/profile_manager_browsertest.cc ASSERT_EQ(1U, profile_manager->GetNumberOfProfiles()); GetNumberOfProfiles 344 chrome/browser/profiles/profile_manager_browsertest.cc ASSERT_EQ(2U, cache.GetNumberOfProfiles()); GetNumberOfProfiles 370 chrome/browser/profiles/profile_manager_browsertest.cc ASSERT_EQ(2U, cache.GetNumberOfProfiles()); GetNumberOfProfiles 376 chrome/browser/profiles/profile_manager_browsertest.cc ASSERT_EQ(1U, cache.GetNumberOfProfiles()); GetNumberOfProfiles 138 chrome/browser/profiles/profile_manager_unittest.cc size_t num_profiles = cache.GetNumberOfProfiles(); GetNumberOfProfiles 142 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(num_profiles + 1, cache.GetNumberOfProfiles()); GetNumberOfProfiles 311 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(0u, cache.GetNumberOfProfiles()); GetNumberOfProfiles 316 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(1u, cache.GetNumberOfProfiles()); GetNumberOfProfiles 324 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(2u, cache.GetNumberOfProfiles()); GetNumberOfProfiles 332 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(0u, cache.GetNumberOfProfiles()); GetNumberOfProfiles 340 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(1u, cache.GetNumberOfProfiles()); GetNumberOfProfiles 349 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(2u, cache.GetNumberOfProfiles()); GetNumberOfProfiles 455 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(0u, cache.GetNumberOfProfiles()); GetNumberOfProfiles 467 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(3u, cache.GetNumberOfProfiles()); GetNumberOfProfiles 480 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(0u, cache.GetNumberOfProfiles()); GetNumberOfProfiles 489 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(2u, cache.GetNumberOfProfiles()); GetNumberOfProfiles 876 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(2u, profile_manager->GetProfileInfoCache().GetNumberOfProfiles()); GetNumberOfProfiles 902 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(0u, cache.GetNumberOfProfiles()); GetNumberOfProfiles 937 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(0u, cache.GetNumberOfProfiles()); GetNumberOfProfiles 978 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(0u, cache.GetNumberOfProfiles()); GetNumberOfProfiles 1035 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(2u, cache.GetNumberOfProfiles()); GetNumberOfProfiles 1088 chrome/browser/profiles/profile_manager_unittest.cc EXPECT_EQ(3u, cache.GetNumberOfProfiles()); GetNumberOfProfiles 57 chrome/browser/profiles/profile_metrics.cc size_t number_of_profiles = info_cache.GetNumberOfProfiles(); GetNumberOfProfiles 66 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const int num_profiles = profile_info_cache_->GetNumberOfProfiles(); GetNumberOfProfiles 96 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_EQ(0, profile_info_cache_->GetNumberOfProfiles()) GetNumberOfProfiles 691 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_EQ(1U, profile_info_cache_->GetNumberOfProfiles()); GetNumberOfProfiles 722 chrome/browser/profiles/profile_shortcut_manager_win.cc DCHECK_LT(profile_index, cache.GetNumberOfProfiles()); GetNumberOfProfiles 726 chrome/browser/profiles/profile_shortcut_manager_win.cc if (cache.GetNumberOfProfiles() > 1) GetNumberOfProfiles 742 chrome/browser/profiles/profile_shortcut_manager_win.cc if (profile_manager_->GetProfileInfoCache().GetNumberOfProfiles() == 2) { GetNumberOfProfiles 757 chrome/browser/profiles/profile_shortcut_manager_win.cc const bool deleting_down_to_last_profile = (cache.GetNumberOfProfiles() == 1); GetNumberOfProfiles 786 chrome/browser/profiles/profile_shortcut_manager_win.cc DCHECK_EQ(2U, cache.GetNumberOfProfiles()); GetNumberOfProfiles 806 chrome/browser/profiles/profile_shortcut_manager_win.cc bool remove_badging = cache->GetNumberOfProfiles() == 1; GetNumberOfProfiles 75 chrome/browser/profiles/profiles_state.cc if (cache.GetNumberOfProfiles() == 1 && has_default_name && GetNumberOfProfiles 28 chrome/browser/signin/local_auth_unittest.cc EXPECT_EQ(1U, cache.GetNumberOfProfiles()); GetNumberOfProfiles 27 chrome/browser/signin/signin_names_io_thread.cc for (size_t i = 0; i < cache.GetNumberOfProfiles(); ++i) { GetNumberOfProfiles 126 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc return g_browser_process->profile_manager()->GetNumberOfProfiles() > 1; GetNumberOfProfiles 233 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc EXPECT_EQ(1u, profile_manager->GetNumberOfProfiles()); GetNumberOfProfiles 240 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc EXPECT_EQ(2u, profile_manager->GetNumberOfProfiles()); GetNumberOfProfiles 71 chrome/browser/ui/app_list/app_list_view_delegate.cc const size_t count = profile_info.GetNumberOfProfiles(); GetNumberOfProfiles 168 chrome/browser/ui/browser_command_controller_unittest.cc ASSERT_EQ(1U, profile_manager->GetNumberOfProfiles()); GetNumberOfProfiles 172 chrome/browser/ui/browser_command_controller_unittest.cc ASSERT_EQ(2U, profile_manager->GetNumberOfProfiles()); GetNumberOfProfiles 181 chrome/browser/ui/browser_command_controller_unittest.cc ASSERT_EQ(1U, profile_manager->GetNumberOfProfiles()); GetNumberOfProfiles 212 chrome/browser/ui/browser_command_controller_unittest.cc ASSERT_EQ(1U, profile_manager->GetNumberOfProfiles()); GetNumberOfProfiles 157 chrome/browser/ui/gtk/gtk_util.cc cache.GetNumberOfProfiles() < 2) GetNumberOfProfiles 852 chrome/browser/ui/sync/one_click_signin_helper.cc for (size_t i = 0; i < cache.GetNumberOfProfiles(); ++i) { GetNumberOfProfiles 44 chrome/browser/ui/views/avatar_menu_button_browsertest.cc EXPECT_EQ(1u, profile_manager->GetNumberOfProfiles()); GetNumberOfProfiles 54 chrome/browser/ui/views/avatar_menu_button_browsertest.cc EXPECT_EQ(2u, profile_manager->GetNumberOfProfiles()); GetNumberOfProfiles 60 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc EXPECT_EQ(1u, profile_manager->GetNumberOfProfiles()); GetNumberOfProfiles 74 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc EXPECT_EQ(2u, profile_manager->GetNumberOfProfiles()); GetNumberOfProfiles 214 chrome/browser/ui/webui/ntp/ntp_login_handler.cc if (cache.GetNumberOfProfiles() == 1) { GetNumberOfProfiles 537 chrome/browser/ui/webui/options/browser_options_handler.cc g_browser_process->profile_manager()->GetNumberOfProfiles() > 1); GetNumberOfProfiles 1145 chrome/browser/ui/webui/options/browser_options_handler.cc for (size_t i = 0, e = cache.GetNumberOfProfiles(); i < e; ++i) { GetNumberOfProfiles 429 chrome/browser/ui/webui/options/create_profile_handler.cc for (size_t i = 0; i < cache.GetNumberOfProfiles(); ++i) { GetNumberOfProfiles 279 chrome/browser/ui/webui/options/manage_profile_handler.cc for (size_t i = 0, e = cache.GetNumberOfProfiles(); i < e; ++i) { GetNumberOfProfiles 151 chrome/browser/ui/webui/options/managed_user_import_handler.cc for (size_t i = 0; i < cache.GetNumberOfProfiles(); ++i) { GetNumberOfProfiles 120 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc for (size_t i = 0; i < info_cache.GetNumberOfProfiles(); ++i) { GetNumberOfProfiles 232 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc if (profile_index >= info_cache.GetNumberOfProfiles()) { GetNumberOfProfiles 307 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc if (profile_index >= info_cache.GetNumberOfProfiles()) { GetNumberOfProfiles 493 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc for (size_t i = 0; i < info_cache.GetNumberOfProfiles(); ++i) { GetNumberOfProfiles 65 chrome/browser/ui/webui/signin/user_manager_ui_browsertest.cc EXPECT_EQ(num_pods, static_cast<int>(profile_manager->GetNumberOfProfiles()));