Index: chrome/browser/profiles/profile_manager.cc |
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc |
index 9e25b1da6fc2a62e0f0631b42bdd39c25148c619..74c90ed0d0dba2bf843805d95e6d423a0c7889bf 100644 |
--- a/chrome/browser/profiles/profile_manager.cc |
+++ b/chrome/browser/profiles/profile_manager.cc |
@@ -1085,6 +1085,13 @@ void ProfileManager::FinishDeletingProfile(const base::FilePath& profile_dir) { |
Profile* profile = GetProfileByPath(profile_dir); |
if (profile) { |
+ // TODO: Migrate additional code in this block to observe this notification |
+ // instead of being implemented here. |
+ content::NotificationService::current()->Notify( |
+ chrome::NOTIFICATION_PROFILE_DESTRUCTION_STARTED, |
+ content::Source<Profile>(profile), |
+ content::NotificationService::NoDetails()); |
+ |
// By this point, all in-progress downloads for the profile being deleted |
// must have been canceled (crbug.com/336725). |
DCHECK(DownloadServiceFactory::GetForBrowserContext(profile)-> |