DescriptionDomain Reliability: Don't create Service if metrics reporting disabled
Given that the metrics reporting pref is labelled in the UI as requiring
a restart to apply, this is a much simpler way of gating Domain
Reliability uploads on it.
We simply don't create the Service (so we don't collect data and upload
it) if the pref is false.
This will need to be revisited when we also start using the Monitor for
JavaScript hooks (e.g. the Navigation Error Logging API).
BUG=407170
Committed: https://crrev.com/8d0540250a09769fa5f3a323302ceb4a0d498a51
Cr-Commit-Position: refs/heads/master@{#293226}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Even simpler. #
Total comments: 1
Patch Set 3 : Even even simpler. #
Total comments: 1
Patch Set 4 : Add braces #Messages
Total messages: 13 (2 generated)
|