/external/chromium_org/chrome/browser/policy/ |
policy_service.h | 37 struct PolicyNamespace { 39 PolicyNamespace(); 40 PolicyNamespace(PolicyDomain domain, const std::string& component_id); 41 PolicyNamespace(const PolicyNamespace& other); 42 ~PolicyNamespace(); 44 PolicyNamespace& operator=(const PolicyNamespace& other); 45 bool operator<(const PolicyNamespace& other) const; 46 bool operator==(const PolicyNamespace& other) const [all...] |
policy_service.cc | 11 PolicyNamespace::PolicyNamespace() {} 13 PolicyNamespace::PolicyNamespace(PolicyDomain domain, 18 PolicyNamespace::PolicyNamespace(const PolicyNamespace& other) 22 PolicyNamespace::~PolicyNamespace() {} 24 PolicyNamespace& PolicyNamespace::operator=(const PolicyNamespace& other) [all...] |
policy_bundle_unittest.cc | 74 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))); 79 EXPECT_TRUE(bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, 90 EXPECT_TRUE(bundle.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, 103 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))); 105 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension0))); 111 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, 113 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, 120 EXPECT_TRUE(bundle1.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, 122 EXPECT_TRUE(bundle1.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, 128 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROME [all...] |
policy_bundle.h | 21 typedef std::map<PolicyNamespace, PolicyMap*> MapType; 29 PolicyMap& Get(const PolicyNamespace& ns); 30 const PolicyMap& Get(const PolicyNamespace& ns) const;
|
mock_policy_service.h | 19 MOCK_METHOD3(OnPolicyUpdated, void(const PolicyNamespace&, 36 MOCK_CONST_METHOD1(GetPolicies, const PolicyMap&(const PolicyNamespace&));
|
mock_configuration_policy_provider.cc | 23 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
|
test_utils.cc | 18 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()));
|
policy_service_stub.cc | 26 const PolicyNamespace& ns) const {
|
policy_service_stub.h | 31 const PolicyNamespace& ns) const OVERRIDE;
|
policy_service_impl.h | 44 const PolicyNamespace& ns) const OVERRIDE; 59 void NotifyNamespaceUpdated(const PolicyNamespace& ns,
|
policy_service_impl_unittest.cc | 55 &bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())); 61 &bundle->Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension)); 77 virtual void OnPolicyUpdated(const PolicyNamespace&, 134 bool VerifyPolicies(const PolicyNamespace& ns, 163 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()), expected)); 180 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROME, 192 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()), expectedCurrent)); 200 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROME, 211 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROME, 225 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROME [all...] |
configuration_policy_pref_store.h | 48 virtual void OnPolicyUpdated(const PolicyNamespace& ns,
|
policy_domain_descriptor_unittest.cc | 77 PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, ""); 85 PolicyNamespace another_extension_ns(POLICY_DOMAIN_EXTENSIONS, "xyz"); 95 PolicyNamespace extension_ns(POLICY_DOMAIN_EXTENSIONS, "abc");
|
configuration_policy_provider_test.cc | 114 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) 230 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) 268 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) 327 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) 333 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, 336 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS,
|
configuration_policy_pref_store.cc | 78 const PolicyNamespace& ns, 117 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())));
|
policy_bundle.cc | 19 PolicyMap& PolicyBundle::Get(const PolicyNamespace& ns) { 27 const PolicyMap& PolicyBundle::Get(const PolicyNamespace& ns) const {
|
/external/chromium_org/chrome/browser/policy/cloud/ |
component_cloud_policy_store.h | 66 const std::string& GetCachedHash(const PolicyNamespace& ns) const; 86 bool Store(const PolicyNamespace& ns, 92 void Delete(const PolicyNamespace& ns); 106 PolicyNamespace* ns, 136 std::map<PolicyNamespace, std::string> cached_hashes_;
|
component_cloud_policy_store_unittest.cc | 75 PolicyNamespace ns(POLICY_DOMAIN_EXTENSIONS, kTestExtension); 108 PolicyNamespace ns; 119 PolicyNamespace ns; 126 PolicyNamespace ns; 133 PolicyNamespace ns; 140 PolicyNamespace ns; 148 PolicyNamespace ns; 157 PolicyNamespace ns; 164 PolicyNamespace ns; 170 PolicyNamespace ns [all...] |
component_cloud_policy_store.cc | 101 const PolicyNamespace& ns) const { 103 std::map<PolicyNamespace, std::string>::const_iterator it = 128 PolicyNamespace ns(constants.domain, id); 156 bool ComponentCloudPolicyStore::Store(const PolicyNamespace& ns, 177 void ComponentCloudPolicyStore::Delete(const PolicyNamespace& ns) { 216 std::map<PolicyNamespace, std::string>::iterator it = cached_hashes_.begin(); 220 std::map<PolicyNamespace, std::string>::iterator prev = it; 234 PolicyNamespace* ns,
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
login_profile_policy_provider.h | 32 virtual void OnPolicyUpdated(const PolicyNamespace& ns,
|
network_configuration_updater_impl.cc | 27 PolicyNamespace(POLICY_DOMAIN_CHROME, 65 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))); 90 const PolicyNamespace& ns, 141 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()));
|
network_configuration_updater_impl.h | 46 virtual void OnPolicyUpdated(const PolicyNamespace& ns,
|
login_profile_policy_provider.cc | 89 void LoginProfilePolicyProvider::OnPolicyUpdated(const PolicyNamespace& ns, 92 if (ns == PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) 112 const PolicyNamespace chrome_namespaces(POLICY_DOMAIN_CHROME, std::string());
|
network_configuration_updater_impl_cros.cc | 28 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())), 92 const PolicyNamespace& ns, 149 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()));
|
proxy_policy_provider_unittest.cc | 51 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) 65 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
|