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

Unified Diff: components/policy/core/common/policy_test_utils.h

Issue 179813008: Move PolicyLoaderMac::CreateValueFromProperty to a generic file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: POLICY_EXPORT Created 6 years, 10 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: 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);

Powered by Google App Engine
This is Rietveld 408576698