Fix missing download referrer chain
This is a regression introduced by a refactoring CL. SupportUserData key should be unique, but due to this refactoring, one of the data key losts its sameness. This make SetUserData() and GetUserData() consume different keys. This CL fix this problem. Also move the logging of "SafeBrowsing.ReferrerURLChainSize. DownloadAttribution" UMA metric right before report sending to help catch this kind of regression in the future. Bug: 789217 Change-Id: I778926b2d2ede69ad2b7c8327ce835104faa7852 Reviewed-on: https://chromium-review.googlesource.com/794512 Commit-Queue: Jialiu Lin <jialiul@chromium.org> Reviewed-by:Nathan Parker <nparker@chromium.org> Cr-Commit-Position: refs/heads/master@{#519881}
Showing
Please register or sign in to comment