• Renee Wright's avatar
    Show policy icon when crostini disallowed by policy · 1084381e
    Renee Wright authored
    In addition to the kUserCrostiniAllowedByPolicy preference, there are
    two other ways in which Crostini can be disallowed by policy:
    unaffiliated user restrictions, and by disallowing virtual machines.
    This CL changes the behavior of the Linux row in Chrome Settings so that
    it shows a policy indicator icon & disables the "turn on" button when
    Crostini is disallowed by one of these factors.
    
    Change-Id: Iac6f3ca4c98be74308cb4177eadfb34c1d92d635
    Reviewed-on: https://chromium-review.googlesource.com/c/1325594
    Commit-Queue: Renée Wright <rjwright@chromium.org>
    Reviewed-by: default avatarNicholas Verne <nverne@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#613438}
    1084381e
crostini_util.cc 16 KB