#ifndef NET_TOOLS_QUIC_QUIC_EPOLL_CLOCK_H_
#define NET_TOOLS_QUIC_QUIC_EPOLL_CLOCK_H_
+#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "net/quic/quic_clock.h"
#include "net/quic/quic_time.h"
class QuicEpollClock : public QuicClock {
public:
explicit QuicEpollClock(EpollServer* epoll_server);
- virtual ~QuicEpollClock();
+ ~QuicEpollClock() override;
// Returns the approximate current time as a QuicTime object.
- virtual QuicTime ApproximateNow() const OVERRIDE;
+ QuicTime ApproximateNow() const override;
// Returns the current time as a QuicTime object.
// Note: this use significant resources please use only if needed.
- virtual QuicTime Now() const OVERRIDE;
+ QuicTime Now() const override;
protected:
EpollServer* epoll_server_;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(QuicEpollClock);
};
} // namespace tools