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

Unified Diff: components/domain_reliability/scheduler.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/scheduler.cc
diff --git a/components/domain_reliability/scheduler.cc b/components/domain_reliability/scheduler.cc
index d16dfe355edea9e0861356109d52c506b7ed73d0..040c4b1c38a7f1b47ae48a6503928e6720b5204d 100644
--- a/components/domain_reliability/scheduler.cc
+++ b/components/domain_reliability/scheduler.cc
@@ -11,6 +11,7 @@
#include "base/values.h"
#include "components/domain_reliability/config.h"
#include "components/domain_reliability/util.h"
+#include "net/base/backoff_entry.h"
namespace {
@@ -92,7 +93,7 @@ DomainReliabilityScheduler::DomainReliabilityScheduler(
for (size_t i = 0; i < num_collectors; ++i) {
collectors_.push_back(
- new MockableTimeBackoffEntry(&backoff_policy_, time_));
+ new net::BackoffEntry(&backoff_policy_, time_));
}
}
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc ('k') | components/domain_reliability/util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698