DescriptionChange PolicyLoaderWin to load PReg files if possible.
We now query whether GPO is present and read directly from the corresponding
PReg files. The registry is used only as a fallback source for policy values.
To accomplish this, PolicyLoaderWin now works in two steps: It first converts
the GPO input into base::Value representation and then maps that to proper
policy values. This also unifies the handling for Chrome policy and 3rd-party
policy.
BUG=
TEST=unit tests
TBR=grt@chromium.org, cpu@chromium.org, ben@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193649
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193961
Patch Set 1 #
Total comments: 30
Patch Set 2 : Address comments, add unit tests. #
Total comments: 19
Patch Set 3 : Address comments, add tests requested by Joao #Patch Set 4 : Rebase #Patch Set 5 : Switch to kRegistryChromePolicyKey in CF code. #Patch Set 6 : Rebase, fix the test harness to fail the GPO enumeration. #Patch Set 7 : Remove stray log line #Patch Set 8 : Rebase. #Patch Set 9 : Rebase #
Messages
Total messages: 21 (0 generated)
|