[Android] Modify CreateJavaBitmap to accept SkBitmap::Config and export the API.

Export the API CreateJavaBitmap to be utilized from other places instead of
using the BitmapHelper class.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255327 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 255327
This CL implemented part of chrome power profiler, including the service, data provider and observer base.

BUG=337138

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255328 0039d316-1c4b-4281-b951-d872f2087c98
telemetry: Update docstrings after TimelineData patch.

R=nduca@chromium.org
BUG=348875,347802
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255329 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 255329
Adjusts the call sequences in cc::ResourceProvider::MapImage to map image first and then call GetStride.

Current call sequences may get wrong stride for the on-going SurfaceTexture-based GpuMemoryBuffer for Android.

BUG=347890

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255330 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 255330
[Android] Reset the set of observers when the tab is destroyed.

It's ok to remove or add the observers after the onDestroyed is received.

NOTRY=True

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

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