Searched refs:PowerManagerInterface (Results 1 – 7 of 7) sorted by relevance
26 class PowerManagerInterface {28 virtual ~PowerManagerInterface() = default;34 PowerManagerInterface() = default;37 DISALLOW_COPY_AND_ASSIGN(PowerManagerInterface);42 std::unique_ptr<PowerManagerInterface> CreatePowerManager();
29 std::unique_ptr<PowerManagerInterface> CreatePowerManager() { in CreatePowerManager()30 return std::unique_ptr<PowerManagerInterface>(new PowerManagerChromeOS()); in CreatePowerManager()
26 class MockPowerManager : public PowerManagerInterface {
27 class PowerManagerChromeOS : public PowerManagerInterface {
105 PowerManagerInterface* power_manager() override { in power_manager()123 std::unique_ptr<PowerManagerInterface> power_manager_;
110 inline PowerManagerInterface* power_manager() override { in power_manager()296 PowerManagerInterface* power_manager_{&mock_power_manager_};
52 class PowerManagerInterface; variable113 virtual PowerManagerInterface* power_manager() = 0;