Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(691)

Unified Diff: components/domain_reliability/util.cc

Issue 709333003: Revert of Domain Reliability: Switch to BackoffEntry in Scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@parse_retry_after_header
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/domain_reliability/util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/util.cc
diff --git a/components/domain_reliability/util.cc b/components/domain_reliability/util.cc
index 6fc50c56e42e4d254fa40998423d14d788482286..68f6db6dad6afeb23b5867b0e98b99d5f670545f 100644
--- a/components/domain_reliability/util.cc
+++ b/components/domain_reliability/util.cc
@@ -136,17 +136,4 @@
return scoped_ptr<MockableTime::Timer>(new ActualTimer());
}
-MockableTimeBackoffEntry::MockableTimeBackoffEntry(
- const net::BackoffEntry::Policy* const policy,
- MockableTime* time)
- : net::BackoffEntry(policy),
- time_(time) {
-}
-
-MockableTimeBackoffEntry::~MockableTimeBackoffEntry() {}
-
-base::TimeTicks MockableTimeBackoffEntry::ImplGetTimeNow() const {
- return time_->NowTicks();
-}
-
} // namespace domain_reliability
« no previous file with comments | « components/domain_reliability/util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698