commit | 408c3fd41ed811317f8f510257127bc8bb392f0e | [log] [tgz] |
---|---|---|
author | avvall <avvall@google.com> | Mon Aug 01 19:18:13 2022 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Aug 01 19:25:44 2022 |
tree | 5df64eea93353b99088700e45d6a1f70c555abdd | |
parent | 7d5006047f7e8df763ab94083386fbc370c74f30 [diff] |
WebView: Adding back WebView load time calculation with updated API. Due to API council feedback in b/184026615, the way Android recorded some load times was through an array and the way to retrieve them was through indices of the array. There was a change which transformed the array into a group of getter methods. WeBview now uses one of the get methods to record when WebView began loading into memory and subtracts the time at the end of loading WebView to get the total load time. Bug: 1208089 Test: See the associated bug for testing details. Change-Id: I47d453f69496f303c1c945d11a44abd9e24d8a27 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3803354 Commit-Queue: Adam Walls <avvall@google.com> Reviewed-by: Richard Coles <torne@chromium.org> Reviewed-by: Michael Bai <michaelbai@chromium.org> Cr-Commit-Position: refs/heads/main@{#1030219} NOKEYCHECK=True GitOrigin-RevId: 723ca35b4cecc3ffb79ed74542fe663c1171cd75
This folder contains a shim layer between the public frameworks APIs (android.webkit.*
) and WebView's implementation, and allows them to (mostly) not directly depend on each other.
//android_webview/java/
must not depend on this directory.