Chromium Code Reviews| Index: chrome/browser/profiles/profile_manager.h |
| diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h |
| index ed8c787a0f7013e2dfebe428f6144f205532acfe..57d6d3d6a0be438e1305bdf1dd4afa99f4c176b2 100644 |
| --- a/chrome/browser/profiles/profile_manager.h |
| +++ b/chrome/browser/profiles/profile_manager.h |
| @@ -189,6 +189,11 @@ class ProfileManager : public base::NonThreadSafe, |
| ProfileShortcutManager* profile_shortcut_manager(); |
| #if !defined(OS_ANDROID) |
| + // Less strict version of ScheduleProfileForDeletion(), silently fail if |
| + // profile already marked for deletion. |
| + bool MaybeScheduleProfileForDeletion(const base::FilePath& profile_dir, |
|
achuithb
2016/05/12 22:33:59
comment should say something about the return valu
|
| + const CreateCallback& callback); |
| + |
| // Schedules the profile at the given path to be deleted on shutdown. If we're |
| // deleting the last profile, a new one will be created in its place, and in |
| // that case the callback will be called when profile creation is complete. |