Revert 237667 "[Telemetry] Refactor common Android test harness ..."

http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28amd64%29/builds/12649/steps/BuildPackages/logs/stdio

autotest-chrome-0.0.1-r3242: ERROR:root:bluetooth_RegressionClient import error: No module named telemetry.core.  Skipping bluetooth_RegressionClient
autotest-chrome-0.0.1-r3242: Traceback (most recent call last):
autotest-chrome-0.0.1-r3242:   File "/build/amd64-generic/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r3242/work/autotest-work/client/bin/setup_job.py", line 72, in init_test
autotest-chrome-0.0.1-r3242:     exec import_stmt + '\n' + init_stmt in locals_dict, globals_dict
autotest-chrome-0.0.1-r3242:   File "<string>", line 1, in <module>
autotest-chrome-0.0.1-r3242:   File "/build/amd64-generic/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r3242/work/autotest-work/client/site_tests/bluetooth_RegressionClient/bluetooth_RegressionClient.py", line 7, in <module>
autotest-chrome-0.0.1-r3242:     from autotest_lib.client.cros.bluetooth import bluetooth_semiauto_helper
autotest-chrome-0.0.1-r3242:   File "/build/amd64-generic/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r3242/work/autotest-work/client/cros/bluetooth/bluetooth_semiauto_helper.py", line 10, in <module>
autotest-chrome-0.0.1-r3242:     from autotest_lib.client.cros import semiauto_framework
autotest-chrome-0.0.1-r3242:   File "/build/amd64-generic/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r3242/work/autotest-work/client/cros/semiauto_framework.py", line 9, in <module>
autotest-chrome-0.0.1-r3242:     from autotest_lib.client.common_lib.cros import chrome
autotest-chrome-0.0.1-r3242:   File "/build/amd64-generic/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r3242/work/autotest-work/client/common_lib/cros/chrome.py", line 7, in <module>
autotest-chrome-0.0.1-r3242:     from telemetry.core import browser_finder, browser_options, exceptions
autotest-chrome-0.0.1-r3242: ImportError: No module named telemetry.core

> [Telemetry] Refactor common Android test harness functions.
> 
> Refactoring common cleanup code required by both
> android_browser_finder.py and perf/setup.py and moving it into
> pyblib/utils/test_environment.py.
> Also, this change avoids killing twice the adb server when running
> in a bot environment, where the adb restart is already invoked by
> the bot steps.
> 
> BUG=268450
> R=bulach@chromium.org,tonyg@chromium.org
> NOTRY=true
> 
> Review URL: https://codereview.chromium.org/62953024

TBR=primiano@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237674 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 237674
Base: Remove Receive() from ScopedHandle.

In general, the OS API contract doesn't guarantee that output variables are
not modified on failure, so a Reeceive pattern is fundamentally insecure.

BUG=318531
TEST=current tests

tbr'ing owners for the consumers.

TBR=jvoung@chromium.org, thakis@chromium.org, sergeyu@chromium.org, grt@chromium.org, gene@chromium.org, youngki@chromium.org

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237459

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

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

build/java_apk,gypi defaults to something based on <(PRODUCT_DIR) for
asset_location, so apparently it doesn't require an absolute path. Absolute
paths are yucky, and the `pwd -P` pattern has led someone else astray, so
remove it.

BUG=none
R=cjhopman@chromium.org
TBR=avi

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237676 0039d316-1c4b-4281-b951-d872f2087c98
Enable immersive fullscreen for hosted apps part 1.

This CL introduces BrowserNonClientFrameView::GetTopInset().
BrowserNonClientFrameView::GetTopInset() returns the inset of the topmost view in the client view from the top of the window.
This change will allow the TopContainerView to be always flush with the top of the window (vs the top of the client view) when BrowserNonClientFrameViewAsh is used. This is currently not the case for browser popups and hosted apps. The immersive fullscreen reveal effect is achieved by moving the TopContainerView. The NonClientFrameView header is painted to the background of the TopContainerView. (Hence the necessity for the TopContainerView to reach to the top edge of the window)

Other changes:
- Removes BrowserNonClientFrameView::GetTabStripInsets()
- Makes BrowserViewLayout not dependant anymore on BrowserView

BUG=307622
TEST=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237677 0039d316-1c4b-4281-b951-d872f2087c98
Allow close_notify during the SSL handshake to trigger TLS fallback on Android

R=wtc@chromium.org
BUG=308650
TEST=Visit https://www.auroragov.org and observe that it loads.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237678 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 237678
Clarify callback.h const reference binding documentation.

NOTRY=true

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

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