Chromium Code Reviews| Index: net/base/backoff_entry.h |
| diff --git a/net/base/backoff_entry.h b/net/base/backoff_entry.h |
| index 3efd32cee01468fb470e180db645cea27f58102e..f8543cd7556f709f5bb8441f980e6ffcaf4d8c3c 100644 |
| --- a/net/base/backoff_entry.h |
| +++ b/net/base/backoff_entry.h |
| @@ -108,16 +108,13 @@ class NET_EXPORT BackoffEntry : NON_EXPORTED_BASE(public base::NonThreadSafe) { |
| // Returns the failure count for this entry. |
| int failure_count() const { return failure_count_; } |
| - // Returns the TickClock passed in to the constructor. May be NULL. |
| - base::TickClock* tick_clock() const { return clock_; } |
| + // Equivalent to TimeTicks::Now(), using clock_ if provided. |
| + base::TimeTicks GetTimeTicksNow() const; |
|
mmenke
2016/10/03 14:30:03
Need to reorder the cc file to match the order in
|
| private: |
| // Calculates when requests should again be allowed through. |
| base::TimeTicks CalculateReleaseTime() const; |
| - // Equivalent to TimeTicks::Now(), using clock_ if provided. |
| - base::TimeTicks GetTimeTicksNow() const; |
| - |
| // Timestamp calculated by the exponential back-off algorithm at which we are |
| // allowed to start sending requests again. |
| base::TimeTicks exponential_backoff_release_time_; |