-
Carlos IL authored
The UMA client now retries uploads over an HTTP connection if HTTPS fails. Logs uploaded over HTTP are encrypted first, along with their hash and ReportingInfo headers using the encrypted messages component. Currently this only happens if chrome is started with the --retry-uma-over-http flag. Tests were also added that validate HTTP uploads are encrypted and HTTPS ones are not. In a future CL the UMA.LogUpload.ResponseOrErrorCode histogram will be split so requests made over HTTP have a separate histogram from those done over HTTPS. Bug: 769145 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: Id0671c49f6bd979343d7e88e04938f567005375e Reviewed-on: https://chromium-review.googlesource.com/727264 Reviewed-by: Steven Holte <holte@chromium.org> Reviewed-by: Adrienne Porter Felt <felt@chromium.org> Reviewed-by: Bo <boliu@chromium.org> Reviewed-by: Olivier Robin <olivierrobin@chromium.org> Commit-Queue: Carlos IL <carlosil@chromium....
75b352f3