Adds the attribution support on fetch_api_request data. As such, request
initiated outside of a service worker and then handled by service worker
will have the attribution support already set.
A remaining limitation is that requests sent from a service worker
still won't have the attribution support set. However, attribution
reporting isn't currently supported for these requests.
Bug: 352077671
Change-Id: I9d750f06902130bcfbc1752508f4980d9e533bbb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5730940
Reviewed-by: Nan Lin <linnan@chromium.org>
Commit-Queue: Anthony Garant <anthonygarant@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1337415}