Home
last modified time | relevance | path

Searched refs:WalletItems (Results 1 – 18 of 18) 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_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_test_util.h34 scoped_ptr<WalletItems::LegalDocument> GetTestLegalDocument();
35 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,
[all …]
Dwallet_items.h53 class WalletItems {
208 ~WalletItems();
213 static scoped_ptr<WalletItems>
216 bool operator==(const WalletItems& other) const;
217 bool operator!=(const WalletItems& other) const;
237 const WalletItems::MaskedInstrument* GetInstrumentById(
278 friend scoped_ptr<WalletItems> GetTestWalletItemsWithDetails(
283 friend scoped_ptr<WalletItems> GetTestWalletItemsWithDefaultIds(
289 WalletItems(const std::vector<RequiredAction>& required_actions,
330 DISALLOW_COPY_AND_ASSIGN(WalletItems);
Dmock_wallet_client.h33 void(const std::vector<WalletItems::LegalDocument*>& documents,
48 const WalletItems::MaskedInstrument* reference_instrument,
54 const WalletItems::MaskedInstrument* reference_instrument,
Dwallet_client_delegate.h21 class WalletItems; variable
62 virtual void OnDidGetWalletItems(scoped_ptr<WalletItems> wallet_items) = 0;
Dwallet_client_unittest.cc730 virtual void OnDidGetWalletItems(scoped_ptr<WalletItems> wallet_items) in OnDidGetWalletItems()
1155 ScopedVector<WalletItems::LegalDocument> docs; in TEST_F()
1160 WalletItems::LegalDocument::CreateLegalDocument(document).release()); in TEST_F()
1164 WalletItems::LegalDocument::CreateLegalDocument(document).release()); in TEST_F()
1166 WalletItems::LegalDocument::CreatePrivacyPolicyDocument().release()); in TEST_F()
1626 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()
[all …]
Dwallet_client.h159 const std::vector<WalletItems::LegalDocument*>& documents,
182 const WalletItems::MaskedInstrument* reference_instrument,
Dmock_wallet_client.cc20 const WalletItems::MaskedInstrument* reference_instrument, in SaveToWallet()
Dwallet_client.cc277 const std::vector<WalletItems::LegalDocument*>& documents, in AcceptLegalDocuments()
365 const WalletItems::MaskedInstrument* reference_instrument, in SaveToWallet()
674 scoped_ptr<WalletItems> wallet_items( in OnURLFetchComplete()
675 WalletItems::CreateWalletItems(*response_dict)); in OnURLFetchComplete()
/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()
Dautofill_dialog_controller_unittest.cc127 scoped_ptr<wallet::WalletItems> CompleteAndValidWalletItems() { in CompleteAndValidWalletItems()
128 scoped_ptr<wallet::WalletItems> items = in CompleteAndValidWalletItems()
574 void SubmitWithWalletItems(scoped_ptr<wallet::WalletItems> wallet_items) { in SubmitWithWalletItems()
882 scoped_ptr<wallet::WalletItems> wallet_items = in TEST_F()
1549 scoped_ptr<wallet::WalletItems> wallet_items = in TEST_F()
1578 scoped_ptr<wallet::WalletItems> wallet_items = in TEST_F()
1665 scoped_ptr<wallet::WalletItems> wallet_items = in TEST_F()
1689 scoped_ptr<wallet::WalletItems> wallet_items = in TEST_F()
1719 scoped_ptr<wallet::WalletItems> wallet_items = in TEST_F()
1791 scoped_ptr<wallet::WalletItems> wallet_items = in TEST_F()
[all …]
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.h198 scoped_ptr<wallet::WalletItems> wallet_items) OVERRIDE;
409 const wallet::WalletItems::MaskedInstrument* ActiveInstrument() const;
677 scoped_ptr<wallet::WalletItems> wallet_items_;
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()
1269 const std::vector<wallet::WalletItems::LegalDocument*>& documents = in ConstructLegalDocumentsText()
1687 const wallet::WalletItems::MaskedInstrument* current_instrument = in RequiredActionTextForSection()
1712 const wallet::WalletItems::MaskedInstrument* AutofillDialogControllerImpl::
2649 scoped_ptr<wallet::WalletItems> wallet_items) { in OnDidGetWalletItems()
[all …]
Dautofill_dialog_controller_browsertest.cc1107 scoped_ptr<wallet::WalletItems> wallet_items = in IN_PROC_BROWSER_TEST_F()
1214 scoped_ptr<wallet::WalletItems> wallet_items = in IN_PROC_BROWSER_TEST_F()
1587 scoped_ptr<wallet::WalletItems> items = in IN_PROC_BROWSER_TEST_F()