HomeSort by relevance Sort by last modified time
    Searched refs:BackoffEntry (Results 1 - 25 of 33) sorted by null

1 2

  /external/chromium/net/base/
backoff_entry.cc 15 BackoffEntry::BackoffEntry(const BackoffEntry::Policy* const policy)
24 BackoffEntry::~BackoffEntry() {
30 void BackoffEntry::InformOfRequest(bool succeeded) {
58 bool BackoffEntry::ShouldRejectRequest() const {
62 base::TimeTicks BackoffEntry::GetReleaseTime() const {
66 void BackoffEntry::SetCustomReleaseTime(const base::TimeTicks& release_time) {
70 bool BackoffEntry::CanDiscard() const
    [all...]
backoff_entry.h 19 class BackoffEntry : public base::NonThreadSafe {
45 // Lifetime of policy must enclose lifetime of BackoffEntry. The
47 explicit BackoffEntry(const Policy* const policy);
48 virtual ~BackoffEntry();
67 // just as well start with a fresh BackoffEntry object), and hasn't
89 DISALLOW_COPY_AND_ASSIGN(BackoffEntry);
backoff_entry_unittest.cc 12 using net::BackoffEntry;
14 BackoffEntry::Policy base_policy = { 0, 1000, 2.0, 0.0, 20000, 2000 };
16 class TestBackoffEntry : public BackoffEntry {
19 : BackoffEntry(policy),
51 BackoffEntry::Policy never_expires_policy = base_policy;
87 BackoffEntry::Policy no_store_policy = base_policy;
94 BackoffEntry::Policy lenient_policy = base_policy;
97 BackoffEntry entry(&lenient_policy);
138 BackoffEntry::Policy jittery_policy = base_policy;
194 BackoffEntry::Policy lenient_policy = base_policy
    [all...]
  /external/chromium_org/net/base/
backoff_entry.h 19 class NET_EXPORT BackoffEntry : NON_EXPORTED_BASE(public base::NonThreadSafe) {
58 // Lifetime of policy must enclose lifetime of BackoffEntry. The
60 explicit BackoffEntry(const Policy* const policy);
61 virtual ~BackoffEntry();
83 // just as well start with a fresh BackoffEntry object), and hasn't
110 DISALLOW_COPY_AND_ASSIGN(BackoffEntry);
backoff_entry.cc 16 BackoffEntry::BackoffEntry(const BackoffEntry::Policy* const policy)
22 BackoffEntry::~BackoffEntry() {
28 void BackoffEntry::InformOfRequest(bool succeeded) {
58 bool BackoffEntry::ShouldRejectRequest() const {
62 base::TimeDelta BackoffEntry::GetTimeUntilRelease() const {
69 base::TimeTicks BackoffEntry::GetReleaseTime() const {
73 void BackoffEntry::SetCustomReleaseTime(const base::TimeTicks& release_time)
    [all...]
backoff_entry_unittest.cc 12 using net::BackoffEntry;
14 BackoffEntry::Policy base_policy = { 0, 1000, 2.0, 0.0, 20000, 2000, false };
16 class TestBackoffEntry : public BackoffEntry {
19 : BackoffEntry(policy),
53 BackoffEntry::Policy never_expires_policy = base_policy;
89 BackoffEntry::Policy always_delay_policy = base_policy;
109 BackoffEntry::Policy no_store_policy = base_policy;
116 BackoffEntry::Policy lenient_policy = base_policy;
119 BackoffEntry entry(&lenient_policy);
166 BackoffEntry::Policy always_delay_policy = base_policy
    [all...]
  /external/chromium_org/chrome/browser/extensions/updater/
request_queue.h 22 // net::BackoffEntry instance associated with it.
41 RequestQueue(const net::BackoffEntry::Policy* backoff_policy,
80 void set_backoff_policy(const net::BackoffEntry::Policy* backoff_policy);
84 Request(net::BackoffEntry* backoff_entry, T* request)
86 linked_ptr<net::BackoffEntry> backoff_entry;
96 scoped_ptr<net::BackoffEntry> backoff_entry);
99 const net::BackoffEntry::Policy* backoff_policy_;
110 scoped_ptr<net::BackoffEntry> active_backoff_entry_;
request_queue_impl.h 20 const net::BackoffEntry::Policy* const backoff_policy,
48 PushImpl(request.Pass(), scoped_ptr<net::BackoffEntry>(
49 new net::BackoffEntry(backoff_policy_)));
55 scoped_ptr<net::BackoffEntry> backoff_entry) {
139 const net::BackoffEntry::Policy* backoff_policy) {
  /external/chromium_org/net/url_request/
url_request_throttler_test_support.h 16 class MockBackoffEntry : public BackoffEntry {
18 explicit MockBackoffEntry(const BackoffEntry::Policy* const policy);
21 // BackoffEntry overrides.
url_request_throttler_entry.h 122 virtual const BackoffEntry* GetBackoffEntry() const;
123 virtual BackoffEntry* GetBackoffEntry();
141 BackoffEntry::Policy backoff_policy_;
160 BackoffEntry backoff_entry_;
url_request_throttler_test_support.cc 11 MockBackoffEntry::MockBackoffEntry(const BackoffEntry::Policy* const policy)
12 : BackoffEntry(policy) {
url_request_throttler_entry.cc 308 const BackoffEntry* URLRequestThrottlerEntry::GetBackoffEntry() const {
312 BackoffEntry* URLRequestThrottlerEntry::GetBackoffEntry() {
  /external/chromium/net/url_request/
url_request_throttler_entry.h 121 virtual const BackoffEntry* GetBackoffEntry() const;
122 virtual BackoffEntry* GetBackoffEntry();
135 BackoffEntry::Policy backoff_policy_;
154 BackoffEntry backoff_entry_;
url_request_throttler_entry.cc 260 const BackoffEntry* URLRequestThrottlerEntry::GetBackoffEntry() const {
264 BackoffEntry* URLRequestThrottlerEntry::GetBackoffEntry() {
url_request_throttler_unittest.cc 24 class MockBackoffEntry : public BackoffEntry {
26 explicit MockBackoffEntry(const BackoffEntry::Policy* const policy)
27 : BackoffEntry(policy), fake_now_(TimeTicks()) {
73 // logic is already tested in the BackoffEntry unit tests).
77 const BackoffEntry* GetBackoffEntry() const {
81 BackoffEntry* GetBackoffEntry() {
  /external/chromium_org/google_apis/gcm/engine/
connection_factory_impl.h 65 virtual scoped_ptr<net::BackoffEntry> CreateBackoffEntry(
66 const net::BackoffEntry::Policy* const policy);
86 scoped_ptr<net::BackoffEntry> backoff_entry_;
connection_factory_impl.cc 26 const net::BackoffEntry::Policy kConnectionBackoffPolicy = {
176 scoped_ptr<net::BackoffEntry> ConnectionFactoryImpl::CreateBackoffEntry(
177 const net::BackoffEntry::Policy* const policy) {
178 return scoped_ptr<net::BackoffEntry>(new net::BackoffEntry(policy));
connection_factory_impl_unittest.cc 27 const net::BackoffEntry::Policy kTestBackoffPolicy = {
54 // arbitrary number of failed attempts. See BackoffEntry::CalculateReleaseTime.
86 virtual scoped_ptr<net::BackoffEntry> CreateBackoffEntry(
87 const net::BackoffEntry::Policy* const policy) OVERRIDE;
135 scoped_ptr<net::BackoffEntry> TestConnectionFactoryImpl::CreateBackoffEntry(
136 const net::BackoffEntry::Policy* const policy) {
137 return scoped_ptr<net::BackoffEntry>(
138 new net::BackoffEntry(&kTestBackoffPolicy));
  /external/chromium_org/components/policy/core/common/cloud/
external_policy_data_updater.cc 27 const net::BackoffEntry::Policy kRetrySoonPolicy = {
53 const net::BackoffEntry::Policy kRetryLaterPolicy = {
81 const net::BackoffEntry::Policy kRetryMuchLaterPolicy = {
130 void OnFailed(net::BackoffEntry* backoff_entry);
153 net::BackoffEntry retry_soon_entry_;
154 net::BackoffEntry retry_later_entry_;
155 net::BackoffEntry retry_much_later_entry_;
274 void ExternalPolicyDataUpdater::FetchJob::OnFailed(net::BackoffEntry* entry) {
  /external/chromium_org/chrome/browser/captive_portal/
captive_portal_service.h 78 // Subclass of BackoffEntry that uses the CaptivePortalService's
106 net::BackoffEntry::Policy backoff_policy;
124 // Updates BackoffEntry::Policy and creates a new BackoffEntry, which
188 // captive_portal::Result, BackoffEntry::Policy is updated and
191 scoped_ptr<net::BackoffEntry> backoff_entry_;
captive_portal_service.cc 89 class CaptivePortalService::RecheckBackoffEntry : public net::BackoffEntry {
92 : net::BackoffEntry(
238 // The BackoffEntry is not informed of this request, so there's no delay
  /external/chromium_org/remoting/host/win/
worker_process_launcher.h 148 net::BackoffEntry launch_backoff_;
worker_process_launcher.cc 20 const net::BackoffEntry::Policy kDefaultBackoffPolicy = {
  /external/chromium_org/chrome/browser/invalidation/
ticl_invalidation_service.h 122 net::BackoffEntry request_access_token_backoff_;
  /external/chromium_org/remoting/host/
chromoting_host.h 191 net::BackoffEntry login_backoff_;

Completed in 281 milliseconds

1 2