Lines Matching defs:validator
153 policy::DeviceCloudPolicyValidator* validator =
171 validator->ValidateAgainstCurrentPolicy(
175 validator->ValidatePolicyType(policy::dm_protocol::kChromeDevicePolicyType);
176 validator->ValidatePayload();
179 validator->ValidateSignature(public_key_->as_string(),
183 validator->StartValidation(
189 policy::DeviceCloudPolicyValidator* validator) {
192 if (validator->success()) {
194 policy_data_ = validator->policy_data().Pass();
195 device_settings_ = validator->payload().Pass();
197 LOG(ERROR) << "Policy validation failed: " << validator->status();
200 if (validator->status() ==