Cache command-line switches keyed by type in UserSessionManager
Command-line switches that should be independent of policy/flag
settings are now cached in UserSessionManager, so they're not lost
when a different set of command-line switches is applied.
Currently, the only such persistent switch is --profile-requires-policy
set by UserCloudPolicyManagerChromeOS.
The long-term plan is to further develop this mechanism in a way to make
manual re-parsing of switches (see e.g.
|KioskAppManager::GetSwitchesForSessionRestore|) unnecessary. This will
be done in a follow-up CL.
and manual: Enable IsolateOrigins user policy and
ephemeral_user_enabled device policy, sign-in into a user account.
Bug: 831460
Test: browser_tests --gtest_filter=SiteIsolationFlagHandlingTest*
Change-Id: I1276b20018b0c4305309123e46dd3411aeda5ac0
Reviewed-on: https://chromium-review.googlesource.com/1010343
Commit-Queue: Pavol Marko <pmarko@chromium.org>
Reviewed-by:
Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by:
Maksim Ivanov <emaxx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550765}
Showing
This diff is collapsed.
Please register or sign in to comment