Searched refs:PolicyNamespace (Results 1 - 25 of 78) sorted by relevance

1234

/external/chromium_org/components/policy/core/common/
H A Dpolicy_namespace.cc9 PolicyNamespace::PolicyNamespace() {} function in class:policy::PolicyNamespace
11 PolicyNamespace::PolicyNamespace(PolicyDomain domain, function in class:policy::PolicyNamespace
16 PolicyNamespace::PolicyNamespace(const PolicyNamespace& other) function in class:policy::PolicyNamespace
20 PolicyNamespace::~PolicyNamespace() {}
22 PolicyNamespace
[all...]
H A Dpolicy_namespace.h32 struct POLICY_EXPORT PolicyNamespace { struct in namespace:policy
34 PolicyNamespace();
35 PolicyNamespace(PolicyDomain domain, const std::string& component_id);
36 PolicyNamespace(const PolicyNamespace& other);
37 ~PolicyNamespace();
39 PolicyNamespace& operator=(const PolicyNamespace& other);
40 bool operator<(const PolicyNamespace& other) const;
41 bool operator==(const PolicyNamespace
[all...]
H A Dpolicy_bundle_unittest.cc88 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())));
93 EXPECT_TRUE(bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME,
104 EXPECT_TRUE(bundle.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS,
117 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())));
119 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension0)));
125 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROME,
127 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS,
134 EXPECT_TRUE(bundle1.Get(PolicyNamespace(POLICY_DOMAIN_CHROME,
136 EXPECT_TRUE(bundle1.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS,
142 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROM
[all...]
H A Dpolicy_service.h34 virtual void OnPolicyUpdated(const PolicyNamespace& ns,
55 virtual const PolicyMap& GetPolicies(const PolicyNamespace& ns) const = 0;
89 const PolicyNamespace& ns);
100 virtual void OnPolicyUpdated(const PolicyNamespace& ns,
108 PolicyNamespace ns_;
H A Dschema_registry_unittest.cc73 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc")));
76 registry.RegisterComponent(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc"),
83 registry.RegisterComponent(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc"),
88 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc")));
92 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc"));
96 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc")));
149 registry1->RegisterComponent(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc"),
167 combined.RegisterComponent(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc"),
173 registry2->RegisterComponent(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "def"),
180 registry1->RegisterComponent(PolicyNamespace(POLICY_DOMAIN_EXTENSION
[all...]
H A Dpolicy_bundle.h21 typedef std::map<PolicyNamespace, PolicyMap*> MapType;
29 PolicyMap& Get(const PolicyNamespace& ns);
30 const PolicyMap& Get(const PolicyNamespace& ns) const;
H A Dmock_policy_service.h18 MOCK_METHOD3(OnPolicyUpdated, void(const PolicyNamespace&,
32 MOCK_CONST_METHOD1(GetPolicies, const PolicyMap&(const PolicyNamespace&));
H A Dschema_map_unittest.cc74 EXPECT_FALSE(map->GetSchema(PolicyNamespace(POLICY_DOMAIN_CHROME, "")));
103 PolicyNamespace(POLICY_DOMAIN_CHROME, "")));
105 PolicyNamespace(POLICY_DOMAIN_CHROME, "extension-1")));
107 PolicyNamespace(POLICY_DOMAIN_CHROME, "legacy-extension")));
109 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "")));
111 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "extension-3")));
114 map->GetSchema(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "extension-1"));
119 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "legacy-extension"));
140 PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, "");
149 PolicyNamespace another_extension_n
[all...]
H A Dpolicy_service.cc12 const PolicyNamespace& ns)
28 void PolicyChangeRegistrar::OnPolicyUpdated(const PolicyNamespace& ns,
H A Dpolicy_service_stub.cc22 const PolicyNamespace& ns) const {
H A Dforwarding_policy_provider_unittest.cc83 const PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, "");
93 delegate_bundle->Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "xyz"))
131 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, "")).CopyFrom(policy_map);
132 bundle->Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "xyz"))
140 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "xyz"), CreateTestSchema());
151 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, ""))
161 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "xyz"))
168 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "xyz"), CreateTestSchema());
209 const PolicyNamespace ns(POLICY_DOMAIN_EXTENSIONS, "xyz");
H A Dpolicy_service_stub.h29 const PolicyNamespace& ns) const OVERRIDE;
H A Dschema_registry.h62 void RegisterComponent(const PolicyNamespace& ns,
69 virtual void UnregisterComponent(const PolicyNamespace& ns);
112 virtual void UnregisterComponent(const PolicyNamespace& ns) OVERRIDE;
144 virtual void UnregisterComponent(const PolicyNamespace& ns) OVERRIDE;
H A Dconfiguration_policy_provider_test.cc129 const PolicyNamespace ns(POLICY_DOMAIN_CHROME, "");
137 bool PolicyTestBase::RegisterSchema(const PolicyNamespace& ns,
178 const PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, "");
184 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS,
188 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS,
192 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS,
224 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
340 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
399 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
405 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSION
[all...]
H A Dpolicy_service_impl.h46 const PolicyNamespace& ns) const OVERRIDE;
59 void NotifyNamespaceUpdated(const PolicyNamespace& ns,
H A Dpolicy_service_impl_unittest.cc51 &bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()));
60 &bundle->Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension));
78 virtual void OnPolicyUpdated(const PolicyNamespace&,
141 bool VerifyPolicies(const PolicyNamespace& ns,
173 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()), expected));
199 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROME,
211 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()), expectedCurrent));
225 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROME,
236 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROME,
256 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROM
[all...]
H A Dpolicy_test_utils.h21 struct PolicyNamespace;
66 std::ostream& operator<<(std::ostream& os, const policy::PolicyNamespace& ns);
/external/chromium_org/components/policy/core/common/cloud/
H A Dcomponent_cloud_policy_updater.h54 void CancelUpdate(const PolicyNamespace& ns);
57 std::string NamespaceToKey(const PolicyNamespace& ns);
H A Dcomponent_cloud_policy_store.h65 const std::string& GetCachedHash(const PolicyNamespace& ns) const;
85 bool Store(const PolicyNamespace& ns,
91 void Delete(const PolicyNamespace& ns);
108 PolicyNamespace* ns,
138 std::map<PolicyNamespace, std::string> cached_hashes_;
H A Dcomponent_cloud_policy_store_unittest.cc86 PolicyNamespace ns(POLICY_DOMAIN_EXTENSIONS, kTestExtension);
125 PolicyNamespace ns;
136 PolicyNamespace ns;
143 PolicyNamespace ns;
150 PolicyNamespace ns;
157 PolicyNamespace ns;
165 PolicyNamespace ns;
174 PolicyNamespace ns;
181 PolicyNamespace ns;
187 PolicyNamespace n
[all...]
H A Dcomponent_cloud_policy_updater.cc58 PolicyNamespace ns;
98 void ComponentCloudPolicyUpdater::CancelUpdate(const PolicyNamespace& ns) {
103 const PolicyNamespace& ns) {
/external/chromium_org/chrome/browser/policy/
H A Dschema_registry_service.cc19 registry_->RegisterComponent(PolicyNamespace(POLICY_DOMAIN_CHROME, ""),
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dnetwork_configuration_updater.cc21 void NetworkConfigurationUpdater::OnPolicyUpdated(const PolicyNamespace& ns,
48 PolicyNamespace(POLICY_DOMAIN_CHROME,
76 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()));
H A Dlogin_profile_policy_provider.h32 virtual void OnPolicyUpdated(const PolicyNamespace& ns,
H A Ddevice_local_account_extension_tracker.cc28 PolicyNamespace ns(POLICY_DOMAIN_EXTENSIONS, account.kiosk_app_id);
76 PolicyNamespace ns(POLICY_DOMAIN_EXTENSIONS, it.key());

Completed in 259 milliseconds

1234