OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/policy/schema_map.h" | 5 #include "components/policy/core/common/schema_map.h" |
6 | 6 |
7 #include "base/values.h" | 7 #include "base/values.h" |
8 #include "components/policy/core/common/policy_bundle.h" | 8 #include "components/policy/core/common/policy_bundle.h" |
9 #include "components/policy/core/common/policy_map.h" | 9 #include "components/policy/core/common/policy_map.h" |
10 | 10 |
11 namespace policy { | 11 namespace policy { |
12 | 12 |
13 SchemaMap::SchemaMap() {} | 13 SchemaMap::SchemaMap() {} |
14 | 14 |
15 SchemaMap::SchemaMap(DomainMap& map) { | 15 SchemaMap::SchemaMap(DomainMap& map) { |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 for (ComponentMap::const_iterator comp = components.begin(); | 96 for (ComponentMap::const_iterator comp = components.begin(); |
97 comp != components.end(); ++comp) { | 97 comp != components.end(); ++comp) { |
98 PolicyNamespace ns(domain->first, comp->first); | 98 PolicyNamespace ns(domain->first, comp->first); |
99 if (!other->GetSchema(ns)) | 99 if (!other->GetSchema(ns)) |
100 list->push_back(ns); | 100 list->push_back(ns); |
101 } | 101 } |
102 } | 102 } |
103 } | 103 } |
104 | 104 |
105 } // namespace policy | 105 } // namespace policy |
OLD | NEW |