0
Commit Graph

1476226 Commits

Author SHA1 Message Date
11a0f1ec38 Enable MPO for moving clear video quads on new Intel GPU drivers
Intel gfx driver team cannot reproduce this issue on the new GPU
drivers. A patch inside 31.0.101.4471 driver binary has fixed the
problem.

At the same time, AMD/NVIDIA GPU drivers are kept being disabled as before from the manual test results provided here. More evidence and verification are required for their better fixing in future.

Bug: 40677119
Change-Id: Id1f512d45fa803be7e233b5753a09fba5c64cd99
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5831715
Commit-Queue: Chunbo Hua <chunbo.hua@intel.com>
Reviewed-by: Michael Tang <tangm@microsoft.com>
Reviewed-by: Maggie Chen <magchen@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354935}
2024-09-13 01:10:00 +00:00
874ab5e3c0 Remove kTranslateMessageUI flag from chrome_translate_client because it is already default enabled. (TranslateMessages)
Bug: 364728321
Change-Id: I224aa1fd978cdb7e53865e8c209e44a63ec4cc6a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5854295
Commit-Queue: Sana Akbani <sanaakbani@google.com>
Reviewed-by: Trevor Perrier <perrier@chromium.org>
Reviewed-by: Anthony Cui <cuianthony@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354934}
2024-09-13 01:09:34 +00:00
bee21103a3 WTF: Add CheckedBegin() and CheckedEnd() to WTF::Vector
This CL has no user-visible behavior changes.

Bug: 355003172
Change-Id: Ie3666c77dc35547ae845c5203a99ceb4fa971ecb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5856439
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Auto-Submit: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354933}
2024-09-13 01:01:34 +00:00
b5ef432521 Merge emoji results from different locales more efficiently.
This new method is more verbose but doesn't require a "seen" set.

Bug: b:357772460
Change-Id: Iac00a0b8e9410de3854787eca2ba7b85e63fffd4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5849409
Reviewed-by: Michael Cui <mlcui@google.com>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354932}
2024-09-13 01:00:36 +00:00
f560fdf062 Use equal_range with custom comparator for emoji search.
Bug: b:357772460
Change-Id: Ia11a66f9e88e58cdf9c0775d471a8b208e6a26b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5832778
Reviewed-by: Michael Cui <mlcui@google.com>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354931}
2024-09-13 01:00:21 +00:00
daa10528b9 Add isBack/isForward/isRestore to NavigationListener messages
This is useful to remove the need for apps to infer this using various
heuristics.

Bug: 332809183
Change-Id: I5681ef1f05df229740578095ca10d97c92059ed4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5855983
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Richard (Torne) Coles <torne@chromium.org>
Commit-Queue: Rakina Zata Amni <rakina@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354930}
2024-09-13 00:58:42 +00:00
065466760d Roll Catapult from c46e0e5bd633 to 296226a4a006 (1 revision)
https://chromium.googlesource.com/catapult.git/+log/c46e0e5bd633..296226a4a006

2024-09-12 sunxiaodi@google.com [skia-perf] add fuchsia service accts and domains to anomaly detection

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/catapult-autoroll
Please CC chrome-speed-operations@google.com,dberris@chromium.org,haowoo@google.com,jbudorick@chromium.org,johnchen@chromium.org,sullivan@chromium.org,wenbinzhang@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Bug: chromium:325122543
Tbr: haowoo@google.com
Change-Id: I75eb97c93b40103b68ac414e53a94beaa3278f9c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858604
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1354929}
2024-09-13 00:56:19 +00:00
828eb6d145 [DefaultBrowser] Add helper for the role manager restriction
This CL adds a helper DefaultBrowserPromoUtils#shouldShowOtherPromo to
decide if other default browser promos can be shown.
The conditions mean to ensure that we only show other promo when the
role manager promo can't be shown either because of reaching the max
count or role manager not available in the current system.


It also adds the a feature engagement event to ensure the new promo
can only be shown if the role manager promo not shown in the 7 days
window.


Bug: 364906215
Change-Id: If5684ee24ff87d193939dd9b8c6ae6d2a8af783c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5839024
Reviewed-by: Shakti Sahu <shaktisahu@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Commit-Queue: Ella Ge <eirage@chromium.org>
Reviewed-by: Theresa Sullivan <twellington@chromium.org>
Reviewed-by: Lijin Shen <lazzzis@google.com>
Cr-Commit-Position: refs/heads/main@{#1354928}
2024-09-13 00:52:37 +00:00
2bf900a84b Create a delegate to manage certificates and sign requests
Facilitates generating a signature for YMC API POST requests.
Headers are generated in a follow up CL.

Bug: b:343737170
Change-Id: I30fa2b3e22a342bcf09a0fe9700d59ad0637b23b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5840697
Reviewed-by: Richard Chui <richui@chromium.org>
Commit-Queue: Sean Kau <skau@chromium.org>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354927}
2024-09-13 00:49:39 +00:00
097ac882ad Fix crash for CHECK
Headers are not yet populated so this CHECK is going to fail. Remove
it until the rest of the changes land.

Bug: b:343737170
Change-Id: Ia079dfcd581479a6bae19c0b6a14a7ffc897e191
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858815
Reviewed-by: Yongshun Liu <yongshun@chromium.org>
Commit-Queue: Yongshun Liu <yongshun@chromium.org>
Commit-Queue: Sean Kau <skau@chromium.org>
Auto-Submit: Sean Kau <skau@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354926}
2024-09-13 00:47:58 +00:00
c73d55dc15 focus_mode: Add retry to playlist thumbnail downloading
This adds retry to playlist thumbnail downloading.

Bug: b/364350380
Test: Manual
Change-Id: Id09ec9bda084c8324cce304b9d5e3febec701f6e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858095
Reviewed-by: Richard Chui <richui@chromium.org>
Commit-Queue: Yongshun Liu <yongshun@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354925}
2024-09-13 00:44:41 +00:00
4f095d5dc3 [Discovery] Fix DialMediaSinkServiceImplTest
DialMediaSinkServiceImplTest.OnUserGesture incorrectly passes when the
DelayMediaSinkDiscovery flag is disabled because the `SetUp()` assigns
mock objects to the `media_sink_service_`, causing it to bypass
`Initilaize()`.

Bug: 345056325
Change-Id: I5ed4edf9ea44d926490b3199cac1135f40ecefc2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858618
Reviewed-by: Mark Foltz <mfoltz@chromium.org>
Commit-Queue: Muyao Xu <muyaoxu@google.com>
Cr-Commit-Position: refs/heads/main@{#1354924}
2024-09-13 00:43:10 +00:00
b282771592 Roll Chrome Mac Arm PGO Profile
Roll Chrome Mac Arm PGO profile from chrome-mac-arm-main-1726178274-59dc89e4b41e1e11e9cd84982241f1dd897c02ce-c5d91e01b2bd396034ec054cf9202ae6837d57db.profdata to chrome-mac-arm-main-1726185583-5783dee4f5b6d70c24a6e054565ccb440f79abd7-4b1598533eea46cebd64619eb39a6e792b35be9a.profdata

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/pgo-mac-arm-chromium
Please CC chrome-brapp-engprod@google.com,pgo-profile-sheriffs@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium main branch: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:mac-chrome
Tbr: pgo-profile-sheriffs@google.com
Change-Id: I441893cf09066f708df1acbf3d05454f1d0420e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858311
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1354923}
2024-09-13 00:40:47 +00:00
02ef5b8691 Roll Skia from 50e42f9f4756 to 515a23f3cbe1 (3 revisions)
https://skia.googlesource.com/skia.git/+log/50e42f9f4756..515a23f3cbe1

2024-09-12 lukasza@chromium.org [rust png] Handling interlaced images in `onIncrementalDecode`.
2024-09-12 jvanverth@google.com Reland "[graphite] Add analytic clip support."
2024-09-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 5a507062e158 to bc0954c735ac (6 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-autoroll
Please CC bwils@google.com,skiabot@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux-blink-rel;luci.chromium.try:linux-chromeos-compile-dbg;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Cq-Do-Not-Cancel-Tryjobs: true
Bug: chromium:356923435
Tbr: bwils@google.com
Change-Id: Ia7f73de57cafd12ea95a909dbbdf4f15c63e49a1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858599
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1354922}
2024-09-13 00:36:33 +00:00
f20d40b291 [STG] Filter out groups of size 0 and orphan/delete them after a period
This is done because groups of size 0 can exist, and should be handled
correctly (i.e. dont show them in the UI and delete them after a period of time)

Bug: 365614810
Change-Id: Icdbe41af41264cf3bb8f20223c016881ea5feed8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5846997
Reviewed-by: Rushan Suleymanov <rushans@google.com>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Darryl James <dljames@chromium.org>
Commit-Queue: David Pennington <dpenning@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354921}
2024-09-13 00:35:24 +00:00
5058e792be Fix typo in template tag for Secure DNS setting
Previously crrev.com/c/5784654 added the new HTTPS-First Mode
settings, which updated the Secure DNS setting to be set up slightly
differently depending on whether the new HTTPS-First Mode settings
were enabled or not, using multiple "dom-if" templates (as a sort of
"if-else"). The "else" branch had a typo on the tag (`<template`)
which meant the dom-if property was never being applied.

This also adds regression tests to verify that only one or the other of
the Secure DNS setting variants is shown in each configuration (using
added `#secureDnsSettingOld` and `#secureDnsSettingNew` element IDs).

Fixed: 365884462
Change-Id: I597b7a63a9bf7eabc427472cab570ad2d565e4b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5857984
Reviewed-by: Rainhard Findling <rainhard@chromium.org>
Commit-Queue: Chris Thompson <cthomp@chromium.org>
Reviewed-by: Rebekah Potter <rbpotter@chromium.org>
Auto-Submit: Chris Thompson <cthomp@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354920}
2024-09-13 00:34:31 +00:00
88defca759 Attempt to reland Cast builders for arm64 rel.
This CL relands https://crrev.com/c/5847715 for arm64 release flavor,
with no unittests enabled.

The following builders have been turned on:
 - linux-arm64-cast-rel (for validating release arm64 desktop builds)

This CL re-uses the test suites from the previous builders. Android
and Fuchsia cast builders remain unaffected.

Bug: b:41489655,b:244777999,b:364665698
Change-Id: Ia13d0075f2c85c563ea89c24ba566218db26003e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5847056
Reviewed-by: Mark Foltz <mfoltz@chromium.org>
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Commit-Queue: Vigen Issahhanjan <vigeni@google.com>
Cr-Commit-Position: refs/heads/main@{#1354919}
2024-09-13 00:34:05 +00:00
0bcd6fcfd9 Remove old pdf fragment
Remove the old pdf fragment for now until we could reuse it.
Use tab id to tag the fragment, which is unique and not changing.

Low-Coverage-Reason: TRIVIAL_CHANGE
Bug: 360717802
Change-Id: I4ddceb4aff910d2620157b73481aeb726fb9ecd1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858249
Commit-Queue: Shu Yang <shuyng@google.com>
Reviewed-by: Theresa Sullivan <twellington@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354918}
2024-09-13 00:32:17 +00:00
2f18e6d0c9 Remove chromium_gtests form Cast test suite.
Bug: b:364665698
Change-Id: I0ae32a4ed122fe2a1cb7fa71c277ae7632ca76ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858835
Commit-Queue: Vigen Issahhanjan <vigeni@google.com>
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354917}
2024-09-13 00:28:57 +00:00
de726f51e2 Onboard forms annotations as an opt type
Bug: 361692317
Change-Id: I1cdebaa6b52470e057f58f478ca7c5499fea82fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858718
Reviewed-by: Raj T <rajendrant@chromium.org>
Commit-Queue: Sophie Chang <sophiechang@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1354916}
2024-09-13 00:27:57 +00:00
e0aeb6adbd Roll vulkan-deps from 5a507062e158 to c045c2192ab4 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/5a507062e158..c045c2192ab4

Also rolling transitive DEPS:
  380275eacd..37d2fcb485

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-chromium-autoroll
Please CC angle-team@google.com,gman@google.com,radial-bots+chrome-roll@google.com,radial-bots@google.com,webgpu-developers@google.com,yuxinhu@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel;luci.chromium.try:linux-swangle-try-x64;luci.chromium.try:win-swangle-try-x86;luci.chromium.try:dawn-linux-x64-deps-rel;luci.chromium.try:win-asan;luci.chromium.try:linux_chromium_cfi_rel_ng
Bug: None
Tbr: gman@google.com,radial-bots+chrome-roll@google.com,yuxinhu@google.com
Change-Id: I2e1c900a13ab634d12574fa2a8de487d71b2f012
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5856369
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1354915}
2024-09-13 00:27:43 +00:00
8e037f9a17 Create c/b/chromeos/extensions/info_private
Bug: b:351889283
Change-Id: If7c0eae3f62eaa9d82e76eb19c4d0e8b86bff154
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5857079
Commit-Queue: Georg Neis <neis@chromium.org>
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354914}
2024-09-13 00:24:09 +00:00
bb750eb34e updater: reinforce updating a nonexistent system app via legacy COM API
This CL checks that the client is elevated before updating an app that
is not already installed.

Fixed: 366287940
Change-Id: I34bc32d30644ee1071eb1514ae62fbaf5ce93de6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5857253
Reviewed-by: Xiaoling Bao <xiaolingbao@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Auto-Submit: S Ganesh <ganesh@chromium.org>
Commit-Queue: S Ganesh <ganesh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354913}
2024-09-13 00:23:13 +00:00
e9c667dfef Create c/b/chromeos/extensions/external_loader
Bug: b:351889283
Change-Id: I189e0c641b02b6880435e80f3b5cce41e423916d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5854302
Commit-Queue: Georg Neis <neis@chromium.org>
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354912}
2024-09-13 00:22:59 +00:00
f9803009cd Roll optimization-guide from f592e6c64951 to 5872c531104b
f592e6c649..5872c53110

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/optimization-guide-chromium
Please CC chrome-intelligence-core@google.com,sophiechang@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Change-Id: I2a12f21610c462eb551e053aa7cbc30bcb3e7df4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858309
Commit-Queue: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Bot-Commit: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1354911}
2024-09-13 00:22:00 +00:00
3a4360b7ae Create c/b/chromeos/extensions/accessibility_service_private
Bug: b:351889283
Change-Id: I635b7bd54590acf715c88e32cc4768e0421a6b16
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5856860
Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354910}
2024-09-13 00:21:48 +00:00
f74fb79431 [dPWA][mac][SystemMediaControls] Enable by default
Bug: 40275333
Change-Id: I252e8fb522331ceff60d3bc3fbc02d77b709077e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5851932
Reviewed-by: Tommy Steimel <steimel@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Commit-Queue: Stanley Hon <stahon@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1354909}
2024-09-13 00:19:07 +00:00
13efc7904b Enable benchmark retries for android-pixel6-perf-pgo
This can help reduce failure rate of the builder.

Bug: b:364850602
Change-Id: I781457a310e7d8484aa7f4fe24daedadfdb52aad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5836584
Reviewed-by: John Chen <johnchen@chromium.org>
Commit-Queue: Zhaoyang Li <zhaoyangli@chromium.org>
Reviewed-by: Peter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354908}
2024-09-13 00:18:06 +00:00
3a27dfbe57 Roll captured_sites/autofill from a24fec9095b5 to f89467a2c146 (3 revisions)
a24fec9095..f89467a2c1

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/captured-sites-autofill-chromium
Please CC chrome-captured-sites-tests-autofill@google.com,ianstruiksma@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in captured_sites/autofill: https://bugs.chromium.org/p/chromium/issues/entry?components=UI%3EBrowser%3EAutofill%20%26%20Test%3EDesktop
To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:linux-autofill-captured-sites-rel
Bug: chromium:329141917,chromium:366280644,chromium:40166752
Tbr: chrome-captured-sites-tests-autofill@google.com
Change-Id: I8c46b818f2462666d61375d67e7b6f1824c80bfb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858602
Commit-Queue: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Bot-Commit: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1354907}
2024-09-13 00:17:03 +00:00
51d568c139 Add tby@ as OWNER to tools/metrics/histograms/metadata/chromeos
With mahi and other features putting more metrics into ChromeOS.*,
adding myself to that as owner :) I'm metrics trained with owner in
a few other prefixes also: https://source.chromium.org/search?q=content:tby@%20f:metrics.*metadata.*OWNERS&sq=&ss=chromium

Change-Id: Iccca9a7c4c045fc26cbdfe7ffcd133cd7a602868
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5856961
Commit-Queue: Tony Yeoman <tby@chromium.org>
Reviewed-by: Kyle Horimoto <khorimoto@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354906}
2024-09-13 00:16:08 +00:00
1594d8e7c5 Block all GPU acceleration on VMware on Windows.
TEST=gpu_unittests
R=magchen@chromium.org

Bug: 325159675
Change-Id: Ia250d56c5dd466f20e4cdae60c3b572e0d47aec3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5856023
Reviewed-by: Maggie Chen <magchen@chromium.org>
Commit-Queue: Zhenyao Mo <zmo@chromium.org>
Auto-Submit: Zhenyao Mo <zmo@chromium.org>
Commit-Queue: Maggie Chen <magchen@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354905}
2024-09-13 00:15:53 +00:00
c4b40cb061 Roll Chrome Win64 PGO Profile
Roll Chrome Win64 PGO profile from chrome-win64-main-1726163968-d1e6bb7d3848ab67df707b15e277d6ed36f5c698-3e05ea37a9e504bf64a476136567987e6f12c744.profdata to chrome-win64-main-1726174602-32cd6addeed7afb1645cbffd31c62a520e78b118-95f6df07bed3ceb2d90bc0084d2ec7c7fb0f74d0.profdata

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/pgo-win64-chromium
Please CC chrome-brapp-engprod@google.com,pgo-profile-sheriffs@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium main branch: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:win64-chrome
Tbr: pgo-profile-sheriffs@google.com
Change-Id: I44e43727418430092eea463cede9e27cceec00cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858308
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1354904}
2024-09-13 00:08:24 +00:00
c82c3d1717 Add ComposeAXSnapshot to field trial testing
Bug: b/356147174
Change-Id: I31ceeead74ba7767d267d3a45c2283768813055f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5846535
Reviewed-by: Sophey Dong <sophey@chromium.org>
Commit-Queue: Ryan Sturm <ryansturm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354903}
2024-09-13 00:06:31 +00:00
4b1598533e Set more appropriate flex behavior keys
This is part of crrev.com/c/5828724. After we merge GetHeightForWidth
and CalculatePreferredSize, we can let Boxlayout reduce some layout
calculations at the right time. Then some inaccurate flex behavior
settings will cause it to stretch incorrectly.

Bug: 363806071
Change-Id: Ie89440eae11e32bd701373348eee05f47e496487
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5854519
Reviewed-by: Matthew Mourgos <mmourgos@chromium.org>
Commit-Queue: Weidong Liu <weidongliu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354902}
2024-09-12 23:59:43 +00:00
f06c5a620f Remove most int processing from privacy_math.cc
For the most part, inputs within attribution_reporting::internal
are replaced with StrictNumeric inputs.

This also fixes a bug with int overflow in incrementing `k` in
`GetKCombinationAtIndex`.

Bug: 365694582
Change-Id: Ic88575c07abb02072d9ac91566411418f9875594
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5857843
Reviewed-by: Andrew Paseltiner <apaseltiner@chromium.org>
Commit-Queue: Charlie Harrison <csharrison@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354901}
2024-09-12 23:58:22 +00:00
471ba74e97 webnn: Add WPTs asserting input tensors are not modified
The TFLite and CoreML backends explicitly assume that tensors passed as
an input to graph execution are not modified by the underlying
framework. We should specify this behavior

Bug: 366130770
Change-Id: I326975b05ca1163a3cba6a90e81ee22982252a65
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel,mac14-blink-rel,mac14.arm64-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5848368
Reviewed-by: Weizhong Xia <weizhong@google.com>
Reviewed-by: ningxin hu <ningxin.hu@intel.com>
Commit-Queue: Austin Sullivan <asully@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354900}
2024-09-12 23:52:30 +00:00
6b81c26dd3 Roll devtools-internal from deb3ee221f38 to 8a78a88fff3a (1 revision)
deb3ee221f..8a78a88fff

Also rolling transitive DEPS:
  5af82613ea..d601633cd8

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/devtools-internal-chromium
Please CC devtools-waterfall-sheriff-onduty@rotations.google.com,liviurau@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:linux-chromeos-chrome
Bug: None
Tbr: devtools-waterfall-sheriff-onduty@rotations.google.com
Change-Id: I7f987b2713d33a0f05bc8f17aafe4c31058b4e27
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858094
Bot-Commit: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Commit-Queue: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1354899}
2024-09-12 23:43:30 +00:00
a5fdcf47fd Roll Chrome Win32 PGO Profile
Roll Chrome Win32 PGO profile from chrome-win32-main-1726163968-09e9f69aa5b5a9ed838cc6048a1d05ebbd3ec1ac-3e05ea37a9e504bf64a476136567987e6f12c744.profdata to chrome-win32-main-1726174602-5dbeb5b52ded40522248d0fea572a2a9cbf1d1e2-95f6df07bed3ceb2d90bc0084d2ec7c7fb0f74d0.profdata

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/pgo-win32-chromium
Please CC chrome-brapp-engprod@google.com,pgo-profile-sheriffs@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium main branch: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:win-chrome
Tbr: pgo-profile-sheriffs@google.com
Change-Id: Iaeb12a3c849aa9766ba50578ea29b1b3644cf27a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858013
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1354898}
2024-09-12 23:38:34 +00:00
ec576ae7c2 Set more appropriate flex behavior keys
This is part of crrev.com/c/5828724. After we merge GetHeightForWidth
and CalculatePreferredSize, we can let Boxlayout reduce some layout
calculations at the right time. Then some inaccurate flex behavior
settings will cause it to stretch incorrectly.

Bug: 363806071
Change-Id: Ib3e437f22797217d539f7c4d98bd67b5684e2e81
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5854531
Reviewed-by: Artsiom Mitrokhin <amitrokhin@chromium.org>
Commit-Queue: Weidong Liu <weidongliu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354897}
2024-09-12 23:35:30 +00:00
902be4bcbf Set more appropriate flex behavior keys
This is part of crrev.com/c/5828724. After we merge GetHeightForWidth
and CalculatePreferredSize, we can let Boxlayout reduce some layout
calculations at the right time. Then some inaccurate flex behavior
settings will cause it to stretch incorrectly.

Bug: 363806071
Change-Id: I2c590a93623aee2b63608794e8db269a2b1a1cd2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5856528
Reviewed-by: Ahmed Mehfooz <amehfooz@chromium.org>
Commit-Queue: Weidong Liu <weidongliu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354896}
2024-09-12 23:34:39 +00:00
a9eb267acb Set more appropriate flex behavior keys
This is part of crrev.com/c/5828724. After we merge GetHeightForWidth
and CalculatePreferredSize, we can let Boxlayout reduce some layout
calculations at the right time. Then some inaccurate flex behavior
settings will cause it to stretch incorrectly.

Bug: 363806071
Change-Id: I8fe340ff92efcb4c1ee9c59db692e102e152c485
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5854305
Reviewed-by: Andre Le <leandre@chromium.org>
Commit-Queue: Weidong Liu <weidongliu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354895}
2024-09-12 23:33:01 +00:00
9a717e4e3d Improve GetActiveTab call.
This call confusingly had two output parameters, one that was only used
in two call sites and is easily populated by just inlining the
corresponding call to compute the tab ID. This change makes the API a
little clearer and the callsites cleaner.

There should be no behavior change.

This is a reland of Ifc6f951f60adc38a763dd7bea05be0fab38675f1 with no
changes. It was reverted due to a bug in a previous patch.

Bug: None
Change-Id: I44c4e01c3e31959a55e7ce006d2275ae17253a66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5857349
Commit-Queue: Brett Wilson <brettw@chromium.org>
Reviewed-by: David Bertoni <dbertoni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354894}
2024-09-12 23:30:55 +00:00
7d8d5274db media: Enable WebRTCHardwareVideoEncoderFrameDrop by default
Bug: b:324998907
Test: None
Change-Id: I63af570646d2ff426d3c05e15b8a4bce2f0fe1a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5856232
Commit-Queue: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Eugene Zemtsov <eugene@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354893}
2024-09-12 23:26:18 +00:00
67b670fcb0 Add a netlog event for when a cert verification attempt uses time from NetworkTimeTracker instead of the system time.
Change-Id: I574e5629176e55af5ebb583e9d46a70760354434
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5847251
Commit-Queue: Matt Mueller <mattm@chromium.org>
Auto-Submit: Carlos IL <carlosil@chromium.org>
Reviewed-by: Matt Mueller <mattm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354892}
2024-09-12 23:25:46 +00:00
7619b4e7d7 [Cast Streaming] Add fallback for hardware encoding
Currently, if a hardware encoder fails, we just terminate the Cast
session. This results in a negative user experience, especially if the
failure is a 100% reproducible one like failing to initialize the codec.
This can cause Cast to be completely broken for some users.

This patch changes behavior so that if the hardware codec fails, we
denylist it and renegotiate with a different codec instead. This failure
is stored in a singleton, since it is unlikely that the codec will be
fixed during the same Chrome session.

Bug: 358176422
Change-Id: Ia5876c5b52ea073b75b2854db488b01dfa718490
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5771000
Reviewed-by: Mark Foltz <mfoltz@chromium.org>
Commit-Queue: Jordan Bayles <jophba@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354891}
2024-09-12 23:25:05 +00:00
a6f28b672d webnn: Reorder some MLTensor-related declarations to be alphabetical
These lists of declarations were made out of order during the various
refactoring CLs to address https://crbug.com/361372446

This CL has no behavioral changes

Bug: 361372446
Change-Id: I0f139135547255b644ab8d4f382b1026d808fa53
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858248
Auto-Submit: Austin Sullivan <asully@chromium.org>
Commit-Queue: ningxin hu <ningxin.hu@intel.com>
Commit-Queue: Austin Sullivan <asully@chromium.org>
Reviewed-by: ningxin hu <ningxin.hu@intel.com>
Cr-Commit-Position: refs/heads/main@{#1354890}
2024-09-12 23:23:30 +00:00
969f106fac Improve base-select initial focus
This patch checks to see if the selected option is focusable before
trying to focus it when opening the picker. It also chooses a fallback
option to focus in the case that the selected option is not focusable.

Fixed: 360357707
Change-Id: I1c2943f5492d4eb299f5b6e162e2c2c1df152851
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5825538
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Traian Captan <tcaptan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354889}
2024-09-12 23:22:25 +00:00
8d007761c4 Roll src-internal from 90d5d243ca48 to 7b3022bbb299 (1 revision)
90d5d243ca..7b3022bbb2

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/src-internal-chromium-autoroll
Please CC chanli@google.com,chrome-browser-infra-team on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:linux-chromeos-chrome
Bug: chromium:332696096
Tbr: chanli@google.com
Change-Id: I1172f752b14c5f0b9d59afbf6861ae126d923816
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858485
Commit-Queue: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Bot-Commit: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1354888}
2024-09-12 23:20:11 +00:00
8ba8b7c312 Roll androidx from HxYTIzJeoxdHwVAPB... to -HPg6kSZtheePVbkl...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/androidx-chromium
Please CC clank-build@google.com,clank-library-failures@google.com,wnwen@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:android-internal-binary-size;luci.chrome.try:android-internal-rel
Tbr: clank-library-failures@google.com
Change-Id: I849a2d71d76e2cf6d89c5ca03b1e4b49ee3cd197
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858562
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1354887}
2024-09-12 23:19:02 +00:00
0f020e7343 Uninstall companion app when uninstall the updater.
Low-Coverage-Reason: COVERAGE_UNDERREPORTED
Bug: 364922950
Change-Id: Icea7f99d4be6a4dc9aa92ffcf78a7f0846e8b640
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5847370
Commit-Queue: Xiaoling Bao <xiaolingbao@chromium.org>
Reviewed-by: Sorin Jianu <sorin@chromium.org>
Reviewed-by: Noah Rose Ledesma <noahrose@google.com>
Cr-Commit-Position: refs/heads/main@{#1354886}
2024-09-12 23:18:49 +00:00