OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:PolicySchema
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/chrome/common/policy/
policy_schema.h
17
class
PolicySchema
;
18
typedef std::map<std::string,
PolicySchema
*> PolicySchemaMap;
22
class
PolicySchema
{
32
// If all the checks pass then the parsed
PolicySchema
is returned; otherwise
34
static scoped_ptr<
PolicySchema
> Parse(const std::string& schema,
37
explicit
PolicySchema
(base::Value::Type type);
38
virtual ~
PolicySchema
();
40
// Returns the expected type for this policy. At the top-level
PolicySchema
54
virtual const
PolicySchema
* GetSchemaForAdditionalProperties() const;
55
const
PolicySchema
* GetSchemaForProperty(const std::string& key) const
[
all
...]
policy_schema.cc
20
class DictionaryPolicySchema : public
PolicySchema
{
22
static scoped_ptr<
PolicySchema
> Parse(const base::DictionaryValue& schema,
28
virtual const
PolicySchema
* GetSchemaForAdditionalProperties() const OVERRIDE;
34
scoped_ptr<
PolicySchema
> additional_properties_;
40
class ListPolicySchema : public
PolicySchema
{
42
static scoped_ptr<
PolicySchema
> Parse(const base::DictionaryValue& schema,
47
virtual const
PolicySchema
* GetSchemaForItems() const OVERRIDE;
52
scoped_ptr<
PolicySchema
> items_schema_;
81
scoped_ptr<
PolicySchema
> ParseSchema(const base::DictionaryValue& schema,
86
return scoped_ptr<
PolicySchema
>();
[
all
...]
Completed in 111 milliseconds