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

Unified Diff: components/domain_reliability/util.h

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/scheduler_unittest.cc ('k') | components/domain_reliability/util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/util.h
diff --git a/components/domain_reliability/util.h b/components/domain_reliability/util.h
index 56ca229875158d2995397e259e3a8779966b2421..80699d437907bb18a0b7f96d846d2e30daf62578 100644
--- a/components/domain_reliability/util.h
+++ b/components/domain_reliability/util.h
@@ -13,7 +13,6 @@
#include "base/time/time.h"
#include "base/tracked_objects.h"
#include "components/domain_reliability/domain_reliability_export.h"
-#include "net/base/backoff_entry.h"
#include "net/http/http_response_info.h"
namespace domain_reliability {
@@ -83,21 +82,6 @@
scoped_ptr<MockableTime::Timer> CreateTimer() override;
};
-// A subclass of BackoffEntry that uses a MockableTime to keep track of time.
-class MockableTimeBackoffEntry : public net::BackoffEntry {
- public:
- MockableTimeBackoffEntry(const net::BackoffEntry::Policy* const policy,
- MockableTime* time);
-
- virtual ~MockableTimeBackoffEntry();
-
- protected:
- virtual base::TimeTicks ImplGetTimeNow() const override;
-
- private:
- MockableTime* time_;
-};
-
} // namespace domain_reliability
#endif // COMPONENTS_DOMAIN_RELIABILITY_UTIL_H_
« no previous file with comments | « components/domain_reliability/scheduler_unittest.cc ('k') | components/domain_reliability/util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698