0
Commit Graph

1565172 Commits

Author SHA1 Message Date
17e90f48cb network: Extract FileOpenerForUpload from url_loader.cc
This CL extracts the inner class `URLLoader::FileOpenerForUpload` into a
standalone class `network::FileOpenerForUpload` located in its own
header and source files (`services/network/file_opener_for_upload.h`
and `.cc`).

The motivation for this change is to improve modularity and decouple
the logic for asynchronously opening files for upload from the main
`URLLoader` class. This makes both classes simpler and easier to
maintain.

Key changes include:
- Moved the `FileOpenerForUpload` class definition and implementation
  to new files.
- Updated `URLLoader` to include and use the new standalone class.
  - The request URL is now explicitly passed to the
    `FileOpenerForUpload` constructor.
  - The `LogUnblocked` call in `SetUpUpload` is now correctly tied
    to the callback originating from `FileOpenerForUpload`.
- Removed the inner class definition and friend declaration from
  `url_loader.h`.
- Added the new files to the `network_service` component build target.
- Updated `url_loader_unittest.cc` to include the new header and
  use the correct scope for `kMaxFileUploadRequestsPerBatch`.

This CL also changes the TaskPriority which is used for closing the
files from USER_BLOCKING to USER_VISIBLE.
Other than that, no functional changes are intended.

Bug: 408106280
Change-Id: Ia07b367787adcc65df4afd13ccb8e0ff49a274e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6428886
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443881}
2025-04-07 18:36:44 -07:00
16288d346e Improve how PaidContent checks for microdata annotations.
Check for <meta> elements while checking each element instead of using
QuerySelectorAll which can be expensive and may invalidate style and
layout.

Also add more cases to unit tests to increase paid_content code coverage.

Change-Id: I76ae9ed65aa7e9647c650ee99bb8d51444e03e04
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6431533
Reviewed-by: Abigail Klein <abigailbklein@google.com>
Reviewed-by: Khushal Sagar <khushalsagar@chromium.org>
Commit-Queue: Gary Klassen <gklassen@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443880}
2025-04-07 18:35:27 -07:00
7b491de370 protobuf: Use deps instead of public_deps
With this change, we can remove unnecessary inputs dependency from ninja
build files.

Bug: 402356473
Change-Id: Icf4bc72c6e511ffd459a2aa6a335699d27fbe821
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6414089
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Sophie Chang <sophiechang@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443879}
2025-04-07 18:33:48 -07:00
34fc8ee94a [android_15_tablet] Disable failing tests
Bug: 409145689
Change-Id: I11ddf21238d536a6778bccfeb404103860f9e265
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440267
Reviewed-by: Haiyang Pan <hypan@google.com>
Commit-Queue: Renuga Nanjappan <rnanjappan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443878}
2025-04-07 18:33:17 -07:00
11121b0ced iOS: Fix chrome://net-export to properly load.
Fixed: 397498815
Change-Id: Ia31fafbf60464bf69a31f2d0366f5c6218fa6901
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6437841
Auto-Submit: Demetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: Rohit Rao <rohitrao@chromium.org>
Commit-Queue: Rohit Rao <rohitrao@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443877}
2025-04-07 18:31:33 -07:00
6afd73f60e Roll Release Scripts from ed18e4bbbd0b to a8b04e95dc40 (1 revision)
ed18e4bbbd..a8b04e95dc

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/release-scripts-chromium
Please CC chrome-release-infra@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: 
Change-Id: Ia06cac8cf69fce1947ecaad2e70c18273875afdb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440350
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@{#1443876}
2025-04-07 18:28:09 -07:00
dcd78a26d5 Improve clear browsing data command log
Bug: None
Change-Id: Ibcf282fa207fa46b8dc4d65d157ee40f8d102a7e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6434873
Reviewed-by: Salma Elmahallawy <esalma@google.com>
Commit-Queue: Salma Elmahallawy <esalma@google.com>
Auto-Submit: Owen Min <zmin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443875}
2025-04-07 18:27:34 -07:00
e2e8c37cdf [ShopCard] Arm 1 accessibility and voiceover
Bug: 392971897, 392972785
Change-Id: I52a6ae2a201d1b7bb3d50d23e0fd18ba2e90c9ed
Screenshot: http://shortn/_ATthIXZWPJ
Voiceover: http://shortn/_WDe0wD1sTC
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6433202
Commit-Queue: David Maunder <davidjm@chromium.org>
Auto-Submit: Gloria Fang <gloriafang@google.com>
Reviewed-by: Chris Lu <thegreenfrog@chromium.org>
Reviewed-by: David Maunder <davidjm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443874}
2025-04-07 18:21:30 -07:00
a6c3052048 Roll rust *only* f7b43542838f0a4a6cfdb17fbeadf45002042a77-1 : 3f690c2257b7080cd3a8cce64e082fc972148990-1
f7b4354283..3f690c2257

Ran: ./tools/clang/scripts/upload_revision.py 5b36835df010c5813808d34e45428c624fb52ff1

Additionally, add fixes to the rust allocator to address https://crbug.com/407024458.

Bug: 404285928,407024458
Disable-Rts: True
Cq-Include-Trybots: chromium/try:chromeos-amd64-generic-cfi-thin-lto-rel
Cq-Include-Trybots: chromium/try:dawn-win10-x86-deps-rel
Cq-Include-Trybots: chromium/try:linux-chromeos-dbg
Cq-Include-Trybots: chromium/try:linux_chromium_cfi_rel_ng
Cq-Include-Trybots: chromium/try:linux_chromium_chromeos_msan_rel_ng
Cq-Include-Trybots: chromium/try:linux_chromium_msan_rel_ng
Cq-Include-Trybots: chromium/try:mac11-arm64-rel,mac_chromium_asan_rel_ng
Cq-Include-Trybots: chromium/try:ios-catalyst,win-asan,android-official
Cq-Include-Trybots: chromium/try:fuchsia-arm64-cast-receiver-rel
Cq-Include-Trybots: chromium/try:mac-official,linux-official
Cq-Include-Trybots: chromium/try:win-official,win32-official
Cq-Include-Trybots: chromium/try:win-swangle-try-x86
Cq-Include-Trybots: chromium/try:android-cronet-riscv64-dbg
Cq-Include-Trybots: chromium/try:android-cronet-riscv64-rel
Cq-Include-Trybots: chrome/try:iphone-device
Cq-Include-Trybots: chrome/try:linux-chromeos-chrome
Cq-Include-Trybots: chrome/try:win-chrome,win64-chrome,linux-chrome,mac-chrome
Cq-Include-Trybots: chrome/try:linux-pgo,mac-pgo,win32-pgo,win64-pgo
Cq-Include-Trybots: luci.chromium.try:linux-cast-x64-rel
Cq-Include-Trybots: chromium/try:android-rust-arm32-rel
Cq-Include-Trybots: chromium/try:android-rust-arm64-dbg
Cq-Include-Trybots: chromium/try:android-rust-arm64-rel
Cq-Include-Trybots: chromium/try:linux-rust-x64-dbg
Cq-Include-Trybots: chromium/try:linux-rust-x64-rel
Cq-Include-Trybots: chromium/try:mac-rust-x64-dbg
Cq-Include-Trybots: chromium/try:win-rust-x64-dbg
Cq-Include-Trybots: chromium/try:win-rust-x64-rel
Change-Id: Iec99681a89deaf3f2c79c76f9c4d1c2b2b7d6fe1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6439711
Reviewed-by: Collin Baker <collinbaker@chromium.org>
Commit-Queue: Alan Zhao <ayzhao@google.com>
Cr-Commit-Position: refs/heads/main@{#1443873}
2025-04-07 18:15:01 -07:00
71ed728f4d Roll Chrome Android ARM32 PGO Profile
Roll Chrome Android ARM32 PGO profile from chrome-android32-main-1744048751-cdd6f0152f5419d88b8abc9a19346fc8ec2d6970-4c01c407f87e60a9c0d41f6372df70364a780128.profdata to chrome-android32-main-1744070359-d61eb98387bb823904715ba9d499cb07dafad4c1-b20a7e9f55ac394455e41a818f9912c54fe4ae63.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-android-arm32-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

Tbr: pgo-profile-sheriffs@google.com
Merge-Approval-Bypass: Chrome autoroller
Change-Id: Idb24915e4f33c9f606febbeb2fb5f24340e96d4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6438749
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@{#1443872}
2025-04-07 18:11:11 -07:00
678f702247 Prerender: Remove RuntimeEnabledFeatures::Prerender2Enabled() checks
The feature has been enabled by default since Chrome 108:
https://crrev.com/c/3929887

The comment on the runtime_enabeld_features.json5 says this is used for
chrome://flags to turn off prerendering:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/runtime_enabled_features.json5;l=3428-3432;drc=428295b0cd6e101c745b35ad73f320585ea8e3b9

This logic is implemented in
PrerenderHostRegistry::CreateAndStartHost(), not in Blink, so these
checks are not necessary for the purpose:
https://source.chromium.org/chromium/chromium/src/+/main:content/browser/preloading/prerender/prerender_host_registry.cc;l=590-595;drc=eeecc56e05ba6c53d9c99900b13b95674ad19076

Bug: n/a
Change-Id: Ic66b8018f83c09716ef905717f4202b35f5c3c87
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6437750
Reviewed-by: Lingqi Chi <lingqi@chromium.org>
Auto-Submit: Hiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Lingqi Chi <lingqi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443871}
2025-04-07 18:04:03 -07:00
5dfe14362a Add android_webview field trial testing config entry for DeviceBoundSessionAccessObserverSharedRemote
Bug: 407680127
Change-Id: I2c458148d76f739fe1b1b8b2aac783cee3a6323e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6438672
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Shunya Shishido <sisidovski@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443870}
2025-04-07 18:02:51 -07:00
f6cc24c6bb Nit: Specify layer name for debugging utility
Change-Id: I67a5dab404796c30d885bc20b1e7346a05238d37
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440067
Reviewed-by: Elly FJ <ellyjones@chromium.org>
Commit-Queue: Zoraiz Naeem <zoraiznaeem@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443869}
2025-04-07 18:02:41 -07:00
e1dda381f5 [Extensions] Regression test: WebRequestAPI ResetURLLoaderFactories bug
This change adds a regression test for the referenced bug.

It tests both that enabling the `DeferResetURLLoaderFactories` feature
flag resolves the issue, and that disabling it causes the issue.

Design doc: http://go/defer-reset-url-loader-factories

Bug: 394523691
Change-Id: I46671553e4c0631416b76654c476cb6e29dd65ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6424484
Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org>
Commit-Queue: Andrea Orru <andreaorru@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443868}
2025-04-07 17:57:34 -07:00
202b13fdc2 [ServiceWorker] ServiceWorkerContextObserverSynchronous::OnStartWorkerMessageSent
This method allows the extensions layer to get a notice that the
message to start a worker (`OnStartWorkerMessageSent`) has been sent.

This is needed to deterministically trigger a race condition with
`ResetURLLoaderFactories` in browsertests.

Design doc: http://go/defer-reset-url-loader-factories

Bug: 394523691
Change-Id: Ie43471f86d26c5c5478211bc0d82176b678b839a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6433846
Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Commit-Queue: Andrea Orru <andreaorru@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443867}
2025-04-07 17:57:24 -07:00
5a04f93aa6 [Extensions] Defer call to ResetURLLoaderFactories in WebRequestAPI
This change leverages the recently introduced `RegistrationObserver`
inside `ServiceWorkerTaskQueue`, to defer execution of
`ResetURLLoaderFactories()` until all in-flight service worker
registrations are completed (have been stored, or failed).

This fixes a bug that would cause registrations to fail with either
`kErrorStartWorkerFailed` or `kErrorNetwork`.

Design doc: http://go/defer-reset-url-loader-factories

Bug: 394523691
Change-Id: I03ff1206606e21f26389d7d7d09be8f95e937dab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6370790
Reviewed-by: Justin Lulejian <jlulejian@chromium.org>
Commit-Queue: Andrea Orru <andreaorru@chromium.org>
Reviewed-by: Erik Chen <erikchen@chromium.org>
Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443866}
2025-04-07 17:56:26 -07:00
09fe4899b5 [Extensions] Introduce ServiceWorkerTaskQueue::RegistrationObserver
This change introduces `ServiceWorkerTaskQueue::RegistrationObserver` to
track service worker registration jobs that have been started, and when
all registration jobs are complete (i.e., either stored or failed).

The new observer allows Extensions API implementations to wait for the
completion of in-flight registrations before executing operations that
could be disruptive if run concurrently (e.g., how the Web Request /
Declarative Net Request APIs call `ResetURLLoaderFactories()` when a new
extension is installed so that they can begin intercepting requests).

Design doc: http://go/defer-reset-url-loader-factories

Bug: 394523691
Change-Id: I47781f68b39b59540b61127af5e6cc4edab014f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6370807
Reviewed-by: Justin Lulejian <jlulejian@chromium.org>
Commit-Queue: Andrea Orru <andreaorru@chromium.org>
Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443865}
2025-04-07 17:56:10 -07:00
805d3a7822 [TabContextMenu] Fix divider appearance in incognito
Incognito tab group before: https://screenshot.googleplex.com/BprFKAZWD8og6UY
Incognito tab group after: https://screenshot.googleplex.com/AcU4BWr7iiHugTE
Incognito tab before: https://screenshot.googleplex.com/9qZtWjCprtJVomU
Incognito tab after: https://screenshot.googleplex.com/BqT5Jfh24zvBen7
Tab group before: https://screenshot.googleplex.com/6dEY7xMqX6ATvjo
Tab group after (verifying no visual change): https://screenshot.googleplex.com/9DPwgzqfYBaT4vJ

Bug: 382293975
Test: BrowserUiListMenuRenderTest, TabContextMenuCoordinatorUnitTest
Change-Id: Ibeeb43359061de26988ebe02a868ab3dbdfc64f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6436475
Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
Reviewed-by: Nate Fischer <ntfschr@chromium.org>
Commit-Queue: Jenna Himawan <jhimawan@google.com>
Cr-Commit-Position: refs/heads/main@{#1443864}
2025-04-07 17:54:04 -07:00
b3206c872a Do not hide toast that has focus
* Clears the timeout when the toast gets focus so that the toast will
  not disappear while it has focus.
* Resets the timeout when focus is removed from the toast so that it
  can auto-hide again.

Bug: 405773128
Change-Id: I0ccaf905aa777dba79395399598e9521f9445a10
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6435374
Commit-Queue: Riley Tatum <rtatum@google.com>
Reviewed-by: John Lee <johntlee@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443863}
2025-04-07 17:52:01 -07:00
42c8039a77 Roll Chrome Android ARM64 PGO Profile
Roll Chrome Android ARM64 PGO profile from chrome-android64-main-1744057923-f545aaa5f7c76e1283315ad35fef5322f2fb6446-08d5700c6eb157e2a5ffa3cd0f00b507b7e1d5a5.profdata to chrome-android64-main-1744063392-751694ce8f2e794563e119030df1ac7dc5dc0ab3-a8784ddce1e0407aacaf37cad4c204243a9b85b2.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-android-arm64-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

Tbr: pgo-profile-sheriffs@google.com
Merge-Approval-Bypass: Chrome autoroller
Change-Id: I431e069a0e8e294e88c2b09671b9de3ffeb00599
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440346
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@{#1443862}
2025-04-07 17:48:47 -07:00
de99324fae [ServiceWorker] Add traits for ServiceWorkerContextObserver*
This change adds ScopedObservationTraits for ServiceWorkerContext and
ServiceWorkerContextObserver, ServiceWorkerContextObserverSynchronous.

Design doc: http://go/defer-reset-url-loader-factories

Bug: 394523691
Change-Id: Icdb39573d1e057aa4c679e86de35a45b46998d05
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6421537
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Andrea Orru <andreaorru@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443861}
2025-04-07 17:48:37 -07:00
28a9b518a9 Add new badge for glic three dot menu item.
Creates new feature for the new badge to differentiate from the already
existing IPHs/new badges.

Bug: 379342421
Change-Id: I2b6cabe670b6c9cca9c835301791bc5495cea100
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6426610
Reviewed-by: Mickey Burks <mickeyburks@chromium.org>
Reviewed-by: Ian Wells <iwells@chromium.org>
Reviewed-by: Eshwar Stalin <estalin@chromium.org>
Commit-Queue: Sophey Dong <sophey@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443860}
2025-04-07 17:47:38 -07:00
3fb349f824 Roll Chrome Mac Arm PGO Profile
Roll Chrome Mac Arm PGO profile from chrome-mac-arm-main-1744063008-fe43882b88e7f5e752f9528db996e940e7ff4b3d-f08654db8d38c0a0e2622279bac77377aff02308.profdata to chrome-mac-arm-main-1744070359-85b0de046d5a337edc3691044abdabec8e229e44-b20a7e9f55ac394455e41a818f9912c54fe4ae63.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
Merge-Approval-Bypass: Chrome autoroller
Change-Id: I628dd41d2e8522acb19fd9487df3f07da41e6eaa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6437221
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@{#1443859}
2025-04-07 17:47:27 -07:00
ab5dbdbad6 [ServiceWorker] Add a sync WillConstructURLLoaderFactory observer method
This method allows extensions to get a notice that the URLLoaderFactory
that will be used to fetch the extension's worker script is about to be
constructed.

This is useful to prevent WebRequestAPI extensions from calling
ResetURLLoaderFactories while worker script fetching is in progress,
which can cause service worker registrations to fail.

In addition, this method is necessary to deterministically trigger
the race condition in browsertests.

Design doc: http://go/defer-reset-url-loader-factories

Bug: 394523691
Change-Id: Iadfbcd1b76dbb7906a911f538f51b3e73b4de691
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6395758
Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Commit-Queue: Andrea Orru <andreaorru@chromium.org>
Reviewed-by: Shunya Shishido <sisidovski@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443858}
2025-04-07 17:43:54 -07:00
82678356e3 Roll Open Screen from ddc89a049295 to 9c99d9f3c0b7 (1 revision)
https://chromium.googlesource.com/openscreen.git/+log/ddc89a049295..9c99d9f3c0b7

2025-04-07 jophba@chromium.org [Cast Streaming] Add new StatisticsDispatcher class

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/openscreen-chromium
Please CC jophba@chromium.org 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

Bug: chromium:298277160
Tbr: jophba@chromium.org
Change-Id: I9cc23b392084d4e7bacf0b37fbd701366043dd91
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440304
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@{#1443857}
2025-04-07 17:36:35 -07:00
a7790b0990 Roll Catapult from b615e49c88b5 to afb0c8b90829 (2 revisions)
https://chromium.googlesource.com/catapult.git/+log/b615e49c88b5..afb0c8b90829

2025-04-07 jeffyoon@google.com Reland "[pinpoint] redeploy pinpoint w/o breaking change"
2025-04-07 jeffyoon@google.com Revert "[pinpoint] redeploy pinpoint w/o breaking change"

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,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: None
Tbr: wenbinzhang@google.com
Change-Id: If55cce11375d1830a48373a114b178d6ce6e4bb6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440342
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@{#1443856}
2025-04-07 17:36:24 -07:00
d950d7531f Roll clank/internal/apps from 112d07e3b2de to 599d7806ce11 (1 revision)
112d07e3b2..599d7806ce

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 chrome-brapp-engprod@google.com,wenyufu@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: wenyufu@google.com
No-Try: true
Change-Id: I9afd30722cbbdd78dbcaacdb6521dfda29ec271a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440230
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@{#1443855}
2025-04-07 17:34:40 -07:00
d11a780c27 pgo: Add --connect-to-device-over-network for connecting network adb
The Telemetry requires --connect-to-device-over-network for connecting
the remote adb host instead of the adb USB. Add
--connect-to-device-over-network with --device for running
run_benchmark. Remove --android which is not a valid parameter for
telemetry.

BUG=386710478, 403001171
TEST=Run generate_profile.py with
--android-hostname=<my disconnected networked adb device>
--run-public-benchmarks-only

Change-Id: Iae289cec2179eaf001d21db2fa378f2d5f518ea4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6420796
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Darren Wu <darrenwu@chromium.org>
Auto-Submit: Darren Wu <darrenwu@chromium.org>
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443854}
2025-04-07 17:26:22 -07:00
b3d1504d8d Roll Dawn from 36be4620f07d to 4cfedf0f3694 (10 revisions)
https://dawn.googlesource.com/dawn.git/+log/36be4620f07d..4cfedf0f3694

2025-04-07 rharrison@chromium.org [tint] Document unsafe buffer usage in utils/memory
2025-04-07 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 4982425ff1bd to 2b323370501c (1 revision)
2025-04-07 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll DirectX Shader Compiler from 0ffd60accba5 to 9e9184426c91 (1 revision)
2025-04-07 dawn-automated-expectations@chops-service-accounts.iam.gserviceaccount.com Roll third_party/webgpu-cts/ eb1d52613..de07a4258 (7 commits)
2025-04-07 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 01d1c7b4d276 to 1b92a973484c (5 revisions)
2025-04-07 jrprice@google.com Update DXC submodule after DEPS roll
2025-04-07 rharrison@chromium.org [tint] Document unsafe buffer usage in tint::Vector
2025-04-07 amaiorano@google.com Fix DXC roll
2025-04-07 zhaoming.jiang@microsoft.com Dawn: Make shader creation parse shader code after checking cache
2025-04-07 bsheedy@google.com Move --test-launcher-summary-output conversion

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 amaiorano@google.com,cwallez@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:dawn-win11-arm64-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: chromium:385317083,chromium:394825124
Tbr: amaiorano@google.com
Change-Id: I9be1665340ee9bd133997ddc7a66ff0d1bfd8b2d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6439089
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@{#1443853}
2025-04-07 17:19:28 -07:00
c2b5fb8beb Add a header used in downstream glic internal test
Change-Id: I2e35f96669a3765e39696cae55add1d4d44d76d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6439586
Reviewed-by: Carlos Knippschild <carlosk@chromium.org>
Commit-Queue: Zhaoyang Li <zhaoyangli@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443852}
2025-04-07 17:19:10 -07:00
3eb82f00c3 Reland of "Add UMA for the delay of CreateStream() and ..."
This is a reland of https://crrev.com/c/6415568, focusing only UMA for
CreateStream() to make a reland CL smaller and isolated.

The original CL causes a crash (https://crbug.com/408060617). The
underlying cause was that `create_stream_end_time_` was not cleared,
even though CreatStream() could be called multiple times. That may cause
a crash in populating LoadTimingInternalInfo later, hitting at:

  CHECK_LE(create_stream_start_time_, create_stream_end_time_);

See also: https://crrev.com/c/6424639.

This CL makes sure to reset `end_time` when setting `start_time` to
prevent an inconsistent state.

Note this is a kind of speculative fix because I couldn't reproduce a
crash locally.

Bug: 393980912,408060617
Change-Id: I8eaf20c866f8239240c40e936bc4594e2979def1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6433371
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Commit-Queue: Hayato Ito <hayato@chromium.org>
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443851}
2025-04-07 17:18:16 -07:00
8c26fb9637 [lensoverlay] Hide feedback button when new feedback feature enabled.
This entry point will be replaced.

Change-Id: I50ff8045d31c1a52d2d0a53164aa94407a0d297f
Bug: 408057824
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440265
Commit-Queue: Juan Mojica <juanmojica@google.com>
Reviewed-by: Duncan Mercer <mercerd@google.com>
Cr-Commit-Position: refs/heads/main@{#1443850}
2025-04-07 17:18:00 -07:00
f335d2d9f0 Refactor SidePanelPowerBookmarksTest.List to fix timeout flakiness.
The test is currently too big (too many Mocha test cases) causing it to
exceed the timeout threshold on certain bots.

 - Split the "General" suite() to two parts. Use nested suite() calls to
   make it easier to reuse common setup code for both suites.
 - Move other suite() calls to dedicated test files.
 - Put all common code between all 3 original suites in a new
   power_bookmarks_list_test_util.ts file so that it can be reused.

Bug: 407730007
Change-Id: I33e06369d36ae43a64dab50a953f66cb7cd2b63f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6439615
Reviewed-by: John Lee <johntlee@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443849}
2025-04-07 17:15:56 -07:00
ff95bba00e Improve AutoPipInfoToString readability
Bug: 368058093, 386193409
Change-Id: Idcdc2848b6f0ce5772ccad784ac59c0ea0d16e85
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440045
Reviewed-by: Frank Liberato <liberato@chromium.org>
Commit-Queue: Benjamin Keen <bkeen@google.com>
Cr-Commit-Position: refs/heads/main@{#1443848}
2025-04-07 17:12:45 -07:00
85c1c601a8 More debugging logs for IS_READY_TO_PAY service connection
Before this patch, an Android payment app developer could have a hard
time debugging why their IS_READY_TO_PAY service is not working because
of lack of debugging logs.

This patch adds information-level debug logs when IS_READY_TO_PAY
service is working correctly and error-level logs when there is an error
in an IS_READY_TO_PAY service.

In addition, this patch resolves the pre-submit error about not needing
a @VisibleForTesting annotation on methods that end with "ForTesting".

After this patch, Android payment app developers should have an easier
time developing and debugging IS_READY_TO_PAY services in their apps.

Bug: 409080031
Change-Id: I147670f535dec1c5bf9be23cf287a53f37dd419e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440047
Reviewed-by: Kavita Soni <kavitasoni@chromium.org>
Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443847}
2025-04-07 17:09:47 -07:00
07c6ca13ad Remove ConsumeSeconds() without CSSLengthResolver
CSSPrimitiveValue cannot resolve to a number in the presence of
sibling-index() and non-simplified sign() without a CSSLengthResolver.

Fixes a crash with sibling-index() in interest-target-show-delay.

Bug: 408234456, 408241044
Change-Id: Ia44e6270182666d65d279bf81f90fce1ae61548e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6433211
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443846}
2025-04-07 17:02:17 -07:00
485907f2b2 extensions: Remove ExtensionService::component_loader() part 3
ComponentLoader is now a profile keyed service and should be accessed
via ComponentLoader::Get(). This is part of the effort to reduce
dependencies on ExtensionService, which helps with extensions on
desktop Android because we can't port ExtensionService yet.

No functional changes.

Bug: 408495366
Change-Id: I50b4b737091439a8b7cf3145b95ede885c5d7c47
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6439621
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443845}
2025-04-07 17:00:00 -07:00
b20a7e9f55 extensions: Remove ExtensionService::component_loader() part 2
ComponentLoader is now a profile keyed service and should be accessed
via ComponentLoader::Get(). This is part of the effort to reduce
dependencies on ExtensionService, which helps with extensions on
desktop Android because we can't port ExtensionService yet.

Bug: 408495366
Change-Id: Id0cbdceb20e67c111d6ed7ac9ea643df222cae2a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6438896
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443844}
2025-04-07 16:59:19 -07:00
03cb998cd1 Only mark the background layer transparent if the background blur exists
Otherwise, it causes unnecessary overdraw, wasting resources.

Bug: b:409092382
Change-Id: Ie7e2872f4e81b0ae11e1f911cf388a67fbea17a1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6439477
Reviewed-by: Elly FJ <ellyjones@chromium.org>
Commit-Queue: Zoraiz Naeem <zoraiznaeem@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443843}
2025-04-07 16:56:35 -07:00
b84b505cc3 Roll ANGLE from 0e28c030a262 to 6e992fa20b4b (3 revisions)
0e28c030a2..6e992fa20b

2025-04-07 lexa.knyazev@gmail.com Ensure consistency of context lost aware validation
2025-04-07 yuxinhu@google.com Reland "Enable VVL on vulkan instance created in GetSystemInfoVulkanWithICD"
2025-04-07 ynovikov@chromium.org Revert "Suppress 5 dEQP EGL tests on Pixel 6 Vulkan"

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

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/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_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
Bug: None
Tbr: abdolrashidi@google.com
Change-Id: I2848c568645d769cc19b5431f15a0ce70902eb40
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440126
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@{#1443842}
2025-04-07 16:55:32 -07:00
7b8caacc42 Roll WebGPU CTS from de07a4258079 to 75af759c3c6b (1 revision)
de07a42580..75af759c3c

2025-04-07 96925679+petermcneeleychromium@users.noreply.github.com Save cts results as json ()

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/webgpu-cts-chromium-autoroll
Please CC amaiorano@google.com,webgpu-developers@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: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:dawn-win11-arm64-deps-rel
Bug: None
Tbr: amaiorano@google.com
Change-Id: Ibf2a53d22c98de4c6c10c76a7d623e45e4c84054
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440023
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@{#1443841}
2025-04-07 16:54:56 -07:00
22c0c2070a Roll vulkan-deps from 9db38aaba042 to ddb9ba0fdcc3 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/9db38aaba042..ddb9ba0fdcc3

Also rolling transitive DEPS:
  2d41063e90..5cf5ba49fd

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 abdolrashidi@google.com,amaiorano@google.com,angle-team@google.com,radial-bots+chrome-roll@google.com,radial-bots@google.com,webgpu-developers@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
Bug: None
Tbr: abdolrashidi@google.com,amaiorano@google.com,radial-bots+chrome-roll@google.com
Change-Id: Ic8d5024b80467150e1d2519d58b8c6f9f29473ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440128
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@{#1443840}
2025-04-07 16:51:46 -07:00
0c3f636699 Add end-to-end test for timing predictor.
This CL adds e2e browser test(learning LCP and apply it for a page)
for timing predictor in loading_predictor_browsertest.cc.
This CL modifies lcp_critical_path_predictor.mojom to prove some info
for testing and refactors it too.

This is a preparation for support All element type mode independently
for timing predictor.

Bug: 40285771
Change-Id: I0e2e4e882894aaa2cc32f9460c76435215bb23ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6396017
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Yoichi Osato <yoichio@chromium.org>
Reviewed-by: Lingqi Chi <lingqi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443839}
2025-04-07 16:51:28 -07:00
658c7199d6 Fix renderer to correctly display 90m and 270m video files
Recently VideoTransformation was fixed to label the rotation and
mirroring metadata of a video file, but lead to an underlying bug where
the renderer did not correctly handle mirrored videos in the case of 90
rotation and 270 rotation. This change allows the renderer to correctly
handle these cases.

Bug: 408830833
Change-Id: Ic1164d4dbc7ab01ff8c353f2b5bce63723e3a539
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6440068
Reviewed-by: Ted (Chromium) Meyer <tmathmeyer@chromium.org>
Commit-Queue: Syed AbuTalib <lowkey@google.com>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443838}
2025-04-07 16:50:30 -07:00
095f2abeb9 MemorySaver: Return Interactive tests to using NTP in most cases
In these tab discard test, a seemingly arbitrary second tab is
spawned, such that the original tab can be discarded. The URL of the
second tab was changed from NTP to Version (which loads faster), but
this appears to have exposeed a race condition.

Restore all but one test to using NTP, as they did before.  The one
test that remains using the Version page actually tests that it can
discard that page, so it can be treated separately.  This lets us
enable the disabled flaky test, buying time to fix this properly.

Bug: 408399396

Change-Id: I4a2c8996a3fc7aa0b32897aa7fb92bdacbb9e95e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6438500
Reviewed-by: David Pennington <dpenning@chromium.org>
Commit-Queue: Christopher Grant <cjgrant@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443837}
2025-04-07 16:50:17 -07:00
d052a57f66 Fix error dialog conditions for BNPL
Currently, we check whether the server returned a permanent error to
know whether we should show a temporary or permanent error dialog to the
user. We instead need to check if the server returned a VCN permanent
error. This CL updates this logic.

Bug: 356443046
Change-Id: I86a7168500404de7bd145bc704c36cf5e9fd3dee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6439691
Reviewed-by: Slobodan Pejic <slobodan@chromium.org>
Commit-Queue: Vinny Persky <vinnypersky@google.com>
Cr-Commit-Position: refs/heads/main@{#1443836}
2025-04-07 16:46:10 -07:00
f0575a79c6 [Collaboration] Add leave and delete flow support
Bug: 406002597
Change-Id: If1adbbe18d529d62619b2c1f231a5c87d2cdb41c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6422339
Reviewed-by: Siddhartha S <ssid@chromium.org>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Hailey Wang <haileywang@google.com>
Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
Reviewed-by: Yuheng Huang <yuhengh@chromium.org>
Reviewed-by: Menghan Yang <myuu@google.com>
Cr-Commit-Position: refs/heads/main@{#1443835}
2025-04-07 16:45:51 -07:00
9476bffc4f Fixing "from"->"previous" hash object mismatch for diff operations.
Currently, the client parser expects differential objects to describe
the previous binary used as input via the "from"."sha256" field. But
the protocol and thus the server provides "previous"."sha256" instead.

Bug: 409090165
Change-Id: I53c59f88dfbd38bcb86818a378ff338d4606d2ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6438368
Reviewed-by: Joshua Pawlicki <waffles@chromium.org>
Commit-Queue: James Decker <deckerjames@google.com>
Reviewed-by: Noah Rose Ledesma <noahrose@google.com>
Cr-Commit-Position: refs/heads/main@{#1443834}
2025-04-07 16:42:15 -07:00
7dc1e40e35 Populate EUTL in TrustStoreChrome
The contents of the EU trusted lists (used as the trust store for QWAC
issuers) was added to the chromium codebase in previous CLs, but this
change (in combination with crrev.com/c/6383917) is the first to make
use of the contents (they were previously being dropped by the linker).
Including these trust anchors in the binary increases the binary size,
but they are needed for eIDAS 2.0 compliance.

Bug: 392931067
Change-Id: I9ef97d72de7d46900c3bec2778eb298cf50fbab3
Binary-Size: Size increase is unavoidable (see above).
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6383918
Commit-Queue: Matt Mueller <mattm@chromium.org>
Auto-Submit: Nick Harper <nharper@chromium.org>
Reviewed-by: Joshua Pawlicki <waffles@chromium.org>
Commit-Queue: Nick Harper <nharper@chromium.org>
Reviewed-by: Matt Mueller <mattm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443833}
2025-04-07 16:41:23 -07:00
f99ac59dec Roll optimization-guide from 6200c82b1162 to b9de30fc7bc5
6200c82b11..b9de30fc7b

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: I5b2002d35db73689c3b6ce51665dfa5bfeeb8dc9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6439283
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@{#1443832}
2025-04-07 16:39:48 -07:00