Index: net/url_request/url_request_throttler_test_support.cc |
diff --git a/net/url_request/url_request_throttler_test_support.cc b/net/url_request/url_request_throttler_test_support.cc |
index 9d3f4e253bc3c5c3d8e0bd32c64b940224342043..5b39c047f32b4b6c608bcbd659df2c21750dd431 100644 |
--- a/net/url_request/url_request_throttler_test_support.cc |
+++ b/net/url_request/url_request_throttler_test_support.cc |
@@ -8,19 +8,14 @@ |
namespace net { |
-MockBackoffEntry::MockBackoffEntry(const BackoffEntry::Policy* const policy) |
- : BackoffEntry(policy) { |
-} |
+TestTickClock::TestTickClock() {} |
-MockBackoffEntry::~MockBackoffEntry() { |
-} |
+TestTickClock::TestTickClock(base::TimeTicks now) : now_ticks_(now) {} |
-base::TimeTicks MockBackoffEntry::ImplGetTimeNow() const { |
- return fake_now_; |
-} |
+TestTickClock::~TestTickClock() {} |
-void MockBackoffEntry::set_fake_now(const base::TimeTicks& now) { |
- fake_now_ = now; |
+base::TimeTicks TestTickClock::NowTicks() { |
+ return now_ticks_; |
} |
MockURLRequestThrottlerHeaderAdapter::MockURLRequestThrottlerHeaderAdapter( |