forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webview: metric for UI thread chosen in old apps.
Apps that target pre-JB MR2 have relaxed threading requirements for WebView. Add a metric that tracks whether deferring the decision of which thread is the UI thread was actually necessary or not. This may help us determine how widely this compatibility behaviour is still relied upon. Bug: 1106486 Change-Id: Ia0b56930f491d3dd2d42f6cc3197aa1eb23311e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2303771 Commit-Queue: Richard Coles <[email protected]> Reviewed-by: Changwan Ryu <[email protected]> Reviewed-by: Brian White <[email protected]> Auto-Submit: Richard Coles <[email protected]> Cr-Commit-Position: refs/heads/master@{#814200}
- Loading branch information
Showing
4 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2056,6 +2056,17 @@ reviews. Googlers can read more about this at go/gwsq-gerrit. | |
</summary> | ||
</histogram> | ||
|
||
<histogram name="Android.WebView.ActualUiThread" | ||
enum="AndroidWebViewActualUiThread" expires_after="2021-03-31"> | ||
<owner>[email protected]</owner> | ||
<owner>src/android_webview/OWNERS</owner> | ||
<summary> | ||
Recorded once per startup for apps targeting releases before JB MR2 if they | ||
create their first WebView off the main thread. This records which thread | ||
they actually ended up using as their UI thread. | ||
</summary> | ||
</histogram> | ||
|
||
<histogram name="Android.WebView.AndroidProtocolHandler.ResourceGetIdentifier" | ||
enum="BooleanSuccess" expires_after="2021-01-30"> | ||
<owner>[email protected]</owner> | ||
|