-
Oystein Eftevaag authored
Moved the option to anonymize the trace data from the TraceConfig struct to the Mojo Consumer::DisableTracingAndEmitJson API, to allow filtering/whitelisting of tracing data to be done during JSON serialization time rather than writing time. This is a step towards deprecating the support for uploading JSON trace data with specific fields white-listed, rather than using strongly typed logs protos. Already LGTM'ed then split out from (and a prerequisite of) https://chromium-review.googlesource.com/c/chromium/src/+/1817207 TBR=ssid@chromium Bug: 839086 Change-Id: I50eb874252d201da5dc2ccbd878eb449cd0cc80a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1832934Reviewed-by:
oysteine <oysteine@chromium.org> Reviewed-by:
Eric Seckler <eseckler@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Commit-Queue: oysteine <oysteine@chromium.org> Cr-Commit-Position: refs/heads/master@{#702079}
fac6fb3e