blob: f436d690d4e5ddedbf9df7f54870bddb2ddf90f3 [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 P2P_COMMON_CLOCK_H_
#define P2P_COMMON_CLOCK_H_
#include <base/macros.h>
#include "p2p/common/clock_interface.h"
namespace p2p {
namespace common {
class Clock : public ClockInterface {
public:
Clock() = default;
void Sleep(const base::TimeDelta& duration) override;
base::Time GetMonotonicTime() override;
private:
DISALLOW_COPY_AND_ASSIGN(Clock);
};
} // namespace common
} // namespace p2p
#endif // P2P_COMMON_CLOCK_H_