As part of FramePolicy migration from IPC to Mojo, this enum has been duped as mojo enum.
blink::WebSandboxFlags is a enum class acting as a bitfield, which isn't directly supported by mojo enum.
Migration to Mojo CL:
https://chromium-review.googlesource.com/c/chromium/src/+/784372
I wonder if we need to do something this complicated.
I was thinking:
Step one:
In feature_policy_feature.h
using FeaturePolicyFeature = mojom::FeaturePolicyFeature
Step two:
do the same for WebSandboxFlags with maybe modification on the bitfield part?
I think for WebSandboxFlags, the long term plan is to move them to Feature Policy (i.e. create FeaturePolicyFeature enums for them). I created another bug entry for that: https://bugs.chromium.org/p/chromium/issues/detail?id=812381
So I am closing this bug for now.
Comment 1 by lucmult@chromium.org
, Nov 30 2017