• Varun Khaneja's avatar
    If the high confidence list isn't ready, call it a MATCH. · c6aaa6e3
    Varun Khaneja authored
    The current implementation of checking high confidence allowlist returns
    NO_MATCH if any of the following apply:
    1. The DB isn't enabled yet.
    2. If the URL scheme can't be checked.
    3. If the list hasn't been loaded from the disk yet.
    
    Since Chrome now falls back to hash based checks in the case of an allowlist
    match, it's safe to return MATCH if any of the above conditions happen.
    
    Bug: 963165
    Change-Id: I3b311ed6124865c5e3236bd83dec62a640b6d881
    Fixed: 1022628
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1906645
    Auto-Submit: Varun Khaneja <vakh@chromium.org>
    Reviewed-by: default avatarDaniel Rubery <drubery@chromium.org>
    Commit-Queue: Varun Khaneja <vakh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#714339}
    c6aaa6e3
v4_local_database_manager.cc 36.9 KB