Home
last modified time | relevance | path

Searched refs:policy_ (Results 1 – 14 of 14) sorted by relevance

/external/chromium/net/base/
Dbackoff_entry.cc17 policy_(policy) { in BackoffEntry()
18 DCHECK(policy_); in BackoffEntry()
71 if (policy_->entry_lifetime_ms == -1) in CanDiscard()
86 return unused_since_ms >= std::max(policy_->maximum_backoff_ms, in CanDiscard()
87 policy_->entry_lifetime_ms); in CanDiscard()
92 return unused_since_ms >= policy_->entry_lifetime_ms; in CanDiscard()
101 std::max(0, failure_count_ - policy_->num_errors_to_ignore); in CalculateReleaseTime()
111 double delay = policy_->initial_backoff_ms; in CalculateReleaseTime()
112 delay *= pow(policy_->multiply_factor, effective_failure_count - 1); in CalculateReleaseTime()
113 delay -= base::RandDouble() * policy_->jitter_factor * delay; in CalculateReleaseTime()
[all …]
Dstatic_cookie_policy_unittest.cc21 policy_.set_type(type); in SetPolicyType()
24 return policy_.CanGetCookies(url, first_party); in CanGetCookies()
27 return policy_.CanSetCookie(url, first_party, std::string()); in CanSetCookie()
30 StaticCookiePolicy policy_; member in net::StaticCookiePolicyTest
Dbackoff_entry.h87 const Policy* const policy_; variable
/external/chromium/third_party/libjingle/source/talk/base/
Dwinfirewall.cc48 WinFirewall::WinFirewall() : mgr_(NULL), policy_(NULL), profile_(NULL) { in WinFirewall()
68 hr = mgr_->get_LocalPolicy(&policy_); in Initialize()
69 if (SUCCEEDED(hr) && (policy_ != NULL)) in Initialize()
70 hr = policy_->get_CurrentProfile(&profile_); in Initialize()
79 RELEASE(policy_); in Shutdown()
Dwinfirewall.h65 INetFwPolicy* policy_; variable
/external/chromium/chrome/browser/chromeos/login/
Dsigned_settings.cc240 em::PolicyFetchResponse* policy_; member in chromeos::StorePolicyOp
271 em::PolicyFetchResponse policy_; member in chromeos::RetrievePolicyOp
766 : policy_(policy), in StorePolicyOp()
783 if (!policy_->has_policy_data()) in Execute()
785 if (!policy_->has_policy_data_signature()) in Execute()
786 service_->StartSigningAttempt(policy_->policy_data(), this); in Execute()
801 if (SignedSettings::PolicyIsSane(*policy_, &poldata)) { in Succeed()
826 policy_->set_policy_data_signature(std::string(payload.begin(), in OnKeyOpComplete()
836 if (policy_->SerializeToString(&serialized)) { in RequestStorePolicy()
898 Succeed(policy_); in OnKeyOpComplete()
[all …]
Downership_service.cc31 policy_(NULL), in OwnershipService()
60 policy_.reset(pol.New()); in set_cached_policy()
61 policy_->CheckTypeAndMergeFrom(pol); in set_cached_policy()
65 return policy_.get(); in has_cached_policy()
69 return *(policy_.get()); in cached_policy()
Dsigned_settings_helper.cc240 policy_(policy) { in StorePolicyOpContext()
255 op_ = SignedSettings::CreateStorePolicyOp(&policy_, this); in CreateOp()
259 em::PolicyFetchResponse policy_; member in chromeos::__anon5c1e249e0111::StorePolicyOpContext
Downership_service.h140 scoped_ptr<em::PolicyData> policy_;
/external/chromium/chrome/browser/policy/
Dasynchronous_policy_loader.cc23 policy_.reset(delegate_->Load()); in Init()
144 DCHECK(policy_.get()); in UpdatePolicy()
145 if (!policy_->Equals(new_policy.get())) { in UpdatePolicy()
146 policy_.reset(new_policy.release()); in UpdatePolicy()
Dasynchronous_policy_loader.h40 const DictionaryValue* policy() const { return policy_.get(); } in policy()
94 scoped_ptr<DictionaryValue> policy_; variable
Ddevice_policy_cache.cc39 policy_(policy), in StorePolicyOperation()
56 if (policy_.has_new_public_key()) { in OnStorePolicyCompleted()
59 const std::string& new_key = policy_.new_public_key(); in OnStorePolicyCompleted()
89 em::PolicyFetchResponse policy_; member in __anoncfee52cf0111::StorePolicyOperation
/external/chromium/chrome/browser/ssl/
Dssl_manager.h77 SSLPolicy* policy() { return policy_.get(); } in policy()
120 scoped_ptr<SSLPolicy> policy_; variable
Dssl_manager.cc113 policy_(new SSLPolicy(&backend_)), in SSLManager()