Fix counter for ForceLoadAtTop DocumentPolicy
ForceLoadAtTop is a DocumentPolicy header but was originally shipped as an OriginTrial since it was needed before DocumentPolicy was shipped. The OriginTrial worked by enabling a RuntimeEnabledFeature; the use counter was based on this REF. However, once DocumentPolicy shipped, the OriginTrial was abandoned and ForceLoadAtTop was enabled using a DocumentPolicy header. However, we forgot to update the UseCounter code to use the DocumentPolicy header. This CL updates the UseCounter to be based on the DocumentPolicy header. A followup CL will remove the REF. Bug: 1165340 Change-Id: I163f20620e1b63ef46cb202a1511059468e43abb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2622323Reviewed-by:Nick Burris <nburris@chromium.org> Commit-Queue: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#842815}
Showing
Please register or sign in to comment