Lines Matching refs:EnrollmentStatus
12 EnrollmentStatus EnrollmentStatus::ForStatus(Status status) {
13 return EnrollmentStatus(status, DM_STATUS_SUCCESS, net::HTTP_OK,
19 EnrollmentStatus EnrollmentStatus::ForRegistrationError(
21 return EnrollmentStatus(STATUS_REGISTRATION_FAILED, client_status,
27 EnrollmentStatus EnrollmentStatus::ForRobotAuthFetchError(
29 return EnrollmentStatus(STATUS_ROBOT_AUTH_FETCH_FAILED, client_status,
35 EnrollmentStatus EnrollmentStatus::ForRobotRefreshFetchError(int http_status) {
36 return EnrollmentStatus(STATUS_ROBOT_REFRESH_FETCH_FAILED, DM_STATUS_SUCCESS,
42 EnrollmentStatus EnrollmentStatus::ForFetchError(
44 return EnrollmentStatus(STATUS_POLICY_FETCH_FAILED, client_status,
50 EnrollmentStatus EnrollmentStatus::ForValidationError(
52 return EnrollmentStatus(STATUS_VALIDATION_FAILED, DM_STATUS_SUCCESS,
58 EnrollmentStatus EnrollmentStatus::ForStoreError(
61 return EnrollmentStatus(STATUS_STORE_ERROR, DM_STATUS_SUCCESS,
65 EnrollmentStatus::EnrollmentStatus(
66 EnrollmentStatus::Status status,