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_TEST_UTILS_H_ | 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_TEST_UTILS_H_ |
6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_TEST_UTILS_H_ | 6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_TEST_UTILS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <ostream> | 9 #include <ostream> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/macros.h" |
| 13 #include "build/build_config.h" |
13 #include "components/policy/core/common/policy_details.h" | 14 #include "components/policy/core/common/policy_details.h" |
14 #include "components/policy/core/common/policy_map.h" | 15 #include "components/policy/core/common/policy_map.h" |
15 #include "components/policy/core/common/policy_service.h" | 16 #include "components/policy/core/common/policy_service.h" |
16 #include "components/policy/core/common/policy_types.h" | 17 #include "components/policy/core/common/policy_types.h" |
17 | 18 |
18 namespace policy { | 19 namespace policy { |
19 | 20 |
20 class PolicyBundle; | 21 class PolicyBundle; |
21 struct PolicyNamespace; | 22 struct PolicyNamespace; |
22 | 23 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 60 |
60 std::ostream& operator<<(std::ostream& os, const policy::PolicyBundle& bundle); | 61 std::ostream& operator<<(std::ostream& os, const policy::PolicyBundle& bundle); |
61 std::ostream& operator<<(std::ostream& os, policy::PolicyScope scope); | 62 std::ostream& operator<<(std::ostream& os, policy::PolicyScope scope); |
62 std::ostream& operator<<(std::ostream& os, policy::PolicyLevel level); | 63 std::ostream& operator<<(std::ostream& os, policy::PolicyLevel level); |
63 std::ostream& operator<<(std::ostream& os, policy::PolicyDomain domain); | 64 std::ostream& operator<<(std::ostream& os, policy::PolicyDomain domain); |
64 std::ostream& operator<<(std::ostream& os, const policy::PolicyMap& policies); | 65 std::ostream& operator<<(std::ostream& os, const policy::PolicyMap& policies); |
65 std::ostream& operator<<(std::ostream& os, const policy::PolicyMap::Entry& e); | 66 std::ostream& operator<<(std::ostream& os, const policy::PolicyMap::Entry& e); |
66 std::ostream& operator<<(std::ostream& os, const policy::PolicyNamespace& ns); | 67 std::ostream& operator<<(std::ostream& os, const policy::PolicyNamespace& ns); |
67 | 68 |
68 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_TEST_UTILS_H_ | 69 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_TEST_UTILS_H_ |
OLD | NEW |