blob: ba5a3fec9d4179e437062660e52912027f75b077 [file] [log] [blame]
// Copyright 2021 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef POWER_MANAGER_POWERD_SYSTEM_EXTERNAL_AMBIENT_LIGHT_SENSOR_FACTORY_STUB_H_
#define POWER_MANAGER_POWERD_SYSTEM_EXTERNAL_AMBIENT_LIGHT_SENSOR_FACTORY_STUB_H_
#include <memory>
#include <string>
#include "power_manager/powerd/system/external_ambient_light_sensor_factory_interface.h"
namespace power_manager::system {
// Creates external ambient light sensors that are stubs for testing.
class ExternalAmbientLightSensorFactoryStub
: public ExternalAmbientLightSensorFactoryInterface {
public:
std::unique_ptr<AmbientLightSensorInterface> CreateSensor(
const AmbientLightSensorInfo& als_info) const override;
};
} // namespace power_manager::system
#endif // POWER_MANAGER_POWERD_SYSTEM_EXTERNAL_AMBIENT_LIGHT_SENSOR_FACTORY_STUB_H_