weblayer: move incognito assertion checks
The current checks mean WebLayer has to be loaded sooner then we would like. This moves the checks to a later point. I wanted to keep the exception as it seems very important to ensure that if code thinks it is creating an incognito profile, it actually gets one. BUG=1142989 Change-Id: Ic57304a8c3cfaeeba06e231f32b8dbf50456788e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2527624 Commit-Queue: Scott Violet <sky@chromium.org> Reviewed-by:Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#825642}
Showing
Please register or sign in to comment