• Asanka Herath's avatar
    [privacy_budget] Fix UseCounter name calculation · c97a89ab
    Asanka Herath authored
    Blink bindings generate use counter names in several locations. This
    change updates the name calculation logic to match what's used in
    generating the web_feature.mojom file.
    
    In addition, the change also introduces logic to perform a rudimentary
    parse step on the web_feature.mojom file and extract the feature value
    constants. These are the values that will be used eventually for
    locating usage metrics for identifiable APIs.
    
    Bug: 1144960
    Change-Id: Id40ccab032f1fb04e1c06bd763847f73180df8a5
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2552722Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
    Commit-Queue: Asanka Herath <asanka@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#833744}
    c97a89ab
blink_apis.proto 8.79 KB