Home
last modified time | relevance | path

Searched refs:schema_map (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/components/policy/core/common/
Dschema_registry_unittest.cc73 ASSERT_TRUE(registry.schema_map().get()); in TEST()
74 EXPECT_FALSE(registry.schema_map()->GetSchema( in TEST()
89 EXPECT_TRUE(registry.schema_map()->GetSchema( in TEST()
97 EXPECT_FALSE(registry.schema_map()->GetSchema( in TEST()
186 ASSERT_EQ(1u, combined.schema_map()->GetDomains().size()); in TEST()
187 ASSERT_TRUE(combined.schema_map()->GetComponents(POLICY_DOMAIN_EXTENSIONS)); in TEST()
190 combined.schema_map()->GetComponents(POLICY_DOMAIN_EXTENSIONS)->size()); in TEST()
191 EXPECT_TRUE(combined.schema_map()->GetSchema( in TEST()
193 EXPECT_TRUE(combined.schema_map()->GetSchema( in TEST()
195 EXPECT_FALSE(combined.schema_map()->GetSchema( in TEST()
[all …]
Dasync_policy_loader.cc69 const scoped_refptr<SchemaMap>& schema_map) { in InitialLoad() argument
74 schema_map_ = schema_map; in InitialLoad()
98 void AsyncPolicyLoader::RefreshPolicies(scoped_refptr<SchemaMap> schema_map) { in RefreshPolicies() argument
100 schema_map_ = schema_map; in RefreshPolicies()
Dschema_map_unittest.cc133 scoped_refptr<SchemaMap> schema_map = new SchemaMap(domain_map); in TEST_F() local
136 schema_map->FilterBundle(&bundle); in TEST_F()
154 schema_map->FilterBundle(&bundle); in TEST_F()
186 schema_map->FilterBundle(&bundle); in TEST_F()
213 schema_map->FilterBundle(&bundle); in TEST_F()
231 scoped_refptr<SchemaMap> schema_map = new SchemaMap(domain_map); in TEST_F() local
272 schema_map->FilterBundle(&bundle); in TEST_F()
Dschema_registry.cc141 if (registry->schema_map()->HasComponents()) in Track()
180 if (registry->schema_map()->HasComponents()) in OnSchemaRegistryShuttingDown()
203 const DomainMap& reg_domain_map = (*reg_it)->schema_map()->GetDomains(); in Combine()
219 schema_map_ = wrapped_->schema_map(); in ForwardingSchemaRegistry()
253 schema_map_ = wrapped_->schema_map(); in OnSchemaRegistryUpdated()
Dconfiguration_policy_provider.cc58 ConfigurationPolicyProvider::schema_map() const { in schema_map() function in policy::ConfigurationPolicyProvider
59 return schema_registry_->schema_map(); in schema_map()
Dasync_policy_loader.h76 const scoped_refptr<SchemaMap>& schema_map() const { return schema_map_; } in schema_map() function
89 void RefreshPolicies(scoped_refptr<SchemaMap> schema_map);
Dschema_registry_tracking_policy_provider.cc52 if (!schema_map()->HasComponents()) { in OnSchemaRegistryReady()
88 schema_map()->FilterBundle(bundle.get()); in OnUpdatePolicy()
Dasync_policy_provider.cc26 OnLoaderReloaded(loader_->InitialLoad(registry->schema_map())); in AsyncPolicyProvider()
109 schema_map())); in ReloadAfterRefreshSync()
Dconfiguration_policy_provider.h86 const scoped_refptr<SchemaMap>& schema_map() const;
Dschema_registry.h59 const scoped_refptr<SchemaMap>& schema_map() const { return schema_map_; } in schema_map() function
Dconfiguration_policy_provider_test.cc188 Schema chrome_schema = *schema_registry_.schema_map()->GetSchema(chrome_ns); in SetUp()