• Charles Harrison's avatar
    [subresource_filter] Do not check V4UsageStatus on Android · ed369ed2
    Charles Harrison authored
    The V4UsageStatus is a desktop-specific check, because Android is already
    shipped with V4.
    
    Additionally, this exposed an issue with our implementation when there
    is a remote db: synchronous failure (e.g. when visiting chrome:// urls)
    cause our db client to cancel a non-existent request in its destructor.
    
    This is easily fixed by marking request_complete_ in that code path.
    
    Another small (but important!) fix is that the Android check for the
    subresource filter also includes the phishing list.
    
    Bug: 609747
    Change-Id: I477361117380fcb7e14b30a677b24c5d41027e1c
    Reviewed-on: https://chromium-review.googlesource.com/528393Reviewed-by: default avatarJosh Karlin <jkarlin@chromium.org>
    Reviewed-by: default avatarVarun Khaneja <vakh@chromium.org>
    Commit-Queue: Charlie Harrison <csharrison@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#478772}
    ed369ed2
database_manager.h 13 KB