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
SVN changes up to revision 254967
Android::Pass Bitmap.Config instead of bool to CreateJavaBitmap

Now we have the enum conversion in place for Skia to Java and viceversa. Use this in CreateJavaBitmap and cleanup.

BUG=342822

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254968 0039d316-1c4b-4281-b951-d872f2087c98
Revert of re-land: Use browser compositor rendering stats in smoothness (https://codereview.chromium.org/174663008/)

Reason for revert:
Broke the smoothness perf tests on multiple bots.

BUG=349338

Original issue's description:
> re-land: Use browser compositor rendering stats in smoothness
> 
> PERF SHERRIFS: This patch can change the metrics of smoothness up or down.
> The new values should be more accurate than what we had before. If there are
> large changes on a platform, we should still sanity check that everything works
> as expected.
> 
> Switch smoothness benchmark to use rendering stats from the top level
> compositor; i.e. if data from a browser compositor is available, use that.
> Otherwise use the data from the renderer compositor.
> 
> The re-land fixes the problem where a browser compositor was present, but
> didn't record rendering stats. That was the case with the reference
> builds (that didn't have the patch that enabled recording) and on Android.
> The new version checks if the browser compositor rendering stats events
> actually have frames in them. If not, the render compositor stats will be used.
> There is also a fix on the way to enable the recording on Android
> (https://codereview.chromium.org/168193004/).
> 
> R=tonyg@chromium.org,nduca@chromium.org
> BUG=340753
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254811

TBR=nduca@chromium.org,tonyg@chromium.org,ernstm@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=340753

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254969 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 254969