Cast: Multi-threading the test app

1. Runs Cast on multiple threads.
2. Runs transport on a designated thread.
3. Cleans up receive process.
4. Adds sender timing.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236683 0039d316-1c4b-4281-b951-d872f2087c98
Take a reference to ResourceResponse in CrossSiteResourceHandler.

The BufferedResourceHandler and others end up taking a reference, but
CrossSiteResourceHandler should too.

BUG=none
TEST=no behavior change.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236684 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 236684
Cleanup: Remove many unused wstring string_utils.

BUG=23581
R=scottmg@chromium.org, thakis@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236685 0039d316-1c4b-4281-b951-d872f2087c98
Fix focus issues with the Google earth NPAPI plugin in Windows desktop Aura.

The Google earth NPAPI plugin is a windowed plugin which sets focus to itself when we click on it. When we click on
the webpage after that the page never gets focus and all keystrokes continue to go to the plugin.

This works when we click on the omnibox because in its mouse down handler the omnibox eventually calls view::RequestFocus
which in turn calls the windows API SetFocus which sets keyboard focus to the window.

Fix is to do the same thing in the RenderwidgetHostViewaura::OnMouseEvent function.
The other change is in the HWNDMessageHandler::OnMouseActivate handler. We check if a child window is being activated and
if yes then we treat it as if the containing window lost activation. On a web page this would translate to Blur being sent
to the renderer etc. This is only done for AURA to eliminate this playing bad with non AURA code.

Fixes bug https://code.google.com/p/chromium/issues/detail?can=2&q=318488

BUG=318488
R=cpu@chromium.org, sky@chromium.org, jam, scottmg, sky

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

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