Lines Matching refs:Policy
212 class Policy {
214 virtual ~Policy() {} in ~Policy()
220 std::string PolicyRequestName(EvalStatus (Policy::*policy_method)( in PolicyRequestName()
224 if (reinterpret_cast<typeof(&Policy::UpdateCheckAllowed)>(policy_method) == in PolicyRequestName()
225 &Policy::UpdateCheckAllowed) in PolicyRequestName()
227 if (reinterpret_cast<typeof(&Policy::UpdateCanBeApplied)>(policy_method) == in PolicyRequestName()
228 &Policy::UpdateCanBeApplied) in PolicyRequestName()
230 if (reinterpret_cast<typeof(&Policy::UpdateCanStart)>(policy_method) == in PolicyRequestName()
231 &Policy::UpdateCanStart) in PolicyRequestName()
233 if (reinterpret_cast<typeof(&Policy::P2PEnabled)>(policy_method) == in PolicyRequestName()
234 &Policy::P2PEnabled) in PolicyRequestName()
236 if (reinterpret_cast<typeof(&Policy::P2PEnabledChanged)>(policy_method) == in PolicyRequestName()
237 &Policy::P2PEnabledChanged) in PolicyRequestName()
300 Policy() {} in Policy() function
306 DISALLOW_COPY_AND_ASSIGN(Policy);
310 std::unique_ptr<Policy> GetSystemPolicy();