HomeSort by relevance Sort by last modified time
    Searched refs:credit_card (Results 1 - 25 of 67) sorted by null

1 2 3

  /external/chromium/chrome/browser/webdata/
autofill_change.cc 8 #include "chrome/browser/autofill/credit_card.h"
37 Type type, std::string key, const CreditCard* credit_card)
38 : GenericAutofillChange<std::string>(type, key), credit_card_(credit_card) {
39 DCHECK(type == ADD ? (credit_card && credit_card->guid() == key) : true);
40 DCHECK(type == UPDATE ? (credit_card && credit_card->guid() == key) : true);
41 DCHECK(type == REMOVE ? !credit_card : true);
51 (type() != REMOVE) ? *credit_card() == *change.credit_card() : true
    [all...]
autofill_change.h 73 // which is expected to be the GUID identifying the |credit_card|.
74 // When |type| == ADD, |credit_card| should be non-NULL.
75 // When |type| == UPDATE, |credit_card| should be non-NULL.
76 // When |type| == REMOVE, |credit_card| should be NULL.
79 const CreditCard* credit_card);
82 const CreditCard* credit_card() const { return credit_card_; } function in class:AutofillCreditCardChange
  /external/chromium/chrome/browser/autofill/
credit_card.cc 5 #include "chrome/browser/autofill/credit_card.h"
152 CreditCard::CreditCard(const CreditCard& credit_card) : FormGroup() {
153 operator=(credit_card);
343 void CreditCard::operator=(const CreditCard& credit_card) {
344 if (this == &credit_card)
347 number_ = credit_card.number_;
348 name_on_card_ = credit_card.name_on_card_;
349 type_ = credit_card.type_;
350 expiration_month_ = credit_card.expiration_month_;
351 expiration_year_ = credit_card.expiration_year_
    [all...]
credit_card.h 24 CreditCard(const CreditCard& credit_card);
51 void operator=(const CreditCard& credit_card);
59 int Compare(const CreditCard& credit_card) const;
62 bool operator==(const CreditCard& credit_card) const;
63 bool operator!=(const CreditCard& credit_card) const;
131 std::ostream& operator<<(std::ostream& os, const CreditCard& credit_card);
select_control_handler_unittest.cc 8 #include "chrome/browser/autofill/credit_card.h"
25 CreditCard credit_card; local
26 credit_card.SetInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("01"));
27 autofill::FillSelectControl(credit_card, CREDIT_CARD_EXP_MONTH, &field);
44 CreditCard credit_card; local
45 credit_card.SetInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("01"));
46 autofill::FillSelectControl(credit_card, CREDIT_CARD_EXP_MONTH, &field);
63 CreditCard credit_card; local
64 credit_card.SetInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("01"));
65 autofill::FillSelectControl(credit_card, CREDIT_CARD_EXP_MONTH, &field)
81 CreditCard credit_card; local
    [all...]
autofill_common_test.cc 9 #include "chrome/browser/autofill/credit_card.h"
68 void SetCreditCardInfo(CreditCard* credit_card,
71 check_and_set(credit_card, CREDIT_CARD_NAME, name_on_card);
72 check_and_set(credit_card, CREDIT_CARD_NUMBER, card_number);
73 check_and_set(credit_card, CREDIT_CARD_EXP_MONTH, expiration_month);
74 check_and_set(credit_card, CREDIT_CARD_EXP_4_DIGIT_YEAR, expiration_year);
autofill_cc_infobar_delegate.cc 8 #include "chrome/browser/autofill/credit_card.h"
19 const CreditCard* credit_card,
23 credit_card_(credit_card),
personal_data_manager.h 21 #include "chrome/browser/autofill/credit_card.h"
83 const CreditCard** credit_card);
118 // Adds |credit_card| to the web database.
119 void AddCreditCard(const CreditCard& credit_card);
121 // Updates |credit_card| which already exists in the web database.
122 void UpdateCreditCard(const CreditCard& credit_card);
autofill_cc_infobar_delegate.h 28 const CreditCard* credit_card,
autofill_common_test.h 47 void SetCreditCardInfo(CreditCard* credit_card,
autofill_ie_toolbar_import_win_unittest.cc 11 #include "chrome/browser/autofill/credit_card.h"
61 ValueDescription credit_card[] = { member in namespace:__anon4284
154 CreateSubkey(&cc_key, L"0", credit_card, arraysize(credit_card));
186 EXPECT_EQ(credit_cards[0].GetInfo(CREDIT_CARD_NAME), credit_card[0].value);
189 credit_card[2].value);
191 credit_card[3].value);
autofill_manager.cc 26 #include "chrome/browser/autofill/credit_card.h"
150 bool is_credit_card_field = current_type_group == AutofillType::CREDIT_CARD;
389 (AutofillType(type).group() == AutofillType::CREDIT_CARD);
519 const CreditCard* credit_card = NULL; local
524 credit_card = *iter;
528 DCHECK(credit_card);
531 if (!profile && !credit_card)
536 FindSectionBounds(*form_structure, *autofill_field, (credit_card != NULL),
549 DCHECK_NE(AutofillType::CREDIT_CARD,
553 DCHECK_EQ(AutofillType::CREDIT_CARD,
928 CreditCard* credit_card = *iter; local
    [all...]
  /external/chromium_org/components/autofill/core/browser/
test_personal_data_manager.cc 22 void TestPersonalDataManager::AddTestingCreditCard(CreditCard* credit_card) {
23 credit_cards_.push_back(credit_card);
autofill_common_test.cc 11 #include "components/autofill/core/browser/credit_card.h"
125 CreditCard credit_card(base::GenerateGUID(), "http://www.example.com");
127 &credit_card, "Test User", "4111111111111111" /* Visa */, "11", "2017");
128 return credit_card;
132 CreditCard credit_card(GetCreditCard());
133 credit_card.set_origin(kSettingsOrigin);
134 return credit_card;
170 void SetCreditCardInfo(CreditCard* credit_card,
173 check_and_set(credit_card, CREDIT_CARD_NAME, name_on_card);
174 check_and_set(credit_card, CREDIT_CARD_NUMBER, card_number)
    [all...]
credit_card.h 27 CreditCard(const CreditCard& credit_card);
89 void operator=(const CreditCard& credit_card);
93 // overwrites |this| card's data with the data in |credit_card|.
104 int Compare(const CreditCard& credit_card) const;
107 bool operator==(const CreditCard& credit_card) const;
108 bool operator!=(const CreditCard& credit_card) const;
160 std::ostream& operator<<(std::ostream& os, const CreditCard& credit_card);
test_personal_data_manager.h 11 #include "components/autofill/core/browser/credit_card.h"
25 // Adds |credit_card| to |credit_cards_|. This does not take ownership of
26 // |credit_card|.
27 void AddTestingCreditCard(CreditCard* credit_card);
credit_card.cc 5 #include "components/autofill/core/browser/credit_card.h"
126 CreditCard::CreditCard(const CreditCard& credit_card)
128 operator=(credit_card);
490 void CreditCard::operator=(const CreditCard& credit_card) {
491 if (this == &credit_card)
494 number_ = credit_card.number_;
495 name_on_card_ = credit_card.name_on_card_;
496 type_ = credit_card.type_;
497 expiration_month_ = credit_card.expiration_month_;
498 expiration_year_ = credit_card.expiration_year_
    [all...]
credit_card_unittest.cc 10 #include "components/autofill/core/browser/credit_card.h"
377 CreditCard credit_card(base::GenerateGUID(), "https://www.example.com/");
378 credit_card.SetRawInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("01"));
379 credit_card.FillSelectControl(
399 CreditCard credit_card(base::GenerateGUID(), "https://www.example.com/");
400 credit_card.SetRawInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("01"));
401 credit_card.FillSelectControl(
421 CreditCard credit_card(base::GenerateGUID(), "https://www.example.com/");
422 credit_card.SetRawInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("01"));
423 credit_card.FillSelectControl
    [all...]
autofill_common_test.h 72 void SetCreditCardInfo(CreditCard* credit_card,
autofill_ie_toolbar_import_win_unittest.cc 11 #include "components/autofill/core/browser/credit_card.h"
61 ValueDescription credit_card[] = { member in namespace:autofill::__anon9842
155 CreateSubkey(&cc_key, L"0", credit_card, arraysize(credit_card));
187 EXPECT_EQ(credit_card[0].value, credit_cards[0].GetRawInfo(CREDIT_CARD_NAME));
190 EXPECT_EQ(credit_card[2].value,
192 EXPECT_EQ(credit_card[3].value,
personal_data_manager.cc 286 if (group == CREDIT_CARD) {
439 void PersonalDataManager::AddCreditCard(const CreditCard& credit_card) {
443 if (credit_card.IsEmpty(app_locale_))
446 if (FindByGUID<CreditCard>(credit_cards_, credit_card.guid()))
455 if (FindByContents(credit_cards_, credit_card))
459 autofill_data->AddCreditCard(credit_card);
465 void PersonalDataManager::UpdateCreditCard(const CreditCard& credit_card) {
469 CreditCard* existing_credit_card = GetCreditCardByGUID(credit_card.guid());
474 if (existing_credit_card->Compare(credit_card) == 0)
477 if (credit_card.IsEmpty(app_locale_))
673 CreditCard* credit_card = *iter; local
    [all...]
  /external/chromium/chrome/browser/ui/webui/options/
autofill_options_handler.cc 16 #include "chrome/browser/autofill/credit_card.h"
354 CreditCard* credit_card = personal_data_->GetCreditCardByGUID(guid); local
355 if (!credit_card) {
365 credit_card_data.SetString("guid", credit_card->guid());
367 credit_card->GetInfo(CREDIT_CARD_NAME));
369 credit_card->GetInfo(CREDIT_CARD_NUMBER));
371 credit_card->GetInfo(CREDIT_CARD_EXP_MONTH));
374 credit_card->GetInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR));
436 CreditCard credit_card(guid);
440 credit_card.SetInfo(CREDIT_CARD_NAME, value)
    [all...]
  /external/chromium_org/components/autofill/core/browser/webdata/
autofill_webdata.h 79 virtual void AddCreditCard(const CreditCard& credit_card) = 0;
82 virtual void UpdateCreditCard(const CreditCard& credit_card) = 0;
autofill_webdata_service.h 75 virtual void AddCreditCard(const CreditCard& credit_card) OVERRIDE;
76 virtual void UpdateCreditCard(const CreditCard& credit_card) OVERRIDE;
  /external/chromium_org/chrome/browser/ui/webui/options/
autofill_options_handler.cc 24 #include "components/autofill/core/browser/credit_card.h"
478 CreditCard* credit_card = personal_data_->GetCreditCardByGUID(guid); local
479 if (!credit_card) {
489 credit_card_data.SetString("guid", credit_card->guid());
492 credit_card->GetRawInfo(autofill::CREDIT_CARD_NAME));
495 credit_card->GetRawInfo(autofill::CREDIT_CARD_NUMBER));
498 credit_card->GetRawInfo(autofill::CREDIT_CARD_EXP_MONTH));
501 credit_card->GetRawInfo(autofill::CREDIT_CARD_EXP_4_DIGIT_YEAR));
571 CreditCard credit_card(guid, kSettingsOrigin);
575 credit_card.SetRawInfo(autofill::CREDIT_CARD_NAME, value)
    [all...]

Completed in 5685 milliseconds

1 2 3