| 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 #ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_MAP_H_ | 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_MAP_H_ |
| 6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_MAP_H_ | 6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_MAP_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 #include <set> | 11 #include <set> |
| 10 #include <string> | 12 #include <string> |
| 11 | 13 |
| 14 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/values.h" | 16 #include "base/values.h" |
| 14 #include "components/policy/core/common/external_data_fetcher.h" | 17 #include "components/policy/core/common/external_data_fetcher.h" |
| 15 #include "components/policy/core/common/policy_types.h" | 18 #include "components/policy/core/common/policy_types.h" |
| 16 #include "components/policy/policy_export.h" | 19 #include "components/policy/policy_export.h" |
| 17 | 20 |
| 18 namespace policy { | 21 namespace policy { |
| 19 | 22 |
| 20 // A mapping of policy names to policy values for a given policy namespace. | 23 // A mapping of policy names to policy values for a given policy namespace. |
| 21 class POLICY_EXPORT PolicyMap { | 24 class POLICY_EXPORT PolicyMap { |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 const PolicyMapType::value_type& b); | 126 const PolicyMapType::value_type& b); |
| 124 | 127 |
| 125 PolicyMapType map_; | 128 PolicyMapType map_; |
| 126 | 129 |
| 127 DISALLOW_COPY_AND_ASSIGN(PolicyMap); | 130 DISALLOW_COPY_AND_ASSIGN(PolicyMap); |
| 128 }; | 131 }; |
| 129 | 132 |
| 130 } // namespace policy | 133 } // namespace policy |
| 131 | 134 |
| 132 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_MAP_H_ | 135 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_MAP_H_ |
| OLD | NEW |