Searched refs:FormFieldError (Results 1 – 8 of 8) sorted by relevance
17 FormFieldError::ErrorType ErrorTypeFromString(const std::string& error_type) { in ErrorTypeFromString()19 return FormFieldError::UNKNOWN_ERROR; in ErrorTypeFromString()21 return FormFieldError::INVALID_PHONE_NUMBER; in ErrorTypeFromString()23 return FormFieldError::INVALID_POSTAL_CODE; in ErrorTypeFromString()25 return FormFieldError::INVALID_ADDRESS; in ErrorTypeFromString()27 return FormFieldError::INVALID_CARD_DETAILS; in ErrorTypeFromString()29 return FormFieldError::INVALID_CITY; in ErrorTypeFromString()31 return FormFieldError::INVALID_INSTRUMENT; in ErrorTypeFromString()33 return FormFieldError::INVALID_STATE; in ErrorTypeFromString()35 return FormFieldError::REQUIRED_FIELD_NOT_SET; in ErrorTypeFromString()[all …]
19 class FormFieldError {56 FormFieldError(ErrorType error_type, Location location);57 ~FormFieldError();70 static FormFieldError CreateFormFieldError(73 bool operator==(const FormFieldError& other) const;
723 const std::vector<FormFieldError>& form_field_errors));1271 std::vector<FormFieldError>())).Times(1); in TEST_F()1297 std::vector<FormFieldError> form_errors; in TEST_F()1298 form_errors.push_back(FormFieldError(FormFieldError::INVALID_POSTAL_CODE, in TEST_F()1299 FormFieldError::SHIPPING_ADDRESS)); in TEST_F()1358 std::vector<FormFieldError>())).Times(1); in TEST_F()1386 std::vector<FormFieldError> form_errors; in TEST_F()1387 form_errors.push_back(FormFieldError(FormFieldError::INVALID_POSTAL_CODE, in TEST_F()1388 FormFieldError::SHIPPING_ADDRESS)); in TEST_F()1455 std::vector<FormFieldError>())).Times(1); in TEST_F()[all …]
73 const std::vector<FormFieldError>& form_field_errors) = 0;
129 std::vector<FormFieldError>* form_errors) { in GetFormFieldErrors()138 form_errors->push_back(FormFieldError::CreateFormFieldError(*dictionary)); in GetFormFieldErrors()693 std::vector<FormFieldError> form_errors; in OnURLFetchComplete()
203 const std::vector<wallet::FormFieldError>& form_field_errors) OVERRIDE;354 const std::vector<wallet::FormFieldError>& form_field_errors);
323 DialogSection SectionFromLocation(wallet::FormFieldError::Location location) { in SectionFromLocation()325 case wallet::FormFieldError::PAYMENT_INSTRUMENT: in SectionFromLocation()326 case wallet::FormFieldError::LEGAL_ADDRESS: in SectionFromLocation()329 case wallet::FormFieldError::SHIPPING_ADDRESS: in SectionFromLocation()332 case wallet::FormFieldError::UNKNOWN_LOCATION: in SectionFromLocation()1217 const std::vector<wallet::FormFieldError>& form_field_errors) { in OnWalletFormFieldError()1221 for (std::vector<wallet::FormFieldError>::const_iterator it = in OnWalletFormFieldError()1224 if (it->error_type() == wallet::FormFieldError::UNKNOWN_ERROR || in OnWalletFormFieldError()1226 it->location() == wallet::FormFieldError::UNKNOWN_LOCATION) { in OnWalletFormFieldError()2692 const std::vector<wallet::FormFieldError>& form_field_errors) { in OnDidSaveToWallet()
2105 std::vector<wallet::FormFieldError> form_errors; in TEST_F()2107 wallet::FormFieldError(wallet::FormFieldError::INVALID_POSTAL_CODE, in TEST_F()2108 wallet::FormFieldError::SHIPPING_ADDRESS)); in TEST_F()2128 std::vector<wallet::FormFieldError> form_errors; in TEST_F()2130 wallet::FormFieldError(wallet::FormFieldError::UNKNOWN_ERROR, in TEST_F()2131 wallet::FormFieldError::UNKNOWN_LOCATION)); in TEST_F()