DescriptionSupport PolicyWatcher with custom loader for testing
PolicyWatcher::Create automatically creates an underlying
AsyncPolicyLoader corresponding to the policy storage location of the
current platform. This commit adds an alternative constructor,
CreateFromPolicyLoaderForTesting, which allows a custom
AsyncPolicyLoader to be specified to allow testing other components with
different policy configurations.
Review-Url: https://codereview.chromium.org/2764333003
Cr-Commit-Position: refs/heads/master@{#460592}
Committed: https://chromium.googlesource.com/chromium/src/+/d0aa1e57ed2f964784b89b70c77a51b1bf833af1
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|