// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_POLICY_CORE_COMMON_SCHEMA_INTERNAL_H_ #define COMPONENTS_POLICY_CORE_COMMON_SCHEMA_INTERNAL_H_ #include "base/memory/raw_ptr.h" #include "base/values.h" #include "components/policy/policy_export.h" namespace policy { namespace internal { // These types are used internally by the SchemaOwner parser, and by the // compile-time code generator. They shouldn't be used directly. // Represents the type of one policy, or an item of a list policy, or a // property of a map policy. struct POLICY_EXPORT SchemaNode { … }; // Represents an entry of a map policy. struct POLICY_EXPORT PropertyNode { … }; // Represents the list of keys of a map policy. struct POLICY_EXPORT PropertiesNode { … }; // Represents the restriction on Type::INTEGER or Type::STRING instance of // base::Value. RestrictionNode; // Contains arrays of related nodes. All of the offsets in these nodes reference // other nodes in these arrays. struct POLICY_EXPORT SchemaData { … }; } // namespace internal } // namespace policy #endif // COMPONENTS_POLICY_CORE_COMMON_SCHEMA_INTERNAL_H_