-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLEDGE] Prioritization signals CL 8: Reprioritize from received signals
This CL defers Javascript generateBid() calls in the bidder worklet process until `priorityVectors` included in the response from the trusted bidding signals server have been passed to the browser process, so the browser process can potentially filter out the interest group based on those signals. This extra call happens even when priority vector is received, since the browser may also limit the number of interest groups generateBid() is called on, depending on whether any interest group owned by that bidder is configured to delay apply the number of interest group limit after the `priorityVector` has been received from the trusted server. To do this, an extra method has been added to the BidderWorklet's GenerateBidClient to inform the caller that the signals have been received, along with providing the new priorityVector. This takes a callback to tell the BidderWorklet to proceed to generate the bid. Deleting the GenerateBidClient instead of invoking the callback will cancel calling the Javascript generateBid() method. associated github PR: WICG/turtledove#329 Bug: 1343389 Change-Id: Ica1e7ec27063265f596298f98fef22131bb32080 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3816982 Reviewed-by: Maks Orlovich <[email protected]> Commit-Queue: Matt Menke <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Cr-Commit-Position: refs/heads/main@{#1040663}
- Loading branch information
Matt Menke
authored and
Chromium LUCI CQ
committed
Aug 29, 2022
1 parent
f358b09
commit e4797d0
Showing
7 changed files
with
1,311 additions
and
38 deletions.
There are no files selected for viewing
671 changes: 671 additions & 0 deletions
671
content/browser/interest_group/auction_runner_unittest.cc
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.