[Sampling profiler] Extract and reuse process type logic
Extracts the logic for determining process type from command line into a location accessible to all users, and reuses it for all cases where we determine a process type. Bug: 1129939 Change-Id: Ie021aaf7275042d7ae271f3eafa315b1efac0df0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2427129 Commit-Queue: Mike Wittman <wittman@chromium.org> Reviewed-by:Etienne Pierre-Doray <etiennep@chromium.org> Cr-Commit-Position: refs/heads/master@{#812370}
Showing
Please register or sign in to comment