#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"
namespace net {
class EpollServer;
namespace tools {
class QuicEpollClock : public QuicClock {
public:
explicit QuicEpollClock(EpollServer* epoll_server);
virtual ~QuicEpollClock();
virtual QuicTime ApproximateNow() const OVERRIDE;
virtual QuicTime Now() const OVERRIDE;
protected:
EpollServer* epoll_server_;
};
}
}
#endif