Fix Print Settings metrics
Some PrintSettings enum values - PAGE_RANGE, SELECTION_ONLY, and HEADERS_AND_FOOTERS - were incorrectly being recorded as always off in recent versions of Chrome. This is because these values are set to default/dummy values in the print ticket, since the preview generation process is responsible for applying them. Save the most recent preview request ticket, and use this to record metrics for preview generation parameters when the print request is received. Also, stop recording EXTERNAL_PDF_PREVIEW. This event is now also captured by the OPEN_IN_MAC_PREVIEW bucket for the UserAction histogram, and fits better with that histogram than with PrintSettings. Bug: None Change-Id: Ie83ce1017aef101dba899024ebdb5cb242f9e622 Reviewed-on: https://chromium-review.googlesource.com/1186081 Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Reviewed-by:Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#585636}
Showing
Please register or sign in to comment