android: Move battery metrics impl from chrome/ to components/
This moves the majority of AndroidBatteryMetrics from chrome/ to components/, so that we can reuse it for WebView/WebLayer in the future. The only aspect that remains in chrome/ is the detection of the app's visibility state, since this will have to be done some other way for WebView. Bug: 1102048 Change-Id: Ia8391fd5efd80411ac970c559cdf5db988ba9ea4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485794 Commit-Queue: Eric Seckler <eseckler@chromium.org> Reviewed-by:Matt Menke <mmenke@chromium.org> Reviewed-by:
Ted Choc <tedchoc@chromium.org> Reviewed-by:
Ryan Sturm <ryansturm@chromium.org> Cr-Commit-Position: refs/heads/master@{#819432}
Showing
Please register or sign in to comment