blob: 8cfe366e0cdb85947fcba5775df77be278fa8b54 [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_CLOCK_H__
#define CHROMEOS_PLATFORM_UPDATE_ENGINE_CLOCK_H__
#include "update_engine/clock_interface.h"
namespace chromeos_update_engine {
// Implements a clock.
class Clock : public ClockInterface {
public:
Clock() {}
virtual base::Time GetWallclockTime();
virtual base::Time GetMonotonicTime();
virtual base::Time GetBootTime();
private:
DISALLOW_COPY_AND_ASSIGN(Clock);
};
} // namespace chromeos_update_engine
#endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_CLOCK_H__