[cleanup] Mark a constructor private to prefer a factory function
MetricsWebContentsObservers should be created through the |CreateForWebContents| factory function. Hiding the constructor ensures callers can't accidentally skip initialization handled by the factory function. Change-Id: I332aa234c7a307d80d8793ed4ebb4d2efb987448 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2233411Reviewed-by:Steve Kobes <skobes@chromium.org> Commit-Queue: Tom McKee <tommckee@chromium.org> Cr-Commit-Position: refs/heads/master@{#776039}
Showing
Please register or sign in to comment