
It is possible to infer the capture mode (which limits how much sensitive information is stored in a NetLog file) by scanning emitted events, but explicitly recording the capture mode in the file enables automated tooling to more easily classify logs. Bug: 1057773 Change-Id: Ia36fb2cbb091cf2b4a940fbe48fce87269438c33 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2087702 Reviewed-by: Matt Menke <mmenke@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Reviewed-by: Eric Roman <eroman@chromium.org> Commit-Queue: Eric Lawrence [MSFT] <ericlaw@microsoft.com> Cr-Commit-Position: refs/heads/master@{#815833}