Lines Matching defs:validator
59 policy::DeviceCloudPolicyValidator* validator) {
60 EXPECT_TRUE(validator->success());
61 EXPECT_TRUE(validator->payload().get());
62 EXPECT_EQ(validator->payload()->SerializeAsString(),
238 policy::DeviceCloudPolicyValidator* validator =
241 validator->ValidateUsername(policy_.policy_data().username(), true);
244 validator->ValidateTimestamp(
248 validator->ValidatePolicyType(policy::dm_protocol::kChromeDevicePolicyType);
249 validator->ValidatePayload();
257 validator->ValidateSignature(
262 validator->StartValidation(