Lines Matching refs:EvalStatus
32 EvalStatus UpdateManager::EvaluatePolicy( in EvaluatePolicy()
34 EvalStatus (Policy::*policy_method)( in EvaluatePolicy()
56 EvalStatus status = (policy_.get()->*policy_method)( in EvaluatePolicy()
59 if (status == EvalStatus::kFailed) { in EvaluatePolicy()
65 if (status == EvalStatus::kFailed) { in EvaluatePolicy()
67 } else if (status == EvalStatus::kAskMeAgainLater) { in EvaluatePolicy()
70 status = EvalStatus::kFailed; in EvaluatePolicy()
82 base::Callback<void(EvalStatus status, const R& result)> callback, in OnPolicyReadyToEvaluate()
83 EvalStatus (Policy::*policy_method)( in OnPolicyReadyToEvaluate()
88 EvalStatus status = EvaluatePolicy(ec.get(), policy_method, &result, args...); in OnPolicyReadyToEvaluate()
90 if (status != EvalStatus::kAskMeAgainLater) { in OnPolicyReadyToEvaluate()
117 EvalStatus UpdateManager::PolicyRequest( in PolicyRequest()
118 EvalStatus (Policy::*policy_method)( in PolicyRequest()
129 EvalStatus ret = EvaluatePolicy<R, ExpectedArgs...>( in PolicyRequest()
132 DCHECK(EvalStatus::kAskMeAgainLater != ret); in PolicyRequest()
133 LOG_IF(WARNING, EvalStatus::kAskMeAgainLater == ret) in PolicyRequest()
140 base::Callback<void(EvalStatus, const R& result)> callback, in AsyncPolicyRequest() argument
141 EvalStatus (Policy::*policy_method)( in AsyncPolicyRequest()