| Index: chrome/browser/profiles/profile_manager.h
|
| ===================================================================
|
| --- chrome/browser/profiles/profile_manager.h (revision 202001)
|
| +++ chrome/browser/profiles/profile_manager.h (working copy)
|
| @@ -183,7 +183,6 @@
|
| const string16& name,
|
| const string16& icon_url,
|
| const CreateCallback& callback,
|
| - chrome::HostDesktopType desktop_type,
|
| bool is_managed);
|
|
|
| // Register multi-profile related preferences in Local State.
|
| @@ -197,9 +196,11 @@
|
| // profile specfic desktop shortcuts.
|
| ProfileShortcutManager* profile_shortcut_manager();
|
|
|
| - // Schedules the profile at the given path to be deleted on shutdown.
|
| + // 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.
|
| void ScheduleProfileForDeletion(const base::FilePath& profile_dir,
|
| - chrome::HostDesktopType desktop_type);
|
| + const CreateCallback& callback);
|
|
|
| // Checks if multiple profiles is enabled.
|
| static bool IsMultipleProfilesEnabled();
|
|
|