0
Commit Graph

1364768 Commits

Author SHA1 Message Date
bcd94ec2d3 [RDSW] Launch RDS window setting on ToT
Launch Request Desktop Site window setting on ToT.

Change-Id: I31bcb89323b21415d0f94a23641404331fc83f7d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5171408
Auto-Submit: Shu Yang <shuyng@google.com>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243477}
2024-01-05 17:40:58 +00:00
409472450f [Tab Switcher] TabSwitcherPane level TabSwitcherCoordinator elements
In the process of "forking" TabSwitcherCoordinator/Mediator some
elements of TabSwitcherCoordinator are better handled at the Pane level.

This CL contains the menu and keyboard and price tracking related
functionality that should be managed at the pane scope.

Bug: 1505772
Change-Id: Iffe1d3891d91f4947e2b0296d6df17ff9855cc92
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5131306
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Sky Malice <skym@chromium.org>
Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243476}
2024-01-05 17:34:45 +00:00
7d97ef4d2e Add more histograms for Bidding And Auction Services performance
We need these extra histograms to get a better idea of what areas we need to focus on to improve performance.

Bug: 1481762
Change-Id: I5911722746a14485aebb34322e78c4b9e381e9e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5170446
Reviewed-by: Orr Bernstein <orrb@google.com>
Commit-Queue: Russ Hamilton <behamilton@google.com>
Cr-Commit-Position: refs/heads/main@{#1243475}
2024-01-05 17:34:22 +00:00
7978bb4913 Roll clank/internal/apps from 3a16720baae8 to 72dab921f50a (1 revision)
3a16720baa..72dab921f5

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/clank-apps-chromium-autoroll
Please CC altimin@google.com,chrome-brapp-engprod@google.com,nyquist@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

Bug: None
Tbr: altimin@google.com,nyquist@google.com
No-Try: true
Change-Id: I7b3b6e304d6fe9e0c0255e589e0a080566ab2fe5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5173043
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@{#1243474}
2024-01-05 17:30:49 +00:00
851490462f Roll Media App from ZqSYRlTezzqpr-ycE... to izXctShDrqDDVtFGq...
Release_Notes: http://go/media_app-x20/relnotes/Main/media_app_202401050600_RC00.html

https://chrome-infra-packages.appspot.com/p/chromeos_internal/apps/media_app/app/+/izXctShDrqDDVtFGqrTrjJ8rFdF70a9GImON9M73Cm0C

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/media-app-chromium-autoroll
Please CC cros-essential-apps-dev@chromium.org,jomag@google.com,media-app@grotations.appspotmail.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:chromeos-betty-pi-arc-chrome;luci.chrome.try:linux-chromeos-chrome
Bug: b/317291938
Tbr: media-app@grotations.appspotmail.com
Change-Id: I1fe61fda4e00a15ac4c2b695e1d9916f560063e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5171338
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@{#1243473}
2024-01-05 17:27:19 +00:00
30a35db8da [OG] Fix country code for PageContentAnnotationsService
Currently, PageContentAnnotationsService queries country code
directly from VariationsService, which will return an empty string
for country code on local builds. This makes functionalities with
country limitation not work on local builds. This CL fixes this
issue by applying a default country code when country code is not
available in VariationsService.

Change-Id: Ib7f1abbdce3c3edd87e737780eba963779d78297
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5171200
Reviewed-by: Sophie Chang <sophiechang@chromium.org>
Commit-Queue: Yue Zhang <yuezhanggg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243472}
2024-01-05 17:26:14 +00:00
74d619a20b [Passwords] Do not use crowdsourcing when parsing forms on localhost
Crowdsourcing helps to classify forms online, based on signals from
different users about the same form. However on localhost it's likely
that semantically different forms will receive same signatures, so
PasswordManager should not use server predictions and upload votes
for such forms.

The follow-up CL will stop uploading votes.

Bug: 1515560
Change-Id: Ibb2bdf3537e2b54b944c86f099dc90cd370880e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5168686
Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org>
Commit-Queue: Maria Kazinova <kazinova@google.com>
Cr-Commit-Position: refs/heads/main@{#1243471}
2024-01-05 17:25:49 +00:00
c9603547d8 Revert "[iOS][gardening] Disable a test in PartitionAllocTest on iPhone device"
This reverts commit 420021ca15.

Reason for revert: Speculative re-enable to get more data.

Original change's description:
> [iOS][gardening] Disable a test in PartitionAllocTest on iPhone device
>
> This CL disables PartitionAllocTest/FreeSlotSpanListSlotSpanTransitions.
> See bug for details.
>
> Bug: 1512944
> Change-Id: Icb2726480c50840fcfeaa82af5691604c5bc513a
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5131742
> Commit-Queue: Scott Yoder <scottyoder@google.com>
> Reviewed-by: Scott Yoder <scottyoder@google.com>
> Commit-Queue: Ginny Huang <ginnyhuang@chromium.org>
> Auto-Submit: Ginny Huang <ginnyhuang@chromium.org>
> Owners-Override: Ginny Huang <ginnyhuang@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1238814}

Bug: 1512944
Change-Id: Icf9668eb4bab6b5937d55644c1210ae7ef9acb9a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5172190
Commit-Queue: Benoit Lize <lizeb@chromium.org>
Auto-Submit: Justin Cohen <justincohen@chromium.org>
Reviewed-by: Ginny Huang <ginnyhuang@chromium.org>
Reviewed-by: Benoit Lize <lizeb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243470}
2024-01-05 17:23:40 +00:00
abdb9daf28 test_runner: skip local tests if path is absolute
In case the path is absolute, we'll hit a DCHECK in
https://source.chromium.org/chromium/chromium/src/+/main:base/files/file_path.cc;l=527.

Bug: 1513408
Change-Id: Ia6335a06c238b488e35325d56a0257ed06205915
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5171577
Reviewed-by: danakj <danakj@chromium.org>
Commit-Queue: Paul Semel <paulsemel@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243469}
2024-01-05 17:23:33 +00:00
f365e8df5b Add CookieSettingOverride to allow ABA embeds to send cookies using CORS
For now, this functionality is gated behind a base::Feature that is
disabled by default.

This CL does *not* interact with SameSite semantics, and still
maintains that only SameSite=None cookies are allowed in ABA contexts.
This exception is for 3P cookie blocking only.

This exception cannot be applied to cookies accessed via JS.

Bug: 1513690
Change-Id: Id5964224403b7eb9aab69cebe69095530da5baa5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5147868
Reviewed-by: Caitlin Fischer <caitlinfischer@google.com>
Commit-Queue: Dylan Cutler <dylancutler@google.com>
Reviewed-by: Chris Fredrickson <cfredric@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243468}
2024-01-05 17:22:20 +00:00
67592416cf bounds_tracker: Remapping/Restoring on changing the primary display
Remapping and restoring the windows inside the old and new primary
display while changing the current primary display.

Bug: b/311223959
Change-Id: I1fa5d291e0bffd6007e554182bbf8542bfb48a5b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5096901
Reviewed-by: Francois Pierre Doray <fdoray@chromium.org>
Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
Commit-Queue: Min Chen <minch@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243467}
2024-01-05 17:20:59 +00:00
33d119b25d component_updater: reformat odd-looking code.
This is a mechanical change.

Fixed: 1515690
Change-Id: If1e7ca586ab8b11e346c43e703224465dd53c6cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5170316
Commit-Queue: Sorin Jianu <sorin@chromium.org>
Auto-Submit: Sorin Jianu <sorin@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Joshua Pawlicki <waffles@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243466}
2024-01-05 17:14:33 +00:00
f5b3542ab4 Allow components to be uninstalled w/o registering
Previously attempting to uninstall a component before it was registered
could cause a crash due to a null task runner. The task runner
initialization has been moved to the installer's constructor.

Additionally, Uninstall now operates without relying on registration
info to locate the install directory.

Bug: 1515745
Change-Id: Iede175c6bfd62469af12d8a6ea54fee6acb656c0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5173653
Commit-Queue: Noah Rose Ledesma <noahrose@google.com>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Joshua Pawlicki <waffles@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243465}
2024-01-05 17:14:24 +00:00
45a491836c [UPMLocalSettings] PasswordSafetyCheckController introduced into password_manager code
This CL introduces the interface PasswordSafetyCheckController that is
supposed to be created as a helper for SafetyCheckMediator to handle
password check state. GmsCorePasswordSafetyCheckController implements
the interface and uses Gms core functionality for the password check.
Method
PasswordsCheckPreferenceProperties.passwordsStateFromPasswordCheckResult
will be used to convert the password check result provided by the
controller into the PasswordsState known to the SafetyCheckMediator.

There will be 2 implementations of the interface:
- One for the password check done on the Gms core side.
- One for the password check in Chrome.

The old Chrome internal implementation will be introduced in the follow
up CLs. The correct version of PasswordSafetyCheckController will be
instantiated and used for the SafetyCheckMediator depending on whether
the Gms core is being used or not.

Bug: b/312930046
Change-Id: I0368169066018cf1037a2797f45206b2035602cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5168585
Commit-Queue: Anna Tsvirchkova <atsvirchkova@google.com>
Reviewed-by: Rainhard Findling <rainhard@chromium.org>
Reviewed-by: Ioana Pandele <ioanap@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243464}
2024-01-05 17:08:59 +00:00
c1a3db8cce Add heuristic and deprecation trial grants
This helps debug what content settings are being configured
automatically by the 3PCD heuristics when they're turned on.

Bug: b:308167671
Change-Id: I73bb6b37ee58f10cd59e2a3ec76cf31756e24263
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5172206
Commit-Queue: Alex Gough <ajgo@chromium.org>
Reviewed-by: Abe Boujane <boujane@google.com>
Reviewed-by: Alex Gough <ajgo@chromium.org>
Reviewed-by: Fiona Macintosh <fmacintosh@google.com>
Auto-Submit: Kevin Graney <kmg@google.com>
Cr-Commit-Position: refs/heads/main@{#1243463}
2024-01-05 17:08:31 +00:00
6d1d0f106a Rename ReadHttpFlags for prelease
This feature is code-complete. Removing the experimental prefix makes it
possible to enable this feature without the risk of accidentally
enabling potentially incomplete http flags code paths in old versions of
Cronet. But we don't want to use the final name just yet because we
might have to make last-minute changes which may force another rename.

Bug: b:318805346
Change-Id: I228a5ce31ff1cc4b96bf7f3d914a7f018dd0ca57
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5172599
Reviewed-by: Stefano Duo <stefanoduo@google.com>
Auto-Submit: Etienne Dechamps <edechamps@google.com>
Commit-Queue: Stefano Duo <stefanoduo@google.com>
Cr-Commit-Position: refs/heads/main@{#1243462}
2024-01-05 17:06:59 +00:00
3e5c447ee2 Automatic update from google3
Automatic update for 2024-01-05 UTC

Change-Id: I373f5dfc67f94dce4922bd0a5a9a94b5814aa1ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5173254
Bot-Commit: PKI Metadata Updates Bot <mdb.chrome-pki-metadata-release-jobs@google.com>
Commit-Queue: PKI Metadata Updates Bot <mdb.chrome-pki-metadata-release-jobs@google.com>
Cr-Commit-Position: refs/heads/main@{#1243461}
2024-01-05 17:04:08 +00:00
a4777b8b5e Add buildbot config for "android-webview-13-x64-dbg-hostside" temporary CI builder.
Added test suite and target "webview_trichrome_64_cts_hostside_tests" for trial running host-driven WebView CTS, supported by http://crrev/c/4901987

Added mixin description to display Android API level in Milo build step for API level 31 and 33.

Follow up work:
To remove these builders once host-driven CTS test suite is added to "android-12-x64-rel" required CQ builder.

Bug: b/267730567
Cq-Include-Trybots: luci.chromium.try:android-webview-13-x64-dbg-hostside
Change-Id: I5d1bc2fb5a32b04c08fe6cda54105f30d97432e9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5116858
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Reviewed-by: Mateusz Zbikowski <zbikowski@google.com>
Commit-Queue: Gabrielle Lau <gabriellelau@google.com>
Cr-Commit-Position: refs/heads/main@{#1243460}
2024-01-05 16:59:38 +00:00
c703c622fa Stop running timers on ShutdownOnUiThread
Bug: 1515252
Change-Id: I9fe9384c49b46d04f4ed1fa257cd9bae4c531f2d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5172685
Commit-Queue: Florian Jacky <fjacky@chromium.org>
Reviewed-by: Balazs Engedy <engedy@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243459}
2024-01-05 16:59:28 +00:00
a292d21534 Roll Dawn from 0a40886644da to 50517cad9315 (4 revisions)
https://dawn.googlesource.com/dawn.git/+log/0a40886644da..50517cad9315

2024-01-05 blundell@chromium.org [Mac] Remove dead code for creating texture wrapping IOSurface
2024-01-05 bclayton@google.com [tint] Add intrinsic table support for unary * and &
2024-01-05 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 295eece61cce to 05516d6a8640 (1 revision)
2024-01-05 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll DirectX Shader Compiler from 1574879a29c0 to b5c5b52ae8a9 (1 revision)

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

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/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:dawn-android-arm-deps-rel;luci.chromium.try:dawn-android-arm64-deps-rel;luci.chromium.try:dawn-linux-x64-deps-rel;luci.chromium.try:dawn-mac-x64-deps-rel;luci.chromium.try:dawn-mac-arm64-deps-rel;luci.chromium.try:dawn-win10-x64-deps-rel;luci.chromium.try:dawn-win10-x86-deps-rel;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:gpu-fyi-cq-android-arm64
Bug: None
Tbr: kainino@google.com
Change-Id: I371d9141afe6ecf1d16c7e1af066864ab2c69f51
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5173191
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@{#1243458}
2024-01-05 16:47:35 +00:00
980658bb77 [A11y extensions] Migrate files in common/ to typescript
Bug: b/267329383
Test: Tried basic Select to Speak and ChromeVox functionality, changed some ChromeVox prefs.
Change-Id: I4f3769e7439a7c9017488a583f208b3305fa2cb8
AX-Relnotes: N/A
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5163990
Reviewed-by: Josiah Krutz <josiahk@google.com>
Commit-Queue: Josiah Krutz <josiahk@google.com>
Auto-Submit: Katie Dektar <katie@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243457}
2024-01-05 16:46:12 +00:00
b4e42a4384 Add xorg core and video dummy dependencies.
Follow-up to revert crrev.com/c/5166237. Adds the xcore core binaries
and dummy driver instead of the entire xorg package which installs lots
of video / input drivers.

Bug: 1417069, 1513713
Change-Id: I3075508e470c1ed11628c13f2bfb1250c4fc26c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5171264
Commit-Queue: Brad Triebwasser <btriebw@chromium.org>
Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243456}
2024-01-05 16:42:44 +00:00
2d6d4ce2ab Update Password Manager icon in the helium bubble
Bug: 1509794
Change-Id: I67b304a50698407d1e7df034087d7a64ffe31f3e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5167969
Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org>
Commit-Queue: Viktor Semeniuk <vsemeniuk@google.com>
Cr-Commit-Position: refs/heads/main@{#1243455}
2024-01-05 16:37:30 +00:00
38cde2c628 Dismiss the keyboard when dragging Tab Grid search results
This CL dismisses the keyboard as soon as the scrollview with the search
results is scrolled.

Prior to the new Compositional Layout, this was not an issue, as there
was a bug where the Suggested Actions had a way too large height,
leading to the Suggested Actions not being able to be occluded by the
keyboard. But the Compositional Layout gives it its correct height,
leaving it hidden behind the keyboard.

An alternative fix would be to subscribe to the keyboard notifications,
and adapt the scroll view's additional safe area insets but it's more
cumbersome.

Fixed: 1515895
Change-Id: I411b5bb0deb9fa62e4e43805a2eb5d2601da891e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5172556
Reviewed-by: Aliona Dangla <alionadangla@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Auto-Submit: Louis Romero <lpromero@google.com>
Commit-Queue: Aliona Dangla <alionadangla@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243454}
2024-01-05 16:36:58 +00:00
77008a9b1c Proactive Topics Blocking: Update the Clank layout
Screenshot: https://screenshot.googleplex.com/5SMLLYGBwYTBv54.png

Bug: 1515108
Change-Id: I422d4e1bed04528b84a74f1ca3f2cbb5f232c657
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5172925
Reviewed-by: Theodore Olsauskas-Warren <sauski@google.com>
Commit-Queue: Andrey Zaytsev <andzaytsev@google.com>
Cr-Commit-Position: refs/heads/main@{#1243453}
2024-01-05 16:35:57 +00:00
fe1aeaee7d Update rounding behavior for battery fill level
There are only 10 dips to play with for battery fill level.

The old behavior always rounds down (floor rounding) so a charge
level of 29% and a charge level of 20% both only have 2 pixels of
fill height.

UX prefers we normally round below 50% battery and floor round
otherwise. This means that a charge level of 25% would have 3 pixels
of fill, so it would look more accurate at lower battery levels.

Bug: b:302345829
Change-Id: I21fa6854953ede757dc63d045e11fe69b565bc6e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5171985
Reviewed-by: Toni Barzic <tbarzic@chromium.org>
Commit-Queue: Alex Newcomer <newcomer@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243452}
2024-01-05 16:29:38 +00:00
01b5457001 Code Health: Spanification of PeImageReader 3/3
Spanifies the remaining spanifiable public methods

Bug: 1490484
Change-Id: I5070e96bbe2ca850b53f66122bfd285ba2e1b5ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5165589
Commit-Queue: Austin Sullivan <asully@chromium.org>
Reviewed-by: thefrog <thefrog@chromium.org>
Reviewed-by: David Bienvenu <davidbienvenu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243451}
2024-01-05 16:26:16 +00:00
f1c228f1b5 Roll ios_internal from c8934873ae2c to 21c4df6218a4
c8934873ae..21c4df6218

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/ios-internal-chromium-autoroll
Please CC chrome-brapp-engprod@google.com,guiperez@google.com,tinazwang@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

Bug: chromium:1513366
Change-Id: If5dc5ee9d4186186ef01917af9b4fb1b3cdf6af4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5173691
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@{#1243450}
2024-01-05 16:26:09 +00:00
22c53e1745 [Tab Switcher] Add pane creation method to TabManagementDelegate
Provide some glue code for pane initialization in TabManagementDelegate
this code is subject to change so should be considered "experimental".
However, landing this help illustrate the general shape of the API.

a follow up CL.

Low-Coverage-Reason: TESTS_IN_SEPARATE_CL integration tests will be in
Bug: 1505772
Change-Id: Ifc397e2b41f74c9338fe0e5d438b97ac7fee2459
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5131297
Reviewed-by: Sky Malice <skym@chromium.org>
Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243449}
2024-01-05 16:25:05 +00:00
cd3310e169 webview: update package visibility workaround.
The platform bug that's being worked around is fixed in Android U;
update the conditions for calling it to match, so that we no longer
depend on this private API reflection unnecessarily.

Bug: 1373440
Change-Id: I0bb145be6053885dbcd90d2a99beb1e728d42910
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5169413
Commit-Queue: Richard (Torne) Coles <torne@chromium.org>
Auto-Submit: Richard (Torne) Coles <torne@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243448}
2024-01-05 16:24:35 +00:00
3809676499 [sharing] Avoid direct exposure of syncer::DeviceInfo in sharing APIs
No behavioral changes, pure refactoring.

Using syncer::DeviceInfo in public sharing APIs such as SharingService
goes against the abstraction layer and leaks the underlying mechanism
to list remote devices via sync. syncer::DeviceInfo also grew over time
and a) contains low-level information that sharing users shouldn't
consume and b) has performance implications when it comes to copying
around device information.

As a first step, this patch introduces SharingTargetDeviceInfo which
is just an alias for syncer::DeviceInfo.

Change-Id: Ib29e8733ff14a4471b2222aba7cdf0f1acbd6755
Bug: b/316374607
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5173408
Reviewed-by: Rushan Suleymanov <rushans@google.com>
Commit-Queue: Mikel Astiz <mastiz@chromium.org>
Reviewed-by: Michael van Ouwerkerk <mvanouwerkerk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243447}
2024-01-05 16:23:18 +00:00
9e46788dc3 [CodeHealth] Fix dangling CompositorRenderPass* in FixedPassData
We now make sure the CompositorRenderPass* is only valid during the
aggregation. The ptr is set at the start of the aggregation and reset
back to null at the end of the aggregation.

Thanks to kylechar@.

Bug: 1512711
Change-Id: I9b541ad5da709dd5e641f489a492446743c55371
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5132533
Reviewed-by: Kyle Charbonneau <kylechar@chromium.org>
Commit-Queue: William Liu <liuwilliam@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243446}
2024-01-05 16:14:02 +00:00
7bfc774ce3 Improve web-animation side effects tests
These changes are split out from the merge-review on the CL:
https://chromium-review.googlesource.com/c/chromium/src/+/5164371

Bug: 1511227
Change-Id: I06f78b4c5e9749f934823052f25fc1785a3a0ea6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5169868
Commit-Queue: David Bokan <bokan@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243445}
2024-01-05 16:07:37 +00:00
dadfa54971 Remove waitForAnimationEndTimeBased from events/wheel tests
Bug: 1488827
Change-Id: I7b230de54ef173e70e594240a3346652a3255fbe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5169869
Reviewed-by: David Bokan <bokan@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243444}
2024-01-05 16:06:35 +00:00
4f6bec7cdb [Privacy Sandbox] Add field trial for disabling attestation sentinel
guard on Android.

We will experiment turning the attestation sentinel guard feature off
on Android only.

Bug: 1502863
Change-Id: Ibe47407acb3511e511a4c584f04b650b82f7d3db
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5172386
Commit-Queue: Xiaochen Zhou <xiaochenzh@chromium.org>
Reviewed-by: Garrett Tanzer <gtanzer@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243443}
2024-01-05 16:05:55 +00:00
78d32b207d Continuation of auth flow reath test with local and correct password.
Accidentally I forgot to upload the last patch to the crrev.com/c/5163569 CL.

Bug: b:317347376
Change-Id: I45ebdc201bf4e406e858b7d68869f7670107c869
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5171798
Reviewed-by: Denis Kuznetsov <antrim@chromium.org>
Commit-Queue: Istvan Nagy <iscsi@google.com>
Cr-Commit-Position: refs/heads/main@{#1243442}
2024-01-05 16:05:03 +00:00
ef06c1a363 Roll devtools-internal from f8ba54be04d1 to 8d4c4a326c02 (1 revision)
f8ba54be04..8d4c4a326c

Also rolling transitive DEPS:
  4cf1578424..de96c113ef

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@grotations.appspotmail.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@grotations.appspotmail.com
Change-Id: I54f90dc3353d616b9dd9e94b3e3904d8a543f716
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5173040
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@{#1243441}
2024-01-05 16:02:39 +00:00
8b7f180c0c Fix non-ASCII messages garbled in logging::SystemErrorCodeToString
Utilize FormatMessageW to retrieve the error message, treating it
as UTF-16 encoding. Convert the obtained message to UTF-8 encoding
and return it, ensuring proper preservation of non-ASCII characters.

Bug: 1515262
Change-Id: I06b015047c14142eb8547c0f1349ee755db9a56e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5166531
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
Reviewed-by: Peter Boström <pbos@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243440}
2024-01-05 16:02:09 +00:00
890b011110 Updating trunk VERSION from 6229.0 to 6230.0
* This is an automated release commit.
* Do not revert without consulting chrome-pmo@google.com.
NOAUTOREVERT=true

Change-Id: Id3b5423894631c5f8611703d9ab4628cc1bbbada
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5173828
Bot-Commit: Chrome Release Bot (LUCI) <chrome-official-brancher@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1243439}
2024-01-05 16:00:41 +00:00
62be1521cb Roll Help App from 6JFejhOMPEDm7wloB... to 3a2QH7yDZqaDPCS5f...
Release_Notes: http://go/help_app-x20/relnotes/Main/help_app_nightly_202401050600_RC00.html

https://chrome-infra-packages.appspot.com/p/chromeos_internal/apps/help_app/app/+/3a2QH7yDZqaDPCS5fDA83tai-fzM68XkWMNjqH27OxoC

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/help-app-chromium-autoroll
Please CC cros-essential-apps-dev@chromium.org,help-app@grotations.appspotmail.com,jomag@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: b/312831421,b/313523685,b/313759801,b/318309593,b/318309675
Tbr: help-app@grotations.appspotmail.com
Change-Id: Ia5bf91c49f8bbe94d20cf1c76e97edd14a04338b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5173688
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@{#1243438}
2024-01-05 15:59:29 +00:00
8310f0f31b Replace logging::LOG_FATAL with LOGGING_
Old alias is deprecated. Will be removed in a separate CL to avoid
broader rollbacks in case I missed one or this is inadvertently used
outside src/.

Bug: 849450
Change-Id: I35d0f03cd750ef5def74f9bcdf626041847e4014
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5167919
Commit-Queue: Peter Boström <pbos@chromium.org>
Owners-Override: Lei Zhang <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1243437}
2024-01-05 15:57:39 +00:00
f26337a896 [TabDragDrop] Add visual indicator for where tab will be dropped
Add visual indicator for where tab will be dropped.
-Reuses much of the reorder mode logic (auto-scrolling, tab group
 containers, etc.).
-Adds another gap where the dragged tab will be inserted should the drag
 complete.
-Does not yet account for inserting into a tab group (although will
 update the tab group containers, etc., accordingly while reordering).

Video: https://drive.google.com/file/d/1SjwbykUb_NiL5UxbA9qFDjx-7063O4Lg/view?usp=drive_link

Bug: 1471196
Change-Id: I02e9eb37a3c4f5746f79ca8b44ea768d7b07b28f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5096543
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Sirisha Kavuluru <skavuluru@google.com>
Commit-Queue: Neil Coronado <nemco@google.com>
Cr-Commit-Position: refs/heads/main@{#1243436}
2024-01-05 15:52:17 +00:00
5cd77ac64a OOBE: Ensure isVisible methods in ChoobeScreenTester don't return null
Currently, `isVisible` methods in `ChoobeScreenTester` return null
when the element does not exist. Update the methods to only return
a boolean value.

Bug: b:287862720
Change-Id: I290368ad55b2f5200238b8d8e86f60df8b2de360
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5171805
Reviewed-by: Bohdan Tyshchenko <bohdanty@google.com>
Commit-Queue: Osama Fathy <osamafathy@google.com>
Cr-Commit-Position: refs/heads/main@{#1243435}
2024-01-05 15:51:47 +00:00
bc57b84bb3 Roll Chrome Win64 PGO Profile
Roll Chrome Win64 PGO profile from chrome-win64-main-1704444995-660373d4b3445708aee4d50f9a18ce349f9a9c6f.profdata to chrome-win64-main-1704455974-d5f9328947c24354f2a352d1de54df88d96fe439.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: I9fb12309b9df6ec5e6eede8491bfa2f5aa51e61d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5171922
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@{#1243434}
2024-01-05 15:49:42 +00:00
7609ba48b5 Remove UseLegacyBackgroundSizeShorthandBehavior.
This workaround is marked as “can be removed at any time after 2015”,
and causes NOTREACHED() when background: is set to a custom property.
(This is because we set background to expand to background-size
in the .json5, but the parser does not when this flag is set.)
This fixes one of the top CSS crashes on WebView, since evidently,
some ad out there is doing exactly that.

Bug: 277157
Fixed: 1423568
Change-Id: I20d7581ca425db5b27277f38932325647dbd6bd6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5153781
Reviewed-by: Richard (Torne) Coles <torne@chromium.org>
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Commit-Queue: Steinar H Gunderson <sesse@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243433}
2024-01-05 15:47:17 +00:00
4a22d2c292 Revert "[ios] Move kIOSChromeUpToDateKey out of NSUserDefaults"
This reverts commit dd50eda9cb.

Reason for revert: Use of prefService in omaha_service.mm is wrong
because the method can be called if the ApplicationContext() or 
LocalState() are not defined. See: crbug/1515797 and crbug/1515793

Original change's description:
> [ios] Move kIOSChromeUpToDateKey out of NSUserDefaults
>
> This CL moves key kIOSChromeUpToDateKey out of NSUserDefaults.
>
> The key has been moved in the PrefService. Note that there are two
> types of PrefServices, in this case the code has been moved in the
> PrefService coming from ApplicationContext which is specific to
> the device.
>
> Bug: None
> Change-Id: I33959cd72baf1e5e8a05e8d0c24eb661ac56bb44
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5126043
> Reviewed-by: Asami Doi <asamidoi@chromium.org>
> Reviewed-by: Mark Cogan <marq@chromium.org>
> Commit-Queue: Federica Germinario <fedegermi@google.com>
> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
> Cr-Commit-Position: refs/heads/main@{#1242891}

Bug: None
Change-Id: I622553bac556c32346947eae62bb26b27007444e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5173245
Reviewed-by: Mark Cogan <marq@chromium.org>
Commit-Queue: Federica Germinario <fedegermi@google.com>
Auto-Submit: Federica Germinario <fedegermi@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1243432}
2024-01-05 15:46:39 +00:00
68b110a209 Expand the OperationResult metric to log for all completion callbacks
In addition to logging after the network request completes, the metric
now logs whenever the service's lookup completes, including:
 - if it's in backoff mode
 - if it fully hits the local cache
 - if it fails to fetch a valid OHTTP key

Due to the scope change, the SafeBrowsing.HPRT.OperationResult histogram
is renamed to SafeBrowsing.HPRT.OperationOutcome.

OBSOLETE_HISTOGRAM[SafeBrowsing.HPRT.OperationResult]=Replaced by SafeBrowsing.HPRT.OperationOutcome.

Bug: 1392143, 1407283
Change-Id: Ia304e2db510ff869ed69498bd70c7d8f83874c5a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5169412
Reviewed-by: Xinghui Lu <xinghuilu@chromium.org>
Commit-Queue: thefrog <thefrog@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1243431}
2024-01-05 15:44:12 +00:00
fb8b70c32b Roll Chrome Win32 PGO Profile
Roll Chrome Win32 PGO profile from chrome-win32-main-1704444995-fcc02f500d7ee9287f6c877b3ffead4c4fffbf39.profdata to chrome-win32-main-1704455974-cde6baa7d618a2844dbe376301c9c4efeb0e2478.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: Iede8fbadb4089fccf7c8686115300666804265f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5171529
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@{#1243430}
2024-01-05 15:39:35 +00:00
00549f20a8 Roll ios_internal from 9c0182dffe02 to c8934873ae2c
9c0182dffe..c8934873ae

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/ios-internal-chromium-autoroll
Please CC chrome-brapp-engprod@google.com,guiperez@google.com,tinazwang@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

Bug: None
Change-Id: I8a527a2d931a347e7506e0d882b31e0e5bf8b1e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5171244
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@{#1243429}
2024-01-05 15:34:15 +00:00
27c88eabbd Roll androidx from upIkCQx0dYh6v_Ywh... to SazfsyBfvnhS0U-bd...
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: I128f12c7494e60b82fe4eaba713aa265a6cfcf53
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5171339
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@{#1243428}
2024-01-05 15:33:19 +00:00