Lines Matching refs:profile_manager
11 #include "chrome/browser/profiles/profile_manager.h"
64 g_browser_process->profile_manager()->GetProfileInfoCache().AddObserver(
69 g_browser_process->profile_manager()->GetProfileInfoCache().RemoveObserver(
109 ProfileManager* profile_manager = g_browser_process->profile_manager();
110 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache();
119 profile_manager->ScheduleProfileForDeletion(singleton_profile_path,
145 ProfileManager* profile_manager = g_browser_process->profile_manager();
146 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache();
149 base::FilePath new_path = profile_manager->GenerateNextProfileDirectoryPath();
150 profile_manager->CreateProfileAsync(new_path,
166 profile_manager->ScheduleProfileForDeletion(profile_path1,
168 profile_manager->ScheduleProfileForDeletion(profile_path2,
216 ProfileManager* profile_manager = g_browser_process->profile_manager();
218 ASSERT_EQ(profile_manager->GetNumberOfProfiles(), 1U);
230 EXPECT_EQ(profile_manager->GetNumberOfProfiles(), 2U);
234 std::vector<Profile*> profiles = profile_manager->GetLoadedProfiles();
253 ProfileManager* profile_manager = g_browser_process->profile_manager();
254 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache();
257 ASSERT_EQ(profile_manager->GetNumberOfProfiles(), 1U);
262 profile_manager->GenerateNextProfileDirectoryPath();
263 profile_manager->CreateProfileAsync(path_profile2,
317 ProfileManager* profile_manager = g_browser_process->profile_manager();
318 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache();
321 ASSERT_EQ(1U, profile_manager->GetNumberOfProfiles());
326 profile_manager->GenerateNextProfileDirectoryPath();
327 profile_manager->CreateProfileAsync(