| Index: chrome/browser/profiles/profile_manager.cc
|
| diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
|
| index 5d676690ceb8b701f9161d8bb617e8a7e0bd4895..1746f905eda9d72261dadb983e2c001924c9d24b 100644
|
| --- a/chrome/browser/profiles/profile_manager.cc
|
| +++ b/chrome/browser/profiles/profile_manager.cc
|
| @@ -1073,6 +1073,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)->
|
|
|