Report types as strings
This CL improves the readability of votes uploads: Before the CL, you would see "autofill_type: [51]". After the CL, you now see "autofill_type: [51/CREDIT_CARD_NAME_FULL]". If std::vector<std::string> elements are piped into the LogBuffer, these are automatically represented as a comma separated list in the output. R=kolos@chromium.org Bug: 928595 Change-Id: I68c917be57c5dbf32a7932235b8c52dc8916cf97 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1724521 Commit-Queue: Dominic Battré <battre@chromium.org> Reviewed-by:Maxim Kolosovskiy <kolos@chromium.org> Cr-Commit-Position: refs/heads/master@{#682537}
Showing
Please register or sign in to comment