android: Reimplement adb_profile_chrome in Python

adb_profile_chrome is used to capture and download traces from Chrome on
Android. To prepare for future feature improvements and reduce the
maintenance burden, rewrite this bash script in Python.

This reimplementation keeps all the features and command line options of
the original and adds these new ones:

  --trace-cc          Enable extra trace categories for compositor frame
                      viewer data.
  --trace-gpu         Enable extra trace categories for GPU data.
  -z, --compress      Compress the resulting trace with gzip.

BUG=299822,294883

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226259 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 226259
cc: Remove dependency on ui now that gfx and events are separate components.

BUG=302505
R=danakj@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226260 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 226260
Set proper dialog size for captive portal window

BUG=297575
NOTRY=true

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

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