0
Files
src/content/services
Youssef Bourouphael 218f53d616 Plumbing Private model training data from worklet to browser process.
This change passes data we get from `reportAggregateWin()` to the
browser so that it can be used to create a PMT request in a follow up
CL.

This change:
- Creates a mojom struct to carry this data over IPC
- Builds that struct using data we get from `reportAggregateWin()`
- Passes that struct from the bidder worklet to the IG auction
  reporter

This change modifies some previous tests to ensure they now validate the
private model training data that comes out of the worklet.

We also test that a struct is always built and passed when
`queueReportAggregateWin()` is called, no matter if there was an an
issue with `reportAggregateWin()` such as:
 - a error
 - timeout
 - no reportAggregateWin() function defined
 - no call to sendEncryptedTo()
 - if the payload size is greater than `payload_length`

Bug: 390160246
Change-Id: Ib3792af99a0e840209fc66288e8b4426f87a1cee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6312297
Reviewed-by: Dominic Farolino <dom@chromium.org>
Commit-Queue: Youssef Bourouphael <ybourouphael@google.com>
Reviewed-by: Maks Orlovich <morlovich@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428913}
2025-03-06 07:36:09 -08:00
..

This directory holds services that are: (a) Not considered part of Chrome's foundation (i.e., //services) or they have dependencies which we don't allow in /services (such as content or Blink), and (b) are entirely consumed by content/ (or exposed via a content/public interface).

If in doubt about where your service belongs, contact services-dev@chromium.org.