Fixes for memory and threading issues in cast

This change fixes one issue in media/cast code.

TickClock is not owned by CastEnvironment
TickClock assigned to CastEnvironment is owned by the creator of
CastSender/CastReceiver. However CastEnvironment is ref-counted.
This means it is possible that TickClock is deleted but deferenced
by some objects that still uses CastEnvironment.

Fixing this requires a sweeping change in unit tests. And it also
affects End2End test. The result is that CastEnvironment is shared
between CastSender and CastReceiver. This adds requirements to
log filtering because now a CastEnvironment used by CastSender can
see receiver events.

Tested this patch with valgrind and cast_unittests reports no error.
BUG=336887

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

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

BUG=313751
R=glider@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246864 0039d316-1c4b-4281-b951-d872f2087c98
Clean up old migration code and unused code for Drive mount paths.

GetDriveMountPointPathAsString is just unused now.
The other two migration related code is for converting configs before M26.

BUG=229304

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246865 0039d316-1c4b-4281-b951-d872f2087c98
Implement EXPECT_DFATAL in Chrome.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246866 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 246865
Copy VDA test streams to media/test/data.

BUG=332315
TEST=none

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

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