Home
last modified time | relevance | path

Searched refs:send_log_ (Results 1 – 2 of 2) sorted by relevance

/external/chromium/net/url_request/
Durl_request_throttler_entry.cc108 if (!send_log_.empty() && in IsEntryOutdated()
109 send_log_.back() + sliding_window_period_ > GetTimeNow()) { in IsEntryOutdated()
143 DCHECK(send_log_.empty() || in ReserveSendingTimeForNextRequest()
144 recommended_sending_time >= send_log_.back()); in ReserveSendingTimeForNextRequest()
146 send_log_.push(recommended_sending_time); in ReserveSendingTimeForNextRequest()
153 while ((send_log_.front() + sliding_window_period_ <= in ReserveSendingTimeForNextRequest()
155 send_log_.size() > static_cast<unsigned>(max_send_threshold_)) { in ReserveSendingTimeForNextRequest()
156 send_log_.pop(); in ReserveSendingTimeForNextRequest()
160 if (send_log_.size() == static_cast<unsigned>(max_send_threshold_)) in ReserveSendingTimeForNextRequest()
161 sliding_window_release_time_ = send_log_.front() + sliding_window_period_; in ReserveSendingTimeForNextRequest()
Durl_request_throttler_entry.h145 std::queue<base::TimeTicks> send_log_; variable