Lines Matching refs:Policy
203 class Policy {
205 virtual ~Policy() {} in ~Policy()
211 std::string PolicyRequestName(EvalStatus (Policy::*policy_method)( in PolicyRequestName()
215 if (reinterpret_cast<typeof(&Policy::UpdateCheckAllowed)>(policy_method) == in PolicyRequestName()
216 &Policy::UpdateCheckAllowed) in PolicyRequestName()
218 if (reinterpret_cast<typeof(&Policy::UpdateCanBeApplied)>(policy_method) == in PolicyRequestName()
219 &Policy::UpdateCanBeApplied) in PolicyRequestName()
221 if (reinterpret_cast<typeof(&Policy::UpdateCanStart)>(policy_method) == in PolicyRequestName()
222 &Policy::UpdateCanStart) in PolicyRequestName()
224 if (reinterpret_cast<typeof(&Policy::UpdateDownloadAllowed)>( in PolicyRequestName()
225 policy_method) == &Policy::UpdateDownloadAllowed) in PolicyRequestName()
227 if (reinterpret_cast<typeof(&Policy::P2PEnabled)>(policy_method) == in PolicyRequestName()
228 &Policy::P2PEnabled) in PolicyRequestName()
230 if (reinterpret_cast<typeof(&Policy::P2PEnabledChanged)>(policy_method) == in PolicyRequestName()
231 &Policy::P2PEnabledChanged) in PolicyRequestName()
305 Policy() {} in Policy() function
311 DISALLOW_COPY_AND_ASSIGN(Policy);
317 std::unique_ptr<Policy> GetSystemPolicy();