Chromium Code Reviews
DescriptionMove ChromeOS hardware class init out of MetricsService.
This CL moves the initialization of the hardware class on ChromeOS out of
MetricsService and into ChromeOSMetricsProvider via ChromeMetricsServiceClient.
MetricsService now pass |OnInitTaskGotHardwareClass()| as the callback to
ChromeMetricsServiceClient::StartGatheringMetrics().
ChromeMetricsServiceClient::StartGatheringMetrics() posts a task to the FILE
thread calling ChromeMetricsServiceClient::InitTaskGetHardwareClass(). The
latter function calls into ChromeOSMetricsProvider when on ChromeOS and
directly calls the callback passed to it on other platforms.
A followup CL will move the rest of the embedder-specific initial metrics
gathering flow out of MetricsService.
BUG=375776
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273820
Patch Set 1 #
Total comments: 3
Patch Set 2 : Nits #Patch Set 3 : Build fix + response to review #
Total comments: 2
Patch Set 4 : Response to review #
Total comments: 4
Patch Set 5 : Response to review #
Total comments: 4
Patch Set 6 : Response to review #Patch Set 7 : Rebase #Messages
Total messages: 20 (0 generated)
|