Refactor HashedExtensionMetrics into ExtensionsMetricsProvider.
Transforms HashedExtensionMetrics into a metrics::MetricsProvider, eliminating direct knowledge of this class from MetricsLog. Renames the class to ExtensionsMetricsProvider. Notably, changes the class to take in the MetricsStateManager and later obtain the client ID from the manager rather than directly taking in the ID; this change is necessary because the provider instance is now constructed before the ID is determined. BUG=374225 Review URL: https://codereview.chromium.org/297483008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272633 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment