Searched refs:DefaultPolicy (Results 1 – 6 of 6) sorted by relevance
37 &DefaultPolicy::UpdateCheckAllowed)); in MockPolicy()42 &DefaultPolicy::UpdateCanBeApplied)); in MockPolicy()47 testing::Invoke(&default_policy_, &DefaultPolicy::UpdateCanStart)); in MockPolicy()50 testing::Invoke(&default_policy_, &DefaultPolicy::P2PEnabled)); in MockPolicy()55 &DefaultPolicy::P2PEnabledChanged)); in MockPolicy()94 DefaultPolicy default_policy_;
36 EvalStatus DefaultPolicy::UpdateCheckAllowed(EvaluationContext* ec, in UpdateCheckAllowed()64 EvalStatus DefaultPolicy::UpdateCanBeApplied(EvaluationContext* ec, in UpdateCanBeApplied()73 EvalStatus DefaultPolicy::UpdateCanStart(EvaluationContext* ec, in UpdateCanStart()92 EvalStatus DefaultPolicy::P2PEnabled(EvaluationContext* ec, in P2PEnabled()100 EvalStatus DefaultPolicy::P2PEnabledChanged(EvaluationContext* ec, in P2PEnabledChanged()
60 class DefaultPolicy : public Policy {62 DefaultPolicy() : aux_state_(new DefaultPolicyState()) {} in DefaultPolicy() function63 ~DefaultPolicy() override = default;103 DISALLOW_COPY_AND_ASSIGN(DefaultPolicy);
34 set_policy(new DefaultPolicy()); in FakeUpdateManager()
101 class FailingPolicy : public DefaultPolicy {123 class LazyPolicy : public DefaultPolicy {140 class DelayPolicy : public DefaultPolicy {
159 const DefaultPolicy default_policy_;