Descriptionmash: Provide a fake chromeos StatisticsProvider in ash
Lower-level code in //chromeos (like the power manager client) assumes it can
use chromeos::system::StatisticsProvider to determine if it is running in a VM
(among other things). This is causing CHECK failures on mash when powerd isn't
running.
For now, provide a fake implementation, since we don't want to create a
StatisticsProviderImpl in both chrome and ash, as it runs an external binary
to get its information, and we don't want to do that twice.
BUG=643289
TEST=manual, stop powerd, start chrome on device with --mash, no CHECK failure
Committed: https://crrev.com/fb20f602654bb390e495835aa5087f98d88143a5
Cr-Commit-Position: refs/heads/master@{#416088}
Patch Set 1 #Patch Set 2 : . #
Total comments: 2
Patch Set 3 : build file #
Messages
Total messages: 12 (6 generated)
|