blob: 4e8ab0bcf7aea07f4a6dfdfb67ea79ebeb60ed5f [file] [log] [blame]
// Copyright 2019 The Chromium OS Authors. All rights reserved.
// 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_EC_HELPER_STUB_H_
#define POWER_MANAGER_POWERD_SYSTEM_EC_HELPER_STUB_H_
#include <map>
#include <string>
#include <base/macros.h>
#include "power_manager/powerd/system/ec_helper_interface.h"
namespace power_manager {
namespace system {
class EcHelperStub : public EcHelperInterface {
public:
EcHelperStub();
~EcHelperStub() override;
// Implementation of EcHelperInterface.
bool IsWakeAngleSupported() override;
bool AllowWakeupAsTablet(bool enabled) override;
bool IsWakeupAsTabletAllowed();
private:
bool wakeup_as_tablet_allowed_;
DISALLOW_COPY_AND_ASSIGN(EcHelperStub);
};
} // namespace system
} // namespace power_manager
#endif // POWER_MANAGER_POWERD_SYSTEM_EC_HELPER_STUB_H_