Move simple firmware related queries into HardwareInterface.

This change moves the following functions from utils to
HardwareInterface:
    GetHardwareClass()
    GetFirmwareVersion()
    GetECVersion()

BUG=None
TEST=unit tests

Change-Id: I20047a3fac8cca3c36730fef305751e6da3c2bb5
Reviewed-on: https://chromium-review.googlesource.com/174930
Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Chris Sosa <sosa@chromium.org>
diff --git a/fake_hardware.h b/fake_hardware.h
index 6d3b926..5428f28 100644
--- a/fake_hardware.h
+++ b/fake_hardware.h
@@ -13,18 +13,39 @@
 class FakeHardware : public HardwareInterface {
  public:
   FakeHardware()
-    : boot_device_("/dev/sdz5") {}
+    : boot_device_("/dev/sdz5"),
+      hardware_class_("Fake HWID BLAH-1234"),
+      firmware_version_("Fake Firmware v1.0.1"),
+      ec_version_("Fake EC v1.0a") {}
 
   // HardwareInterface methods.
   virtual const std::string BootDevice() { return boot_device_; }
+  virtual std::string GetHardwareClass() { return hardware_class_; }
+  virtual std::string GetFirmwareVersion() { return firmware_version_; }
+  virtual std::string GetECVersion() { return ec_version_; }
 
   // Setters
   void SetBootDevice(const std::string boot_device) {
     boot_device_ = boot_device;
   }
 
+  void SetHardwareClass(std::string hardware_class) {
+    hardware_class_ = hardware_class;
+  }
+
+  void SetFirmwareVersion(std::string firmware_version) {
+    firmware_version_ = firmware_version;
+  }
+
+  void SetECVersion(std::string ec_version) {
+    ec_version_ = ec_version;
+  }
+
  private:
   std::string boot_device_;
+  std::string hardware_class_;
+  std::string firmware_version_;
+  std::string ec_version_;
 
   DISALLOW_COPY_AND_ASSIGN(FakeHardware);
 };