Searched refs:POLICY_DOMAIN_CHROME (Results 1 - 25 of 56) sorted by relevance

123

/external/chromium_org/chrome/browser/policy/
H A Dschema_registry_service.cc19 registry_->RegisterComponent(PolicyNamespace(POLICY_DOMAIN_CHROME, ""),
22 registry_->SetReady(POLICY_DOMAIN_CHROME);
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dnetwork_configuration_updater.cc18 policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, this);
29 if (domain != POLICY_DOMAIN_CHROME)
32 if (policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME)) {
34 policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, this);
48 PolicyNamespace(POLICY_DOMAIN_CHROME,
59 if (policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME)) {
63 policy_service_->AddObserver(POLICY_DOMAIN_CHROME, this);
76 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()));
H A Dlogin_profile_policy_provider.cc100 device_policy_service_->AddObserver(POLICY_DOMAIN_CHROME, this);
101 if (device_policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME))
106 device_policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, this);
122 if (ns == PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
128 if (domain == POLICY_DOMAIN_CHROME)
142 const PolicyNamespace chrome_namespaces(POLICY_DOMAIN_CHROME, std::string());
H A Duser_cloud_policy_manager_chromeos_unittest.cc123 expected_bundle_.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
178 EXPECT_FALSE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
307 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
429 EXPECT_FALSE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
431 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
453 EXPECT_FALSE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
457 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
495 EXPECT_FALSE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
499 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
515 EXPECT_FALSE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
[all...]
H A Ddevice_local_account_policy_provider.cc100 if (domain == POLICY_DOMAIN_CHROME)
148 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
168 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()));
H A Dcloud_external_data_policy_observer.cc65 policy_service_->AddObserver(POLICY_DOMAIN_CHROME, this);
73 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
82 policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, this);
89 DCHECK(ns == PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()));
/external/chromium_org/components/policy/core/browser/
H A Dconfiguration_policy_pref_store.cc45 policy_service_->AddObserver(POLICY_DOMAIN_CHROME, this);
62 return policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME);
80 DCHECK_EQ(POLICY_DOMAIN_CHROME, ns.domain);
87 if (domain == POLICY_DOMAIN_CHROME) {
94 policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, this);
116 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())));
/external/chromium_org/components/policy/core/common/
H A Dpolicy_bundle_unittest.cc88 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())));
93 EXPECT_TRUE(bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME,
98 EXPECT_EQ(POLICY_DOMAIN_CHROME, it->first.domain);
117 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())));
125 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROME,
134 EXPECT_TRUE(bundle1.Get(PolicyNamespace(POLICY_DOMAIN_CHROME,
142 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROME,
159 bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
169 bundle1.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
179 bundle2.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, st
[all...]
H A Dschema_map_unittest.cc72 EXPECT_FALSE(map->GetComponents(POLICY_DOMAIN_CHROME));
74 EXPECT_FALSE(map->GetSchema(PolicyNamespace(POLICY_DOMAIN_CHROME, "")));
87 domain_map[POLICY_DOMAIN_CHROME] = component_map;
103 PolicyNamespace(POLICY_DOMAIN_CHROME, "")));
105 PolicyNamespace(POLICY_DOMAIN_CHROME, "extension-1")));
107 PolicyNamespace(POLICY_DOMAIN_CHROME, "legacy-extension")));
140 PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, "");
273 PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, "");
312 map[POLICY_DOMAIN_CHROME][""] = Schema();
314 map[POLICY_DOMAIN_CHROME][""]
[all...]
H A Dforwarding_policy_provider_unittest.cc71 EXPECT_CALL(mock_provider_, IsInitializationComplete(POLICY_DOMAIN_CHROME))
74 forwarding_provider_.IsInitializationComplete(POLICY_DOMAIN_CHROME));
83 const PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, "");
115 schema_registry_.SetReady(POLICY_DOMAIN_CHROME);
131 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, "")).CopyFrom(policy_map);
145 schema_registry_.SetReady(POLICY_DOMAIN_CHROME);
151 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, ""))
185 schema_registry_.SetReady(POLICY_DOMAIN_CHROME);
210 schema_registry_.SetReady(POLICY_DOMAIN_CHROME);
H A Dpolicy_namespace.h20 POLICY_DOMAIN_CHROME, enumerator in enum:policy::PolicyDomain
H A Dpolicy_provider_android_unittest.cc19 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
83 EXPECT_TRUE(provider.Get()->IsInitializationComplete(POLICY_DOMAIN_CHROME));
92 EXPECT_FALSE(provider.Get()->IsInitializationComplete(POLICY_DOMAIN_CHROME));
99 EXPECT_TRUE(provider.Get()->IsInitializationComplete(POLICY_DOMAIN_CHROME));
H A Dpolicy_service_impl_unittest.cc51 &bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()));
173 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()), expected));
178 policy_service_->AddObserver(POLICY_DOMAIN_CHROME, &observer);
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_CHROME,
268 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()), expectedCurrent));
270 policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME,
[all...]
H A Dforwarding_policy_provider.cc32 if (domain == POLICY_DOMAIN_CHROME)
89 const PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, "");
H A Dproxy_policy_provider_unittest.cc47 EXPECT_TRUE(proxy_provider_.IsInitializationComplete(POLICY_DOMAIN_CHROME));
53 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
67 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
H A Dmock_configuration_policy_provider.cc25 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
H A Dpolicy_provider_android.cc23 PolicyNamespace ns(POLICY_DOMAIN_CHROME, std::string());
H A Dpolicy_bundle.cc19 DCHECK(ns.domain != POLICY_DOMAIN_CHROME || ns.component_id.empty());
27 DCHECK(ns.domain != POLICY_DOMAIN_CHROME || ns.component_id.empty());
H A Dschema_map.cc43 if (it->first.domain == POLICY_DOMAIN_CHROME)
97 if (domain->first == POLICY_DOMAIN_CHROME)
H A Dconfiguration_policy_provider_test.cc129 const PolicyNamespace ns(POLICY_DOMAIN_CHROME, "");
178 const PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, "");
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()))
H A Dschema_registry_unittest.cc123 registry.SetReady(POLICY_DOMAIN_CHROME);
127 registry.SetReady(POLICY_DOMAIN_CHROME);
229 registry1->RegisterComponent(PolicyNamespace(POLICY_DOMAIN_CHROME, ""),
279 registry->SetReady(POLICY_DOMAIN_CHROME);
293 forwarding.SetReady(POLICY_DOMAIN_CHROME);
/external/chromium_org/components/policy/core/common/cloud/
H A Duser_cloud_policy_manager_unittest.cc41 expected_bundle_.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
92 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
H A Dcloud_policy_manager.cc55 if (domain == POLICY_DOMAIN_CHROME)
93 if (IsInitializationComplete(POLICY_DOMAIN_CHROME) &&
97 &bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())));
H A Dcloud_policy_manager_unittest.cc187 expected_bundle_.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
228 EXPECT_FALSE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
240 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
262 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
286 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
295 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
362 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
/external/chromium_org/chrome/browser/policy/cloud/
H A Dcloud_policy_browsertest.cc340 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))));
352 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))));
357 policy_service->AddObserver(POLICY_DOMAIN_CHROME, this);
386 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))));
388 policy_service->RemoveObserver(POLICY_DOMAIN_CHROME, this);
408 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))));
421 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))));
435 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))));

Completed in 254 milliseconds

123