Pass WebMediaStreamTrack to CastSendTransport

Convert a v8::Value to WebMediaStreamTrack and assign it to
CastSendTransport. With this change the JS to native code conversion
for Cast extensions API is complete.

BUG=301920

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233870 0039d316-1c4b-4281-b951-d872f2087c98
Use COMPILE_ASSERT in bit_cast() instead of ad-hoc compile assertion implementation.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233871 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 233871
don't launch chrome.exe when running in metro test binary

In ash_unittests, TestMetroViewerProcessHost launches the metro viewer,
and the metro viewer is expected to connect back to it. By default
though, it launches chrome because it normally needs to do that to
have something to connect to.

Normally, ash_unittests creates the pipe, so chrome.exe's pipe creation
fails, and then chrome.exe shuts down when the viewer shuts down. If,
however, chrome takes longer to start, then the ash_unittests test
may finish, try to kill chrome.exes, then chrome.exe starts up and
creates the host pipe, then the next ash_unittest test starts up, and
fails because it will fail to create the pipe.

To avoid this race, pass an argument to the viewer (normally "open",
now in tests "test_open") that inhibits it from starting chrome.exe

R=ananta@chromium.org
TBR=sky@chromium.org
BUG=303478,316012

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233872 0039d316-1c4b-4281-b951-d872f2087c98
Create WindowAndroid in WebView.

BUG=308460

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

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