Home
last modified time | relevance | path

Searched refs:FormFieldError (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/components/autofill/content/browser/wallet/
Dform_field_error.cc17 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 …]
Dform_field_error.h19 class FormFieldError {
56 FormFieldError(ErrorType error_type, Location location);
57 ~FormFieldError();
70 static FormFieldError CreateFormFieldError(
73 bool operator==(const FormFieldError& other) const;
Dwallet_client_unittest.cc723 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 …]
Dwallet_client_delegate.h73 const std::vector<FormFieldError>& form_field_errors) = 0;
Dwallet_client.cc129 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()
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_controller_impl.h203 const std::vector<wallet::FormFieldError>& form_field_errors) OVERRIDE;
354 const std::vector<wallet::FormFieldError>& form_field_errors);
Dautofill_dialog_controller_impl.cc323 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()
Dautofill_dialog_controller_unittest.cc2105 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()