• Christopher Thompson's avatar
    Add connection info to Downloads UKM · 4fc12293
    Christopher Thompson authored
    This adds the DownloadConnectionSecurity of the download and a boolean
    for whether the final download URL is a different host than the
    originating URL to the existing Download.Started UKM.
    
    This also refactors out the logic for checking the
    DownloadConnectionSecurity into a new public function
    (CheckDownloadConnectionSecurity) in download_stats.h and exposes the
    underlying DownloadConnectionSecurity enum.
    
    This will help us identify sites that have a lot of downloads over
    HTTP (or go over HTTP in their redirect chain) for outreach efforts.
    
    Bug: 839986
    Change-Id: I9a1bb78b8c62547e322ec1b85b5acfaa7acc813a
    Reviewed-on: https://chromium-review.googlesource.com/1195854
    Commit-Queue: Christopher Thompson <cthomp@chromium.org>
    Reviewed-by: default avatarRobert Kaplow (slow) <rkaplow@chromium.org>
    Reviewed-by: default avatarMin Qin <qinmin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#587737}
    4fc12293
ukm.xml 159 KB