[Trace] Add two-way sync for trace category checkboxes This CL wires up the category checkboxes on the trace recorder page to the `trace_config` URL parameter. Checking or unchecking categories now regenerates the trace config and updates the URL in real-time. Conversely, loading a URL with a `trace_config` parameter will now correctly pre-select the corresponding categories. This makes sharing trace configs easier. Bug: 413057996 Change-Id: Ia7ed78a4bc587dc25090eab1c50e0b29fbd9ec0d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6689351 Reviewed-by: Etienne Pierre-Doray <etiennep@chromium.org> Reviewed-by: Sophie Chang <sophiechang@chromium.org> Commit-Queue: Alex Attar <aattar@google.com> Cr-Commit-Position: refs/heads/main@{#1483885} NOKEYCHECK=True GitOrigin-RevId: f1a6267f9bfafd667516897911b2133a74023cf9
1 file changed