Delay binding of SourceId to URL in PasswordFormMetricsRecorder
This CL delays the binding of a ukm::SourceID to a URL in the PasswordFormMetricsRecorder until the recorder is destroyed. The reason for this is that long-lived tabs/WebContents would bind the URL at creation. But by destruction (i.e. reporting time) the binding is purged and the data is discarded. Bug: 732846 Change-Id: I0a7c654ddc1a866e4abbe51206f62949500b5ba9 Reviewed-on: https://chromium-review.googlesource.com/577887 Commit-Queue: Dominic Battré <battre@chromium.org> Reviewed-by:Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/master@{#488214}
Showing
Please register or sign in to comment