Move PolicyLoaderMac::CreateValueFromProperty to a generic file.

This function converts a CFPropertyListRef to the equivalent base::Value.
This change moves that function to mac_util.h so that it can be reused on
iOS.

This change also moves a helper function that does the reverse conversion
for tests.

BUG=348820

Review URL: https://codereview.chromium.org/179813008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254967 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 3ad0981a561949af61dc8a5e3d8a419b545408f6
2 files changed
tree: 25395089c5aa9204ae47615d35eca4fd0f7d1273
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. ipc/
  6. mojo/
  7. testing/
  8. third_party/
  9. ui/