Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8043)

Unified Diff: chrome/browser/policy/policy_domain_descriptor.cc

Issue 22493010: policy: load JSON schema into domain descriptor at start time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comments and clean up includes Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/policy_domain_descriptor.cc
diff --git a/chrome/browser/policy/policy_domain_descriptor.cc b/chrome/browser/policy/policy_domain_descriptor.cc
index c841a55a5acc32ab5e361e8654722c13b9de2114..38327de95ab46fb0d41c022d036e336c64286b1b 100644
--- a/chrome/browser/policy/policy_domain_descriptor.cc
+++ b/chrome/browser/policy/policy_domain_descriptor.cc
@@ -57,9 +57,6 @@ void PolicyDomainDescriptor::RegisterComponent(
}
void PolicyDomainDescriptor::FilterBundle(PolicyBundle* bundle) const {
- // Chrome policies are not filtered, so that typos appear in about:policy.
- DCHECK_NE(POLICY_DOMAIN_CHROME, domain_);
-
for (PolicyBundle::iterator it_bundle = bundle->begin();
it_bundle != bundle->end(); ++it_bundle) {
const PolicyNamespace& ns = it_bundle->first;

Powered by Google App Engine
This is Rietveld 408576698