• Jason Chase's avatar
    Minor refactor to origin trials bindings · 12280690
    Jason Chase authored
    The bindings for origin trials had two utility functions to detect the
    presence of the [OriginTrialEnabled] attribute on a definition. Both of
    these functions were being used semi-interchangeably to check for origin
    trials.
    
    This CL merges the two utility functions to simplify the logic.
    
    Also, there was some basic support for a [FeaturePolicy] attribute in
    the utility function. This logic was removed, as the [FeaturePolicy]
    was never used, and is not intended to be used in the future.
    
    Bug: 788196
    Change-Id: I2eda8e25147d30e251a1d9d076abe9a4f4b29c8a
    Reviewed-on: https://chromium-review.googlesource.com/802015
    Commit-Queue: Jason Chase <chasej@chromium.org>
    Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
    Reviewed-by: default avatarKenichi Ishibashi <bashi@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#520851}
    12280690
dictionary_v8.cpp.tmpl 7.15 KB