Lines Matching defs:cros
10 #include "chrome/browser/chromeos/cros/cros_library.h"
119 PowerLibrary* cros = CrosLibrary::Get()->GetPowerLibrary();
120 if (!cros)
125 battery_is_present_ = cros->battery_is_present();
126 line_power_on_ = cros->line_power_on();
127 battery_fully_charged_ = cros->battery_fully_charged();
128 battery_percentage_ = cros->battery_percentage();
130 // Note: we always call cros->battery_percentage() for test predictability.
133 battery_time_to_full_ = cros->battery_time_to_full();
134 battery_time_to_empty_ = cros->battery_time_to_empty();