• mlerman's avatar
    Loading the Launcher with a Locked Profile launched UserManager. · a312cec5
    mlerman authored
    On Mac, the --show-app-list flag causes the AppLauncher to start loading before the Profile is loaded. For this, the profile_path is sent to AppListService::InitAll(), so that this load can be aborted if it would point to a Locked Profile.
    
    The AppListService will no longer permit loading a locked profile, and will direct to the UserManager instead. StartupBrowserCreator has a similar flow.
    
    BUG=421308
    TEST=Try to load the App Launcher for a locked profile in any possible way the Launcher can be launched ;) It should always direct to the UserManager, upon Profile Selection which then directs to the AppLauncher. Opening the AppLauncher for a non-locked profile should always work smoothly.
    
    Review URL: https://codereview.chromium.org/856733004
    
    Cr-Commit-Position: refs/heads/master@{#313583}
    a312cec5
startup_browser_creator.cc 33.3 KB