Adding:
* @ste...@chromium.org for:
* `c/b/p/auto_picture_in_picture_tab_helper_browsertest.cc`
* @jar...@chromium.org for:
* `t/b/r/c/h/m/html_video_element.*`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (visual_size.width() <= 0xFFFF && visual_size.width() >= 0 &&Are we going to be able to meaningfully analyze this encoded data? Is there precedent for logging sizes in histograms?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (visual_size.width() <= 0xFFFF && visual_size.width() >= 0 &&Are we going to be able to meaningfully analyze this encoded data? Is there precedent for logging sizes in histograms?
Are we going to be able to meaningfully analyze this encoded data?
I believe so. This should help us adjust the threshold to a value that captures the majority of cases where we wouldn't want to ChAP.
Is there precedent for logging sizes in histograms?
Yes, at least one example [here](https://source.chromium.org/chromium/chromium/src/+/main:components/safe_browsing/content/browser/client_side_detection_host.cc;l=1744-1749;drc=f0d02a65a8f20891420949db8de824cf0b774687), which is where I got the idea from.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
if (visual_size.width() <= 0xFFFF && visual_size.width() >= 0 &&Benjamin KeenAre we going to be able to meaningfully analyze this encoded data? Is there precedent for logging sizes in histograms?
Are we going to be able to meaningfully analyze this encoded data?
I believe so. This should help us adjust the threshold to a value that captures the majority of cases where we wouldn't want to ChAP.
Is there precedent for logging sizes in histograms?
Yes, at least one example [here](https://source.chromium.org/chromium/chromium/src/+/main:components/safe_browsing/content/browser/client_side_detection_host.cc;l=1744-1749;drc=f0d02a65a8f20891420949db8de824cf0b774687), which is where I got the idea from.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Adding @toyo...@chromium.org for: `tools/metrics/histograms/metadata/media/.*`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
From googleclient/chrome/chromium_gwsq/ipc/config.gwsq:
IPC: ort...@chromium.org, toyo...@chromium.org
📎 It looks like you’re making a possibly security-sensitive change! 📎 IPC security review isn’t a rubberstamp, so your friendly security reviewer will need a fair amount of context to review your CL effectively. Please review your CL description and code comments to make sure they provide context for someone unfamiliar with your project/area. Pay special attention to where data comes from and which processes it flows between (and their privilege levels). Feel free to point your security reviewer at design docs, bugs, or other links if you can’t reasonably make a self-contained CL description. (Also see https://cbea.ms/git-commit/).
IPC reviewer(s): ort...@chromium.org, toyo...@chromium.org
Reviewer source(s):
ort...@chromium.org is from context(googleclient/chrome/chromium_gwsq/ipc/config.gwsq)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
Add Picture-in-Picture size constraint metrics and update size to DIP
This CL introduces three new UMA histograms to track Picture-in-Picture
size constraint outcomes:
* Media.PictureInPicture.SizeConstraintResult
* Media.PictureInPicture.AllowedVideoEncodedSize
* Media.PictureInPicture.BlockedVideoEncodedSize
The allowed and blocked video dimensions are encoded into a single
32-bit value, to correlate both width and height in a single histogram
sample. This will enable us to analyze the dimensions of both,
successful and blocked enter PiP video requests.
Additionally, this change updates the video size calculation to
correctly handle the monitor's device scale factor (DSF).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |