| Index: components/policy/core/common/schema_internal.h
|
| diff --git a/components/policy/core/common/schema_internal.h b/components/policy/core/common/schema_internal.h
|
| index 025a4373ee75cc50475c824c380f09c635d3e665..40f29aad3a5923cc460ced3ab2e058ef53fa0102 100644
|
| --- a/components/policy/core/common/schema_internal.h
|
| +++ b/components/policy/core/common/schema_internal.h
|
| @@ -16,27 +16,24 @@ namespace internal {
|
|
|
| struct POLICY_EXPORT SchemaNode {
|
| base::Value::Type type;
|
| -
|
| - // If |type| is TYPE_LIST then this is a SchemaNode* describing the
|
| - // element type.
|
| - //
|
| - // If |type| is TYPE_DICTIONARY then this is a PropertiesNode* that can
|
| - // contain any number of named properties and optionally a SchemaNode* for
|
| - // additional properties.
|
| - //
|
| - // This is NULL if |type| has any other values.
|
| - const void* extra;
|
| + int extra;
|
| };
|
|
|
| struct POLICY_EXPORT PropertyNode {
|
| const char* key;
|
| - const SchemaNode* schema;
|
| + int schema;
|
| };
|
|
|
| struct POLICY_EXPORT PropertiesNode {
|
| - const PropertyNode* begin;
|
| - const PropertyNode* end;
|
| - const SchemaNode* additional;
|
| + int begin;
|
| + int end;
|
| + int additional;
|
| +};
|
| +
|
| +struct POLICY_EXPORT SchemaData {
|
| + const SchemaNode* schema_nodes;
|
| + const PropertyNode* property_nodes;
|
| + const PropertiesNode* properties_nodes;
|
| };
|
|
|
| } // namespace internal
|
|
|