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

Unified Diff: components/domain_reliability/util.cc

Issue 1076853003: Refactor net::BackoffEntry to not require subclassing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address pneubeck's review comments Created 5 years, 8 months 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
Index: components/domain_reliability/util.cc
diff --git a/components/domain_reliability/util.cc b/components/domain_reliability/util.cc
index 70242aa9ebe0de2e8dd9199afe0b973a2d73d90c..06a8942eaf7a0c8d812f383ae3787ebd5a2e1c14 100644
--- a/components/domain_reliability/util.cc
+++ b/components/domain_reliability/util.cc
@@ -196,17 +196,4 @@ scoped_ptr<MockableTime::Timer> ActualTime::CreateTimer() {
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') | components/password_manager/core/browser/affiliation_fetch_throttler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698