commit | dbce6e3f193166cbf93b3fa618c4ccdba284ee76 | [log] [tgz] |
---|---|---|
author | Nan Lin <[email protected]> | Wed May 10 22:42:55 2023 |
committer | Chromium LUCI CQ <[email protected]> | Wed May 10 22:42:55 2023 |
tree | 09cb5a473d20137ec71f3a8873b7e4cf4f7aeccd | |
parent | 306ab77eedb795180903b22d500cc46da86ab3e6 [diff] [blame] |
Plumb cross app web runtime feature status to browser process This is a follow up for https://crrev.com/c/4512697. This CL plumbs cross app web runtime feature status to the browser process via mojo pipes for Attribution Reporting surfaces that operate in the browser process: navigations and fenced frame ad beacons. All other surfaces are handled in Blink in a previous CL. The runtime features status is then passed to the network service so that the Attribution-Reporting-Support header is only set when cross app web is runtime enabled. We may consider replacing this pipeline with runtime feature state to read the states from the browser process later on (https://crbug.com/1443561). The OS source registration from navigation redirects and fenced frame beacons are only handled if cross app web is runtime enabled as well. Bug: 1442871 Change-Id: I9398c683a04c519bc495f8aeb3407b0c4e129867 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4507597 Reviewed-by: Andrew Paseltiner <[email protected]> Commit-Queue: Nan Lin <[email protected]> Reviewed-by: Charlie Harrison <[email protected]> Reviewed-by: Garrett Tanzer <[email protected]> Reviewed-by: Nate Chapin <[email protected]> Reviewed-by: Joe Mason <[email protected]> Reviewed-by: Alex Moshchuk <[email protected]> Cr-Commit-Position: refs/heads/main@{#1142433}
diff --git a/content/browser/renderer_host/frame_tree_node.h b/content/browser/renderer_host/frame_tree_node.h index 16f7e68c..7f5deca 100644 --- a/content/browser/renderer_host/frame_tree_node.h +++ b/content/browser/renderer_host/frame_tree_node.h
@@ -571,8 +571,9 @@ // `Fence.setReportEventDataForAutomaticBeacons` JS API. void SetFencedFrameAutomaticBeaconReportEventData( const std::string& event_data, - const std::vector<blink::FencedFrame::ReportingDestination>& destinations) - override; + const std::vector<blink::FencedFrame::ReportingDestination>& destinations, + network::AttributionReportingRuntimeFeatures + attribution_reporting_runtime_features) override; // Returns the number of fenced frame boundaries above this frame. The // outermost main frame's frame tree has fenced frame depth 0, a topmost