summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/public/mojom/interest_group/restricted_interest_group_store.mojom
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/public/mojom/interest_group/restricted_interest_group_store.mojom')
-rw-r--r--chromium/third_party/blink/public/mojom/interest_group/restricted_interest_group_store.mojom22
1 files changed, 16 insertions, 6 deletions
diff --git a/chromium/third_party/blink/public/mojom/interest_group/restricted_interest_group_store.mojom b/chromium/third_party/blink/public/mojom/interest_group/restricted_interest_group_store.mojom
index 0e6bf0e0893..eacbb1f7393 100644
--- a/chromium/third_party/blink/public/mojom/interest_group/restricted_interest_group_store.mojom
+++ b/chromium/third_party/blink/public/mojom/interest_group/restricted_interest_group_store.mojom
@@ -12,15 +12,25 @@ import "url/mojom/url.mojom";
// to the renderer on a per-frame basis.
// https://github.com/WICG/turtledove/blob/main/FLEDGE.md
interface RestrictedInterestGroupStore {
- // "Merges" interest group information from `group` with information already
- // stored by the browser process by overwriting the fields provided in
- // `group`. The browser verifies that the owner origin matches that of the
- // frame's origin (in the future, a mechanism will allow delegating to other
- // origins). The caller cannot observe the status or results of this
- // operation.
+ // Requests that the browser process create or overwrite persisted interest
+ // group keyed by `owner` and `name` with information from `group`. The
+ // browser verifies that the owner origin matches that of the frame's origin
+ // (in the future, a mechanism will allow delegating to other origins). The
+ // caller cannot observe the status or results of this operation.
JoinInterestGroup(InterestGroup group);
// Deletes the interest group stored in the browser as indicated by the
// (`origin`, `name`) tuple. `origin` must use https.
LeaveInterestGroup(url.mojom.Origin owner, string name);
+
+ // Requests the browser update stored interest groups owned by the current
+ // frame's origin *only* (interest groups not owned by the frame origin aren't
+ // modified) using the last `update_url` registered for each owned interest
+ // group. JSON is downloaded from each interest group's URL, parsed safely
+ // using //services/data_decoder/public/cpp/data_decoder.h, and the interest
+ // group store is updated. Unlike the JoinInterestGroup() operation, this
+ // operation doesn't clear fields that weren't present in the server JSON
+ // response. The JSON `name`, `owner`, `userBiddingSignals` and other unknown
+ // fields will be ignored.
+ UpdateAdInterestGroups();
};