Home
last modified time | relevance | path

Searched refs:BackoffEntry (Results 1 – 6 of 6) sorted by relevance

/external/chromium/net/base/
Dbackoff_entry.cc15 BackoffEntry::BackoffEntry(const BackoffEntry::Policy* const policy) in BackoffEntry() function in net::BackoffEntry
24 BackoffEntry::~BackoffEntry() { in ~BackoffEntry()
30 void BackoffEntry::InformOfRequest(bool succeeded) { in InformOfRequest()
58 bool BackoffEntry::ShouldRejectRequest() const { in ShouldRejectRequest()
62 base::TimeTicks BackoffEntry::GetReleaseTime() const { in GetReleaseTime()
66 void BackoffEntry::SetCustomReleaseTime(const base::TimeTicks& release_time) { in SetCustomReleaseTime()
70 bool BackoffEntry::CanDiscard() const { in CanDiscard()
95 base::TimeTicks BackoffEntry::GetTimeNow() const { in GetTimeNow()
99 base::TimeTicks BackoffEntry::CalculateReleaseTime() const { in CalculateReleaseTime()
Dbackoff_entry_unittest.cc12 using net::BackoffEntry;
14 BackoffEntry::Policy base_policy = { 0, 1000, 2.0, 0.0, 20000, 2000 };
16 class TestBackoffEntry : public BackoffEntry {
19 : BackoffEntry(policy), in TestBackoffEntry()
51 BackoffEntry::Policy never_expires_policy = base_policy; in TEST()
87 BackoffEntry::Policy no_store_policy = base_policy; in TEST()
94 BackoffEntry::Policy lenient_policy = base_policy; in TEST()
97 BackoffEntry entry(&lenient_policy); in TEST()
138 BackoffEntry::Policy jittery_policy = base_policy; in TEST()
194 BackoffEntry::Policy lenient_policy = base_policy; in TEST()
Dbackoff_entry.h19 class BackoffEntry : public base::NonThreadSafe {
47 explicit BackoffEntry(const Policy* const policy);
48 virtual ~BackoffEntry();
89 DISALLOW_COPY_AND_ASSIGN(BackoffEntry);
/external/chromium/net/url_request/
Durl_request_throttler_entry.h121 virtual const BackoffEntry* GetBackoffEntry() const;
122 virtual BackoffEntry* GetBackoffEntry();
135 BackoffEntry::Policy backoff_policy_;
154 BackoffEntry backoff_entry_;
Durl_request_throttler_unittest.cc24 class MockBackoffEntry : public BackoffEntry {
26 explicit MockBackoffEntry(const BackoffEntry::Policy* const policy) in MockBackoffEntry()
27 : BackoffEntry(policy), fake_now_(TimeTicks()) { in MockBackoffEntry()
77 const BackoffEntry* GetBackoffEntry() const { in GetBackoffEntry()
81 BackoffEntry* GetBackoffEntry() { in GetBackoffEntry()
Durl_request_throttler_entry.cc260 const BackoffEntry* URLRequestThrottlerEntry::GetBackoffEntry() const { in GetBackoffEntry()
264 BackoffEntry* URLRequestThrottlerEntry::GetBackoffEntry() { in GetBackoffEntry()