DescriptionAdded a PolicySchema class.
A PolicySchema describes the known policy keys (for Chrome, or for an extension)
and maps them to their expected base::Value::Type. This class parses a buffer
as a JSON schema and additionally verifies that it can be used to describe a
policy map (e.g. the schema version is defined, the top-level is an "object",
and other checks).
BUG=108992
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201707
Patch Set 1 #
Total comments: 10
Patch Set 2 : PolicySchema describes inner types #Patch Set 3 : . #Patch Set 4 : . #
Total comments: 15
Patch Set 5 : fixed nits #Patch Set 6 : rebase #Patch Set 7 : rebase #
Messages
Total messages: 10 (0 generated)
|