Lines Matching defs:profile_dir
357 Profile* ProfileManager::GetProfile(const base::FilePath& profile_dir) {
361 Profile* profile = GetProfileByPath(profile_dir);
365 profile = CreateProfileHelper(profile_dir);
459 base::FilePath profile_dir;
465 profile_dir = chromeos::ProfileHelper::
474 profile_dir = g_browser_process->platform_part()->
477 relative_profile_dir = relative_profile_dir.Append(profile_dir);
496 base::FilePath profile_dir;
501 profile_dir = g_browser_process->platform_part()->
505 Profile* profile = GetProfile(profile_path.Append(profile_dir));
630 const base::FilePath& profile_dir,
637 Profile* profile = GetProfileByPath(profile_dir);
647 if (profile_dir.BaseName().MaybeAsASCII() ==
655 if (cur_path != profile_dir && !cache.ProfileIsSupervisedAtIndex(i) &&
685 profile_dir,
700 FinishDeletingProfile(profile_dir);
1077 void ProfileManager::FinishDeletingProfile(const base::FilePath& profile_dir) {
1081 Profile* profile = GetProfileByPath(profile_dir);
1105 cache.GetIndexOfProfileWithPath(profile_dir)).empty();
1109 QueueProfileDirectoryForDeletion(profile_dir);
1110 cache.DeleteProfileFromCache(profile_dir);