Chromium change:
https://source.chromium.org/chromium/chromium/src/+/ed44f50c809dd19b02d5aa79c6a34ca64e055b8d
commit ed44f50c809dd19b02d5aa79c6a34ca64e055b8d
Author: Brianna Goldstein <brgoldstein@google.com>
Date: Tue Oct 11 23:47:39 2022 +0000
[107 cherry pick] Remove temporary conversions and clean up.
[Final NIK -> NAK conversion CL]
This CL removes the implicit conversion from NAK -> NIK that's allowed
for a quick transition between classes in the network state. It also
removes the temporary convertor from NIK->NAK that cannot be used in
a partitioned network stack since the NAK may be less granular than the
NIK.
Once the temporary convertors are disabled this CL fills in the NIK->NAK
replacements already completed.
At a high level the NAK should partition the network service while
ensuring the HTTP cache always has access to a valid NIK. Since a
NAK->NIK conversion is invalid any path that partitions the cache needs
to keep the NIK.
NetworkAnonymizationKey is an experimental key that will keep track of
the top_frame_site, the frame_site, an optional nonce and a bool
indicating if the frame_site is cross site from the top_frame_site.
These properties will be used to experiment with different partition key
schemes for the network stack while leaving the HTTP cache layer
triple-key partitioned by the NetworkIsolationKey.
More information on origin of this key can be found here:
https://docs.google.com/document/d/1cWpMN8h5O_c3MoShloCb194crY46ADYq504S8Zugrkg/edit?resourcekey=0-4Kz7ogvRTHbB2uD_BPZAPg#
(cherry picked from commit d22b0640aea0173b92924d19e6d532fe4c0ade4c)
Bug: 1343856