Include Chrome Version + Command Line info in traces from about:tracing.
commit6160a4b4e7b69d7453db54d41914d76079a902c0
authorsimonhatch <simonhatch@chromium.org>
Thu, 23 Jul 2015 13:30:44 +0000 (23 06:30 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 23 Jul 2015 13:31:50 +0000 (23 13:31 +0000)
tree13594c2289cb4de7a5d49d08a44e1d9f02241de2
parentde540953570e2c6fe38271ff07f63cc3b68148cf
Include Chrome Version + Command Line info in traces from about:tracing.

This was previously exported with traces, but lost at some point. This CL adds the chrome product version and the command line as part of the metadata when traces are saved manually via about:tracing.

This does not affect traces saved other ways (ie. via devtools, startup tracing)

Example output:

metadata

{command_line: "./out/Release/chrome --flag-switches-begin --flag-switches-end",
 version: "Chrome/46.0.2462.0"}

BUG=360897

Review URL: https://codereview.chromium.org/1249663003

Cr-Commit-Position: refs/heads/master@{#340083}
content/browser/tracing/tracing_ui.cc