• Nate Fischer's avatar
    Code inclusion: add setSafeBrowsingAllowlist boundary interface · 58274f4e
    Nate Fischer authored
    This adds setSafeBrowsingAllowlist (behind the DEV_SUFFIX) and
    deprecates the setSafeBrowsingWhitelist boundary interface. These are
    functionally similar, although setSafeBrowsingAllowlist accepts a
    Set<String> since this is a more appropriate data type.
    
    This adds an UMA counter for the new API and adds missing enum labels
    for other APIs.
    
    This CL also renames a couple references to the old API to be
    SET_SAFE_BROWSING_ALLOWLIST_DEPRECATED_NAME instead, to minimize
    non-inclusive terminology.
    
    Fixed: 1108667
    Test: N/A
    Change-Id: I49ef11e4346e631e14b822943abb6482837d60a4
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2321523
    Auto-Submit: Nate Fischer <ntfschr@chromium.org>
    Commit-Queue: Laís Minchillo <laisminchillo@chromium.org>
    Reviewed-by: default avatarLaís Minchillo <laisminchillo@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#792830}
    58274f4e
enums.xml 3.22 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.