Home
last modified time | relevance | path

Searched refs:policy_service_ (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/components/policy/core/common/
Dpolicy_service_impl_unittest.cc123 policy_service_ = std::make_unique<PolicyServiceImpl>(std::move(providers)); in SetUp()
140 return policy_service_->GetPolicies(ns).Equals(expected); in VerifyPolicies()
156 std::unique_ptr<PolicyServiceImpl> policy_service_; member in policy::PolicyServiceTest
173 policy_service_->AddObserver(POLICY_DOMAIN_CHROME, &observer); in TEST_F()
251 policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, &observer); in TEST_F()
260 policy_service_->AddObserver(POLICY_DOMAIN_CHROME, &chrome_observer); in TEST_F()
261 policy_service_->AddObserver(POLICY_DOMAIN_EXTENSIONS, &extension_observer); in TEST_F()
338 policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, &chrome_observer); in TEST_F()
339 policy_service_->RemoveObserver(POLICY_DOMAIN_EXTENSIONS, in TEST_F()
345 policy_service_->AddObserver(POLICY_DOMAIN_CHROME, &observer); in TEST_F()
[all …]
Dpolicy_service.cc13 : policy_service_(policy_service), in PolicyChangeRegistrar()
18 policy_service_->RemoveObserver(ns_.domain, this); in ~PolicyChangeRegistrar()
24 policy_service_->AddObserver(ns_.domain, this); in Observe()
Dpolicy_statistics_collector_unittest.cc93 EXPECT_CALL(policy_service_, in SetUp()
104 &policy_service_, in SetUp()
130 MockPolicyService policy_service_; member in policy::PolicyStatisticsCollectorTest
Dpolicy_statistics_collector.cc34 policy_service_(policy_service), in PolicyStatisticsCollector()
66 const PolicyMap& policies = policy_service_->GetPolicies( in CollectStatistics()
Dpolicy_statistics_collector.h57 PolicyService* policy_service_; variable
Dpolicy_service.h107 PolicyService* policy_service_; variable