Home
last modified time | relevance | path

Searched refs:IsValidCreditCardNumber (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/components/autofill/core/browser/
Dvalidation_unittest.cc100 TEST(AutofillValidation, IsValidCreditCardNumber) { in TEST() argument
104 autofill::IsValidCreditCardNumber(ASCIIToUTF16(kValidNumbers[i]))); in TEST()
109 autofill::IsValidCreditCardNumber(ASCIIToUTF16(kInvalidNumbers[i]))); in TEST()
Dvalidation.h27 bool IsValidCreditCardNumber(const base::string16& text);
Dautocomplete_history_manager.cc132 !autofill::IsValidCreditCardNumber(iter->value) && in OnFormSubmitted()
Dvalidation.cc54 bool IsValidCreditCardNumber(const base::string16& text) { in IsValidCreditCardNumber() function
Dcredit_card.cc574 autofill::IsValidCreditCardNumber(number_) && in IsComplete()
580 return autofill::IsValidCreditCardNumber(number_) && in IsValid()
Dcredit_card_unittest.cc525 EXPECT_EQ(test_cases[i].is_valid, IsValidCreditCardNumber(card_number)); in TEST()
/external/chromium_org/chrome/browser/autofill/
Dautofill_browsertest.cc495 ASSERT_FALSE(autofill::IsValidCreditCardNumber(ASCIIToUTF16(card))); in IN_PROC_BROWSER_TEST_F()
520 ASSERT_TRUE(autofill::IsValidCreditCardNumber(cc1)); in IN_PROC_BROWSER_TEST_F()
523 ASSERT_TRUE(autofill::IsValidCreditCardNumber(cc2)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/components/password_manager/core/browser/
Dpassword_form_manager.cc573 if (!autofill::IsValidCreditCardNumber(*it) && !autofill::IsSSN(*it)) in SanitizePossibleUsernames()
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_controller_impl.cc3563 if (!number.empty() && !autofill::IsValidCreditCardNumber(number)) { in CreditCardNumberValidityMessage()