| Index: chrome/browser/profiles/profile_manager.cc
|
| diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
|
| index 85ba7886c04c270ae7456138d48e6443e6923830..6373db817d7e05726119173e0bba3d4215db29c5 100644
|
| --- a/chrome/browser/profiles/profile_manager.cc
|
| +++ b/chrome/browser/profiles/profile_manager.cc
|
| @@ -1100,6 +1100,10 @@ void ProfileManager::FinishDeletingProfile(const base::FilePath& profile_dir) {
|
| ProfileSyncServiceFactory::GetInstance()->GetForProfile(
|
| profile)->DisableForUser();
|
| }
|
| +
|
| + bool profile_is_signed_in = !cache.GetUserNameOfProfileAtIndex(
|
| + cache.GetIndexOfProfileWithPath(profile_dir)).empty();
|
| + ProfileMetrics::LogProfileDelete(profile_is_signed_in);
|
| }
|
|
|
| QueueProfileDirectoryForDeletion(profile_dir);
|
|
|