Send reports for completed conversions
This CL implements reporting for the Conversion Measurement API. Reports are periodically fetched from ConversionStorage once every 30 minutes by the ConversionManager, which puts them into a queue to be sent. ConversionReporter implements this priority_queue and keeps a timer which fires when the next report is eligible. Reports are sent via SimpleUrlLoaders using the browsers SharedUrlLoaderFactory. Once a report is sent, it is deleted from storage. There is currently no logic for retries due to connection errors. Change-Id: I5ad28ebc6940618fe24b965b371e6097dbabf177 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050848 Commit-Queue: John Delaney <johnidel@chromium.org> Reviewed-by:Charlie Harrison <csharrison@chromium.org> Reviewed-by:
Christian Dullweber <dullweber@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/master@{#758279}
Showing
Please register or sign in to comment