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.cc46 WalletItems::MaskedInstrument::Type
49 return WalletItems::MaskedInstrument::VISA; in TypeFromString()
51 return WalletItems::MaskedInstrument::MASTER_CARD; in TypeFromString()
53 return WalletItems::MaskedInstrument::AMEX; in TypeFromString()
55 return WalletItems::MaskedInstrument::DISCOVER; in TypeFromString()
57 return WalletItems::MaskedInstrument::SOLO; in TypeFromString()
59 return WalletItems::MaskedInstrument::MAESTRO; in TypeFromString()
61 return WalletItems::MaskedInstrument::SWITCH; in TypeFromString()
62 return WalletItems::MaskedInstrument::UNKNOWN; in TypeFromString()
65 WalletItems::MaskedInstrument::Status
[all …]
Dwallet_test_util.cc34 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentWithDetails( in GetTestMaskedInstrumentWithDetails()
37 WalletItems::MaskedInstrument::Type type, in GetTestMaskedInstrumentWithDetails()
38 WalletItems::MaskedInstrument::Status status) { in GetTestMaskedInstrumentWithDetails()
40 new WalletItems::MaskedInstrument(ASCIIToUTF16("descriptive_name"), in GetTestMaskedInstrumentWithDetails()
50 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentWithId( in GetTestMaskedInstrumentWithId()
55 WalletItems::MaskedInstrument::VISA, in GetTestMaskedInstrumentWithId()
56 WalletItems::MaskedInstrument::VALID); in GetTestMaskedInstrumentWithId()
59 scoped_ptr<WalletItems::MaskedInstrument>
65 WalletItems::MaskedInstrument::VISA, in GetTestMaskedInstrumentWithIdAndAddress()
66 WalletItems::MaskedInstrument::VALID); in GetTestMaskedInstrumentWithIdAndAddress()
[all …]
Dwallet_test_util.h35 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrument();
36 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentExpired();
37 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentInvalid();
38 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentAmex(
40 scoped_ptr<WalletItems::MaskedInstrument> GetTestNonDefaultMaskedInstrument();
41 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentWithId(
43 scoped_ptr<WalletItems::MaskedInstrument>
46 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentWithDetails(
49 WalletItems::MaskedInstrument::Type type,
50 WalletItems::MaskedInstrument::Status status);
Dwallet_items_unittest.cc403 WalletItems::MaskedInstrument::CreateMaskedInstrument(*dict).get()); in TEST_F()
409 WalletItems::MaskedInstrument::CreateMaskedInstrument(*dict).get()); in TEST_F()
415 WalletItems::MaskedInstrument::CreateMaskedInstrument(*dict).get()); in TEST_F()
421 WalletItems::MaskedInstrument::CreateMaskedInstrument(*dict).get()); in TEST_F()
427 WalletItems::MaskedInstrument::CreateMaskedInstrument(*dict).get()); in TEST_F()
433 WalletItems::MaskedInstrument::CreateMaskedInstrument(*dict).get()); in TEST_F()
450 WalletItems::MaskedInstrument masked_instrument( in TEST_F()
452 WalletItems::MaskedInstrument::VISA, in TEST_F()
457 WalletItems::MaskedInstrument::VALID, in TEST_F()
460 *WalletItems::MaskedInstrument::CreateMaskedInstrument(*dict)); in TEST_F()
[all …]
Dwallet_items.h57 class MaskedInstrument {
81 ~MaskedInstrument();
85 static scoped_ptr<MaskedInstrument>
88 bool operator==(const MaskedInstrument& other) const;
89 bool operator!=(const MaskedInstrument& other) const;
117 friend scoped_ptr<MaskedInstrument> GetTestMaskedInstrumentWithDetails(
129 MaskedInstrument(const base::string16& descriptive_name,
163 DISALLOW_COPY_AND_ASSIGN(MaskedInstrument);
220 void AddInstrument(scoped_ptr<MaskedInstrument> instrument) { in AddInstrument()
237 const WalletItems::MaskedInstrument* GetInstrumentById(
[all …]
Dmock_wallet_client.h48 const WalletItems::MaskedInstrument* reference_instrument,
54 const WalletItems::MaskedInstrument* reference_instrument,
Dmock_wallet_client.cc20 const WalletItems::MaskedInstrument* reference_instrument, in SaveToWallet()
Dwallet_client_unittest.cc1626 scoped_ptr<WalletItems::MaskedInstrument> reference_instrument = in TEST_F()
1649 scoped_ptr<WalletItems::MaskedInstrument> reference_instrument = in TEST_F()
1678 scoped_ptr<WalletItems::MaskedInstrument> reference_instrument = in TEST_F()
1715 scoped_ptr<WalletItems::MaskedInstrument> reference_instrument = in TEST_F()
1736 scoped_ptr<WalletItems::MaskedInstrument> reference_instrument = in TEST_F()
1757 scoped_ptr<WalletItems::MaskedInstrument> reference_instrument = in TEST_F()
Dwallet_client.h182 const WalletItems::MaskedInstrument* reference_instrument,
Dwallet_client.cc365 const WalletItems::MaskedInstrument* reference_instrument, in SaveToWallet()
/external/chromium_org/chrome/browser/ui/autofill/
Ddata_model_wrapper_unittest.cc65 scoped_ptr<wallet::WalletItems::MaskedInstrument> instrument( in TEST()
67 instrument->status_ = wallet::WalletItems::MaskedInstrument::EXPIRED; in TEST()
74 scoped_ptr<wallet::WalletItems::MaskedInstrument> instrument( in TEST()
158 scoped_ptr<wallet::WalletItems::MaskedInstrument> instrument( in TEST()
178 scoped_ptr<wallet::WalletItems::MaskedInstrument> instrument( in TEST()
Ddata_model_wrapper.h175 const wallet::WalletItems::MaskedInstrument* instrument);
187 const wallet::WalletItems::MaskedInstrument* instrument_;
Ddata_model_wrapper.cc266 const wallet::WalletItems::MaskedInstrument* instrument) in WalletInstrumentWrapper()
299 if (instrument_->status() == wallet::WalletItems::MaskedInstrument::EXPIRED || in GetDisplayText()
Dautofill_dialog_controller_impl.cc291 const wallet::WalletItems::MaskedInstrument& instrument) { in IsInstrumentAllowed()
293 case wallet::WalletItems::MaskedInstrument::VALID: in IsInstrumentAllowed()
294 case wallet::WalletItems::MaskedInstrument::PENDING: in IsInstrumentAllowed()
295 case wallet::WalletItems::MaskedInstrument::EXPIRED: in IsInstrumentAllowed()
296 case wallet::WalletItems::MaskedInstrument::BILLING_INCOMPLETE: in IsInstrumentAllowed()
1116 const wallet::WalletItems::MaskedInstrument* instrument = in GetWalletItems()
1687 const wallet::WalletItems::MaskedInstrument* current_instrument = in RequiredActionTextForSection()
1712 const wallet::WalletItems::MaskedInstrument* AutofillDialogControllerImpl::
3004 const std::vector<wallet::WalletItems::MaskedInstrument*>& instruments = in SuggestionsUpdated()
3627 const wallet::WalletItems::MaskedInstrument* instrument = in IsCreditCardExpirationValid()
[all …]
Dautofill_dialog_controller_impl.h409 const wallet::WalletItems::MaskedInstrument* ActiveInstrument() const;
Dautofill_dialog_controller_unittest.cc1884 scoped_ptr<wallet::WalletItems::MaskedInstrument> instrument = in TEST_F()
2976 scoped_ptr<wallet::WalletItems::MaskedInstrument> expired_instrument = in TEST_F()