Index: components/policy/core/common/policy_test_utils.h |
diff --git a/components/policy/core/common/policy_test_utils.h b/components/policy/core/common/policy_test_utils.h |
index e2c0c73013716bb98dc110c8210ef9b1f3839b56..9a9cfbfb5a296468980e738c9a57e6bafd83c624 100644 |
--- a/components/policy/core/common/policy_test_utils.h |
+++ b/components/policy/core/common/policy_test_utils.h |
@@ -47,6 +47,14 @@ class PolicyDetailsMap { |
// current policies and returns false. |
bool PolicyServiceIsEmpty(const PolicyService* service); |
+#if defined(OS_IOS) || defined(OS_MACOSX) |
+ |
+// Converts a base::Value to the equivalent CFPropertyListRef. |
+// The returned value is owned by the caller. |
+CFPropertyListRef ValueToProperty(const base::Value* value); |
+ |
+#endif |
+ |
} // namespace policy |
std::ostream& operator<<(std::ostream& os, const policy::PolicyBundle& bundle); |