• Peter Kasting's avatar
    Set guest mode correctly for incognito profiles. · 3254af5e
    Peter Kasting authored
    A service factory may check the guest/incognito bits to determine which
    context to use.  If these bits aren't set correctly before the various
    context-keyed services are created, the result could be the wrong
    service, no service, etc.
    
    Without this, apps::LaunchServiceFactory cannot be registered properly
    on startup.  (Fixing that will happen separately.)
    
    Bug: none
    Change-Id: I75d545066e382a10ff3b5f7aff2db59fa7a6e4c5
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2135204
    Auto-Submit: Peter Kasting <pkasting@chromium.org>
    Reviewed-by: default avatarMihai Sardarescu <msarda@chromium.org>
    Commit-Queue: Peter Kasting <pkasting@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#756310}
    3254af5e
testing_profile.cc 46 KB