/external/libchrome/components/policy/core/common/ |
D | policy_bundle.cc | 11 PolicyBundle::PolicyBundle() {} in PolicyBundle() function in policy::PolicyBundle 13 PolicyBundle::~PolicyBundle() { in ~PolicyBundle() 17 PolicyMap& PolicyBundle::Get(const PolicyNamespace& ns) { in Get() 25 const PolicyMap& PolicyBundle::Get(const PolicyNamespace& ns) const { in Get() 31 void PolicyBundle::Swap(PolicyBundle* other) { in Swap() 35 void PolicyBundle::CopyFrom(const PolicyBundle& other) { in CopyFrom() 42 void PolicyBundle::MergeFrom(const PolicyBundle& other) { in MergeFrom() 75 bool PolicyBundle::Equals(const PolicyBundle& other) const { in Equals() 100 void PolicyBundle::Clear() { in Clear()
|
D | policy_bundle.h | 20 class POLICY_EXPORT PolicyBundle { 26 PolicyBundle(); 27 virtual ~PolicyBundle(); 34 void Swap(PolicyBundle* other); 37 void CopyFrom(const PolicyBundle& other); 45 void MergeFrom(const PolicyBundle& other); 48 bool Equals(const PolicyBundle& other) const; 69 DISALLOW_COPY_AND_ASSIGN(PolicyBundle);
|
D | proxy_policy_provider_unittest.cc | 39 static std::unique_ptr<PolicyBundle> CopyBundle(const PolicyBundle& bundle) { in CopyBundle() 40 std::unique_ptr<PolicyBundle> copy(new PolicyBundle()); in CopyBundle() 51 EXPECT_TRUE(PolicyBundle().Equals(proxy_provider_.policies())); in TEST_F() 55 PolicyBundle bundle; in TEST_F() 78 EXPECT_TRUE(PolicyBundle().Equals(proxy_provider_.policies())); in TEST_F() 98 std::unique_ptr<PolicyBundle>(new PolicyBundle())); in TEST_F()
|
D | proxy_policy_provider.cc | 29 UpdatePolicy(std::unique_ptr<PolicyBundle>(new PolicyBundle())); in SetDelegate() 51 std::unique_ptr<PolicyBundle> bundle(new PolicyBundle()); in RefreshPolicies() 60 std::unique_ptr<PolicyBundle> bundle(new PolicyBundle()); in OnUpdatePolicy()
|
D | async_policy_provider_unittest.cc | 31 void SetPolicy(PolicyBundle* bundle, in SetPolicy() 50 std::unique_ptr<PolicyBundle> Load() override; 52 MOCK_METHOD0(MockLoad, const PolicyBundle*()); 66 std::unique_ptr<PolicyBundle> MockPolicyLoader::Load() { in Load() 67 std::unique_ptr<PolicyBundle> bundle; in Load() 68 const PolicyBundle* loaded = MockLoad(); in Load() 70 bundle.reset(new PolicyBundle()); in Load() 88 PolicyBundle initial_bundle_; 130 PolicyBundle refreshed_bundle; in TEST_F() 145 PolicyBundle refreshed_bundle; in TEST_F() [all …]
|
D | schema_registry_tracking_policy_provider_unittest.cc | 79 const PolicyBundle empty_bundle; in TEST_F() 85 PolicyBundle bundle; in TEST_F() 92 std::unique_ptr<PolicyBundle> delegate_bundle(new PolicyBundle); in TEST_F() 126 std::unique_ptr<PolicyBundle> bundle(new PolicyBundle); in TEST_F() 146 PolicyBundle expected_bundle; in TEST_F() 210 PolicyBundle platform_policy; in TEST_F() 214 std::unique_ptr<PolicyBundle> copy(new PolicyBundle); in TEST_F() 226 const PolicyBundle empty; in TEST_F() 236 copy.reset(new PolicyBundle); in TEST_F()
|
D | fake_async_policy_loader.cc | 18 std::unique_ptr<PolicyBundle> FakeAsyncPolicyLoader::Load() { in Load() 19 std::unique_ptr<PolicyBundle> result(new PolicyBundle()); in Load() 28 void FakeAsyncPolicyLoader::SetPolicies(const PolicyBundle& policy_bundle) { in SetPolicies()
|
D | policy_bundle_unittest.cc | 70 bool IsEmpty(const PolicyBundle& bundle) { in IsEmpty() 77 PolicyBundle bundle; in TEST() 89 PolicyBundle::const_iterator it = bundle.begin(); in TEST() 106 PolicyBundle bundle0; in TEST() 107 PolicyBundle bundle1; in TEST() 145 PolicyBundle bundle0; in TEST() 146 PolicyBundle bundle1; in TEST() 147 PolicyBundle bundle2; in TEST() 180 PolicyBundle merged; in TEST() 184 PolicyBundle empty_bundle; in TEST() [all …]
|
D | mock_configuration_policy_provider.cc | 25 std::unique_ptr<PolicyBundle> bundle(new PolicyBundle()); in UpdateChromePolicy() 39 std::unique_ptr<PolicyBundle> bundle(new PolicyBundle); in RefreshWithSamePolicies()
|
D | async_policy_loader.h | 24 class PolicyBundle; variable 49 virtual std::unique_ptr<PolicyBundle> Load() = 0; 62 std::unique_ptr<PolicyBundle> InitialLoad( 82 typedef base::Callback<void(std::unique_ptr<PolicyBundle>)> UpdateCallback;
|
D | fake_async_policy_loader.h | 32 std::unique_ptr<PolicyBundle> Load() override; 36 void SetPolicies(const PolicyBundle& policy_bundle); 47 PolicyBundle policy_bundle_;
|
D | async_policy_provider.h | 25 class PolicyBundle; variable 50 void OnLoaderReloaded(std::unique_ptr<PolicyBundle> bundle); 59 std::unique_ptr<PolicyBundle> bundle);
|
D | configuration_policy_provider.h | 56 const PolicyBundle& policies() const { return policy_bundle_; } in policies() 82 void UpdatePolicy(std::unique_ptr<PolicyBundle> bundle); 90 PolicyBundle policy_bundle_;
|
D | config_dir_policy_loader.h | 36 std::unique_ptr<PolicyBundle> Load() override; 43 PolicyBundle* bundle); 48 PolicyBundle* bundle);
|
D | config_dir_policy_loader_unittest.cc | 196 std::unique_ptr<PolicyBundle> bundle(loader.Load()); in TEST_F() 198 const PolicyBundle kEmptyBundle; in TEST_F() 210 std::unique_ptr<PolicyBundle> bundle(loader.Load()); in TEST_F() 212 const PolicyBundle kEmptyBundle; in TEST_F() 235 std::unique_ptr<PolicyBundle> bundle(loader.Load()); in TEST_F() 237 PolicyBundle expected_bundle; in TEST_F()
|
D | policy_service_impl.cc | 189 PolicyBundle bundle; in MergeAndTriggerUpdates() 191 PolicyBundle provided_bundle; in MergeAndTriggerUpdates() 203 PolicyBundle::const_iterator it_new = policy_bundle_.begin(); in MergeAndTriggerUpdates() 204 PolicyBundle::const_iterator end_new = policy_bundle_.end(); in MergeAndTriggerUpdates() 205 PolicyBundle::const_iterator it_old = bundle.begin(); in MergeAndTriggerUpdates() 206 PolicyBundle::const_iterator end_old = bundle.end(); in MergeAndTriggerUpdates()
|
D | config_dir_policy_loader.cc | 84 std::unique_ptr<PolicyBundle> ConfigDirPolicyLoader::Load() { in Load() 85 std::unique_ptr<PolicyBundle> bundle(new PolicyBundle()); in Load() 126 PolicyBundle* bundle) { in LoadFromPath() 185 PolicyBundle* bundle) { in Merge3rdPartyPolicy()
|
D | async_policy_loader.cc | 53 std::unique_ptr<PolicyBundle> bundle(Load()); in Reload() 68 std::unique_ptr<PolicyBundle> AsyncPolicyLoader::InitialLoad( in InitialLoad() 75 std::unique_ptr<PolicyBundle> bundle(Load()); in InitialLoad()
|
D | schema_map.h | 19 class PolicyBundle; variable 43 void FilterBundle(PolicyBundle* bundle) const;
|
D | policy_service_impl_unittest.cc | 51 void AddTestPolicies(PolicyBundle* bundle, in AddTestPolicies() 273 std::unique_ptr<PolicyBundle> bundle(new PolicyBundle()); in TEST_F() 306 bundle.reset(new PolicyBundle()); in TEST_F() 518 std::unique_ptr<PolicyBundle> bundle0(new PolicyBundle()); in TEST_F() 519 std::unique_ptr<PolicyBundle> bundle1(new PolicyBundle()); in TEST_F() 520 std::unique_ptr<PolicyBundle> bundle2(new PolicyBundle()); in TEST_F() 661 std::unique_ptr<PolicyBundle> policy_bundle(new PolicyBundle()); in TEST_F()
|
D | policy_test_utils.h | 21 class PolicyBundle; variable 61 std::ostream& operator<<(std::ostream& os, const policy::PolicyBundle& bundle);
|
D | schema_registry_tracking_policy_provider.cc | 85 std::unique_ptr<PolicyBundle> bundle(new PolicyBundle()); in OnUpdatePolicy()
|
D | configuration_policy_provider_test.cc | 213 const PolicyBundle kEmptyBundle; in SetUp() 233 PolicyBundle expected_bundle; in CheckValue() 246 const PolicyBundle kEmptyBundle; in TEST_P() 328 PolicyBundle bundle; in TEST_P() 403 PolicyBundle expected_bundle; in TEST_P()
|
D | schema_map_unittest.cc | 135 PolicyBundle bundle; in TEST_F() 137 const PolicyBundle empty_bundle; in TEST_F() 141 PolicyBundle expected_bundle; in TEST_F() 234 PolicyBundle bundle; in TEST_F() 249 PolicyBundle expected_bundle; in TEST_F()
|
D | async_policy_provider.cc | 113 std::unique_ptr<PolicyBundle> bundle) { in OnLoaderReloaded() 125 std::unique_ptr<PolicyBundle> bundle) { in LoaderUpdateCallback()
|