This CL enables the cast library to use the P2P socket library to send UDP packets.

BUG=301920

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239891 0039d316-1c4b-4281-b951-d872f2087c98
Mojo: Support passing invalid handles

BUG=327263

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239892 0039d316-1c4b-4281-b951-d872f2087c98
cc: Added invalidation frequency for picture pile.

This patch keeps track of the invalidation frequency of each of
the picture pile grid cells. When the invalidation goes over a
certain threshold (0.75) and the grid cell is further than
specified amount of pixels from the viewport (512), then the
cell is not re-recorded. For a cell that was previously skipped,
either frequency dropping below the threshold or it coming closer
than 512 pixels will cause it to re-record again.

BUG=254320

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239893 0039d316-1c4b-4281-b951-d872f2087c98
Linux Sandbox: check no threads before fork().

Always check that no threads are running before fork().

BUG=327241
NOTRY=true

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

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