summaryrefslogtreecommitdiff
path: root/hardware.h
diff options
context:
space:
mode:
authorAlex Vakulenko <avakulenko@chromium.org>2014-08-11 15:59:58 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-08-12 23:10:06 +0000
commit157fe307f162d13f53e7f98f6e2da7c60c0ff001 (patch)
tree85d3063f0b5b58c4aeb5fd9c1e7f492888454974 /hardware.h
parentfd45a731d9f9176ce134b34e2a84acc0cf403d1d (diff)
platform2: sweep the lint errors identified by the updated linter
cpplint.py has been updated and identified new issues in existing code. Stuff like overridden functions that specify 'override' should not be marked as 'virtual', and constructors with no parameters should not be marked as 'explicit'. BUG=None TEST=cpplint.py `find ./platform2 -name *.cc -or -name *.h` Change-Id: Ibb9de43286d874d076ffd5ebb1b13c36ec794f01 Reviewed-on: https://chromium-review.googlesource.com/211950 Reviewed-by: Alex Vakulenko <avakulenko@chromium.org> Commit-Queue: Alex Vakulenko <avakulenko@chromium.org> Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Diffstat (limited to 'hardware.h')
-rw-r--r--hardware.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/hardware.h b/hardware.h
index 7ab879a0..1fa2edf9 100644
--- a/hardware.h
+++ b/hardware.h
@@ -18,22 +18,22 @@ namespace chromeos_update_engine {
class Hardware : public HardwareInterface {
public:
Hardware();
- virtual ~Hardware() override;
+ ~Hardware() override;
// HardwareInterface methods.
- virtual std::string BootKernelDevice() const override;
- virtual std::string BootDevice() const override;
- virtual bool IsBootDeviceRemovable() const override;
- virtual std::vector<std::string> GetKernelDevices() const override;
- virtual bool IsKernelBootable(const std::string& kernel_device,
- bool* bootable) const override;
- virtual bool MarkKernelUnbootable(const std::string& kernel_device) override;
- virtual bool IsOfficialBuild() const override;
- virtual bool IsNormalBootMode() const override;
- virtual bool IsOOBEComplete(base::Time* out_time_of_oobe) const override;
- virtual std::string GetHardwareClass() const override;
- virtual std::string GetFirmwareVersion() const override;
- virtual std::string GetECVersion() const override;
+ std::string BootKernelDevice() const override;
+ std::string BootDevice() const override;
+ bool IsBootDeviceRemovable() const override;
+ std::vector<std::string> GetKernelDevices() const override;
+ bool IsKernelBootable(const std::string& kernel_device,
+ bool* bootable) const override;
+ bool MarkKernelUnbootable(const std::string& kernel_device) override;
+ bool IsOfficialBuild() const override;
+ bool IsNormalBootMode() const override;
+ bool IsOOBEComplete(base::Time* out_time_of_oobe) const override;
+ std::string GetHardwareClass() const override;
+ std::string GetFirmwareVersion() const override;
+ std::string GetECVersion() const override;
private:
DISALLOW_COPY_AND_ASSIGN(Hardware);