Generalize PrivateMetricsReportingService for PUMA
This patch generalizes PrivateMetricsReportingService so that it could
be used for PUMA and not only DWA. It did support both DWA and Private
Metrics mode, but it wasn't possible to run it in both.
By parameterizing the service with the dwa_compatibility param, we can
instantiate this service twice: first time for the existing DWA flow,
and second time for the new Private Metrics flow.
Bug: b:452034784
Change-Id: Ie1b7ce08bf4cef984f8a43e69219c7d07007f216
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7172224
Commit-Queue: Kamil Jarosz <kjarosz@google.com>
Reviewed-by: Alexei Svitkine <asvitkine@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1549870}
NOKEYCHECK=True
GitOrigin-RevId: 54256fe11fcbb96a82bfdce97a47a8e64f094ae2
2 files changed