blob: 3c42524da09445eafcfb32b419db52013fb751d1 [file] [log] [blame]
// Copyright (c) 2013 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 CHROMEOS_PLATFORM_UPDATE_ENGINE_HARDWARE_H__
#define CHROMEOS_PLATFORM_UPDATE_ENGINE_HARDWARE_H__
#include "update_engine/hardware_interface.h"
#include "base/basictypes.h"
namespace chromeos_update_engine {
// Implements the real interface with the hardware.
class Hardware : public HardwareInterface {
public:
Hardware() {}
// HardwareInterface methods.
virtual const std::string BootDevice();
virtual const std::string KernelDeviceOfBootDevice(
const std::string& boot_device);
private:
DISALLOW_COPY_AND_ASSIGN(Hardware);
};
} // namespace chromeos_update_engine
#endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_HARDWARE_H__