#ifndef NET_QUIC_TEST_TOOLS_MOCK_CLOCK_H_
#define NET_QUIC_TEST_TOOLS_MOCK_CLOCK_H_
#include "net/quic/quic_clock.h"
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/time/time.h"
namespace net {
class MockClock : public QuicClock {
public:
MockClock();
virtual ~MockClock();
void AdvanceTime(QuicTime::Delta delta);
virtual QuicTime Now() const OVERRIDE;
virtual QuicTime ApproximateNow() const OVERRIDE;
virtual QuicWallTime WallNow() const OVERRIDE;
base::TimeTicks NowInTicks() const;
private:
QuicTime now_;
};
}
#endif