Home
last modified time | relevance | path

Searched refs:MaskedInstrument (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/components/autofill/content/browser/wallet/
Dwallet_items.cc44 WalletItems::MaskedInstrument::Type
47 return WalletItems::MaskedInstrument::VISA; in TypeFromString()
49 return WalletItems::MaskedInstrument::MASTER_CARD; in TypeFromString()
51 return WalletItems::MaskedInstrument::AMEX; in TypeFromString()
53 return WalletItems::MaskedInstrument::DISCOVER; in TypeFromString()
55 return WalletItems::MaskedInstrument::SOLO; in TypeFromString()
57 return WalletItems::MaskedInstrument::MAESTRO; in TypeFromString()
59 return WalletItems::MaskedInstrument::SWITCH; in TypeFromString()
60 return WalletItems::MaskedInstrument::UNKNOWN; in TypeFromString()
63 WalletItems::MaskedInstrument::Status
[all …]
Dwallet_test_util.cc32 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentWithDetails( in GetTestMaskedInstrumentWithDetails()
35 WalletItems::MaskedInstrument::Type type, in GetTestMaskedInstrumentWithDetails()
36 WalletItems::MaskedInstrument::Status status) { in GetTestMaskedInstrumentWithDetails()
38 new WalletItems::MaskedInstrument(ASCIIToUTF16("descriptive_name"), in GetTestMaskedInstrumentWithDetails()
49 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentWithId( in GetTestMaskedInstrumentWithId()
54 WalletItems::MaskedInstrument::VISA, in GetTestMaskedInstrumentWithId()
55 WalletItems::MaskedInstrument::VALID); in GetTestMaskedInstrumentWithId()
58 scoped_ptr<WalletItems::MaskedInstrument>
64 WalletItems::MaskedInstrument::VISA, in GetTestMaskedInstrumentWithIdAndAddress()
65 WalletItems::MaskedInstrument::VALID); in GetTestMaskedInstrumentWithIdAndAddress()
[all …]
Dwallet_test_util.h33 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrument();
34 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentExpired();
35 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentInvalid();
36 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentAmex(
38 scoped_ptr<WalletItems::MaskedInstrument> GetTestNonDefaultMaskedInstrument();
39 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentWithId(
41 scoped_ptr<WalletItems::MaskedInstrument>
44 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentWithDetails(
47 WalletItems::MaskedInstrument::Type type,
48 WalletItems::MaskedInstrument::Status status);
Dwallet_items_unittest.cc407 WalletItems::MaskedInstrument::CreateMaskedInstrument(*dict).get()); in TEST_F()
413 WalletItems::MaskedInstrument::CreateMaskedInstrument(*dict).get()); in TEST_F()
419 WalletItems::MaskedInstrument::CreateMaskedInstrument(*dict).get()); in TEST_F()
425 WalletItems::MaskedInstrument::CreateMaskedInstrument(*dict).get()); in TEST_F()
431 WalletItems::MaskedInstrument::CreateMaskedInstrument(*dict).get()); in TEST_F()
437 WalletItems::MaskedInstrument::CreateMaskedInstrument(*dict).get()); in TEST_F()
453 WalletItems::MaskedInstrument masked_instrument( in TEST_F()
455 WalletItems::MaskedInstrument::VISA, in TEST_F()
461 WalletItems::MaskedInstrument::VALID, in TEST_F()
464 *WalletItems::MaskedInstrument::CreateMaskedInstrument(*dict)); in TEST_F()
[all …]
Dwallet_items.h56 class MaskedInstrument {
80 ~MaskedInstrument();
84 static scoped_ptr<MaskedInstrument>
87 bool operator==(const MaskedInstrument& other) const;
88 bool operator!=(const MaskedInstrument& other) const;
119 friend scoped_ptr<MaskedInstrument> GetTestMaskedInstrumentWithDetails(
131 MaskedInstrument(const base::string16& descriptive_name,
169 DISALLOW_COPY_AND_ASSIGN(MaskedInstrument);
226 void AddInstrument(scoped_ptr<MaskedInstrument> instrument) { in AddInstrument()
240 const WalletItems::MaskedInstrument* GetInstrumentById(
[all …]
Dmock_wallet_client.h47 const WalletItems::MaskedInstrument* reference_instrument,
53 const WalletItems::MaskedInstrument* reference_instrument,
Dmock_wallet_client.cc20 const WalletItems::MaskedInstrument* reference_instrument, in SaveToWallet()
Dwallet_client_unittest.cc1546 scoped_ptr<WalletItems::MaskedInstrument> reference_instrument = in TEST_F()
1569 scoped_ptr<WalletItems::MaskedInstrument> reference_instrument = in TEST_F()
1598 scoped_ptr<WalletItems::MaskedInstrument> reference_instrument = in TEST_F()
1635 scoped_ptr<WalletItems::MaskedInstrument> reference_instrument = in TEST_F()
1656 scoped_ptr<WalletItems::MaskedInstrument> reference_instrument = in TEST_F()
1677 scoped_ptr<WalletItems::MaskedInstrument> reference_instrument = in TEST_F()
Dwallet_client.h176 const WalletItems::MaskedInstrument* reference_instrument,
Dwallet_client.cc359 const WalletItems::MaskedInstrument* reference_instrument, in SaveToWallet()
/external/chromium_org/chrome/browser/ui/autofill/
Ddata_model_wrapper_unittest.cc62 scoped_ptr<wallet::WalletItems::MaskedInstrument> instrument( in TEST()
74 scoped_ptr<wallet::WalletItems::MaskedInstrument> instrument( in TEST()
76 instrument->status_ = wallet::WalletItems::MaskedInstrument::EXPIRED; in TEST()
83 scoped_ptr<wallet::WalletItems::MaskedInstrument> instrument( in TEST()
113 scoped_ptr<wallet::WalletItems::MaskedInstrument> instrument( in TEST()
Ddata_model_wrapper.h176 const wallet::WalletItems::MaskedInstrument* instrument);
187 const wallet::WalletItems::MaskedInstrument* instrument_;
Ddata_model_wrapper.cc261 const wallet::WalletItems::MaskedInstrument* instrument) in WalletInstrumentWrapper()
294 if (instrument_->status() == wallet::WalletItems::MaskedInstrument::EXPIRED || in GetDisplayText()
Dautofill_dialog_controller_impl.cc260 const wallet::WalletItems::MaskedInstrument& instrument) { in IsInstrumentAllowed()
262 case wallet::WalletItems::MaskedInstrument::VALID: in IsInstrumentAllowed()
263 case wallet::WalletItems::MaskedInstrument::PENDING: in IsInstrumentAllowed()
264 case wallet::WalletItems::MaskedInstrument::EXPIRED: in IsInstrumentAllowed()
265 case wallet::WalletItems::MaskedInstrument::BILLING_INCOMPLETE: in IsInstrumentAllowed()
887 const wallet::WalletItems::MaskedInstrument* instrument = in GetWalletItems()
1425 const wallet::WalletItems::MaskedInstrument* current_instrument = in RequiredActionTextForSection()
1450 const wallet::WalletItems::MaskedInstrument* AutofillDialogControllerImpl::
2690 const std::vector<wallet::WalletItems::MaskedInstrument*>& instruments = in SuggestionsUpdated()
3071 const wallet::WalletItems::MaskedInstrument* instrument = in IsCreditCardExpirationValid()
[all …]
Dautofill_dialog_controller_impl.h392 const wallet::WalletItems::MaskedInstrument* ActiveInstrument() const;
Dautofill_dialog_controller_unittest.cc1525 scoped_ptr<wallet::WalletItems::MaskedInstrument> instrument = in TEST_F()
2561 scoped_ptr<wallet::WalletItems::MaskedInstrument> expired_instrument = in TEST_F()