Add support for closing Android Shell instances from Java.

This reverts commit 4e5242f7faa3f7ced3e8a955a8154c43016986d8.

This differs from the first patch in that creating a new shell does not
clean up the previous instances (i.e. by launching a new window via js).
That had timing dependencies that broke the webkit tests and I believe
the correct solution is to allow switching back and forth to various shells
and allowing the user to delete them.  That will be a larger patch that
I will handle separately.

TEST=webkit/tools/layout_tests/run_webkit_tests.py --platform=android --debug
TEST=build/android/test_runner.py instrumentation --test-apk ContentShellTest --test_data chrome:chrome/test/data/android/device_files -f ContentShellShellManagementTest#
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247099 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247099
[Telemetry] Add power usage metric

* Add a power usage metric and add sample usage in startup test.
* OS X: Only print power metrics stderr output when passing -v to Telemetry due to console spew.

BUG=336565,336672,336555

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247100 0039d316-1c4b-4281-b951-d872f2087c98
Add the kCADR (client address) tag to ServerHello.

It allows the server to send the observed client IP address and port
to the client.

Add the QuicSocketAddressCoder class for serializing and parsing a
socket address (IP address and port).

Merge internal CL: 60101137

R=rch@chromium.org,rtenneti@chromium.org
BUG=none
TEST=net_unittests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247101 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247100
SVN changes up to revision 247101
More cleanups in remoting.gyp

- Merged remoting_jingle_glue into remoting_protocol.
- Merged remoting_host_logging and remoting_host_event_logger
  into remoting_host.

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

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