/external/chromium_org/components/autofill/core/browser/ |
D | credit_card.cc | 113 CreditCard::CreditCard(const std::string& guid, const std::string& origin) in CreditCard() function in autofill::CreditCard 120 CreditCard::CreditCard() in CreditCard() function in autofill::CreditCard 127 CreditCard::CreditCard(const CreditCard& credit_card) in CreditCard() function in autofill::CreditCard 132 CreditCard::~CreditCard() {} in ~CreditCard() 135 const base::string16 CreditCard::StripSeparators(const base::string16& number) { in StripSeparators() 142 base::string16 CreditCard::TypeForDisplay(const std::string& type) { in TypeForDisplay() 165 int CreditCard::IconResourceId(const std::string& type) { in IconResourceId() 188 std::string CreditCard::GetCreditCardType(const base::string16& number) { in GetCreditCardType() 278 base::string16 CreditCard::GetRawInfo(ServerFieldType type) const { in GetRawInfo() 325 void CreditCard::SetRawInfo(ServerFieldType type, in SetRawInfo() [all …]
|
D | credit_card.h | 21 class CreditCard : public AutofillDataModel { 23 CreditCard(const std::string& guid, const std::string& origin); 26 CreditCard(); 27 CreditCard(const CreditCard& credit_card); 28 virtual ~CreditCard(); 83 void operator=(const CreditCard& credit_card); 89 bool UpdateFromImportedCard(const CreditCard& imported_card, 98 int Compare(const CreditCard& credit_card) const; 101 bool operator==(const CreditCard& credit_card) const; 102 bool operator!=(const CreditCard& credit_card) const; [all …]
|
D | credit_card_unittest.cc | 58 CreditCard credit_card0(base::GenerateGUID(), "https://www.example.com/"); in TEST() 65 CreditCard credit_card00(base::GenerateGUID(), "https://www.example.com/"); in TEST() 73 CreditCard credit_card1(base::GenerateGUID(), "https://www.example.com/"); in TEST() 81 CreditCard credit_card2(base::GenerateGUID(), "https://www.example.com/"); in TEST() 90 CreditCard credit_card3(base::GenerateGUID(), "https://www.example.com/"); in TEST() 99 CreditCard credit_card4(base::GenerateGUID(), "https://www.example.com/"); in TEST() 108 CreditCard credit_card5(base::GenerateGUID(), "https://www.example.com/"); in TEST() 120 CreditCard a(base::GenerateGUID(), "some origin"); in TEST() 124 CreditCard b(base::GenerateGUID(), "some other origin"); in TEST() 134 CreditCard a(base::GenerateGUID(), "https://www.example.com"); in TEST() [all …]
|
D | autofill_test_utils.h | 15 class CreditCard; variable 54 CreditCard GetCreditCard(); 57 CreditCard GetCreditCard2(); 60 CreditCard GetVerifiedCreditCard(); 63 CreditCard GetVerifiedCreditCard2(); 85 void SetCreditCardInfo(CreditCard* credit_card,
|
D | test_personal_data_manager.h | 27 void AddTestingCreditCard(CreditCard* credit_card); 31 virtual const std::vector<CreditCard*>& GetCreditCards() const OVERRIDE; 36 const CreditCard& imported_credit_card) OVERRIDE; 50 const CreditCard& imported_credit_card() { return imported_credit_card_; } in imported_credit_card() 54 std::vector<CreditCard*> credit_cards_; 56 CreditCard imported_credit_card_;
|
D | personal_data_manager.cc | 228 scoped_ptr<CreditCard>* imported_credit_card) { in ImportFormData() 230 scoped_ptr<CreditCard> local_imported_credit_card(new CreditCard); in ImportFormData() 339 for (std::vector<CreditCard*>::const_iterator iter = credit_cards_.begin(); in ImportFormData() 344 CreditCard card = **iter; in ImportFormData() 429 void PersonalDataManager::AddCreditCard(const CreditCard& credit_card) { in AddCreditCard() 436 if (FindByGUID<CreditCard>(credit_cards_, credit_card.guid())) in AddCreditCard() 453 void PersonalDataManager::UpdateCreditCard(const CreditCard& credit_card) { in UpdateCreditCard() 457 CreditCard* existing_credit_card = GetCreditCardByGUID(credit_card.guid()); in UpdateCreditCard() 484 bool is_credit_card = FindByGUID<CreditCard>(credit_cards_, guid); in RemoveByGUID() 502 CreditCard* PersonalDataManager::GetCreditCardByGUID(const std::string& guid) { in GetCreditCardByGUID() [all …]
|
D | personal_data_manager_unittest.cc | 227 CreditCard credit_card0(base::GenerateGUID(), "https://www.example.com"); in TEST_F() 231 CreditCard credit_card1(base::GenerateGUID(), "https://www.example.com"); in TEST_F() 235 CreditCard credit_card2(base::GenerateGUID(), "https://www.example.com"); in TEST_F() 248 const std::vector<CreditCard*>& results1 = personal_data_->GetCreditCards(); in TEST_F() 264 const std::vector<CreditCard*>& results2 = personal_data_->GetCreditCards(); in TEST_F() 275 const std::vector<CreditCard*>& results3 = personal_data_->GetCreditCards(); in TEST_F() 290 CreditCard credit_card(base::GenerateGUID(), "https://www.example.com/"); in TEST_F() 306 const std::vector<CreditCard*>& cards1 = personal_data_->GetCreditCards(); in TEST_F() 314 CreditCard original_credit_card(credit_card); in TEST_F() 328 const std::vector<CreditCard*>& cards2 = personal_data_->GetCreditCards(); in TEST_F() [all …]
|
D | autofill_test_utils.cc | 137 CreditCard GetCreditCard() { in GetCreditCard() 138 CreditCard credit_card(base::GenerateGUID(), "http://www.example.com"); in GetCreditCard() 144 CreditCard GetCreditCard2() { in GetCreditCard2() 145 CreditCard credit_card(base::GenerateGUID(), "https://www.example.com"); in GetCreditCard2() 151 CreditCard GetVerifiedCreditCard() { in GetVerifiedCreditCard() 152 CreditCard credit_card(GetCreditCard()); in GetVerifiedCreditCard() 157 CreditCard GetVerifiedCreditCard2() { in GetVerifiedCreditCard2() 158 CreditCard credit_card(GetCreditCard2()); in GetVerifiedCreditCard2() 196 void SetCreditCardInfo(CreditCard* credit_card, in SetCreditCardInfo()
|
D | personal_data_manager.h | 39 void SetCreditCards(int, std::vector<autofill::CreditCard>*); 86 scoped_ptr<CreditCard>* credit_card); 96 const CreditCard& imported_credit_card); 113 void AddCreditCard(const CreditCard& credit_card); 116 void UpdateCreditCard(const CreditCard& credit_card); 120 CreditCard* GetCreditCardByGUID(const std::string& guid); 137 virtual const std::vector<CreditCard*>& GetCreditCards() const; 238 int, std::vector<autofill::CreditCard>*); 254 void SetCreditCards(std::vector<CreditCard>* credit_cards); 324 ScopedVector<CreditCard> credit_cards_;
|
D | test_personal_data_manager.cc | 21 void TestPersonalDataManager::AddTestingCreditCard(CreditCard* credit_card) { in AddTestingCreditCard() 36 const std::vector<CreditCard*>& TestPersonalDataManager:: 48 const CreditCard& imported_credit_card) { in SaveImportedCreditCard()
|
D | autofill_ie_toolbar_import_win.cc | 37 std::vector<CreditCard>* credit_cards); 224 for (std::vector<CreditCard>::const_iterator iter = credit_cards_.begin(); in OnPersonalDataChanged() 238 std::vector<CreditCard> credit_cards_; 248 std::vector<CreditCard>* credit_cards) { in ImportCurrentUserProfiles() 290 CreditCard credit_card; in ImportCurrentUserProfiles()
|
/external/chromium_org/chrome/browser/ui/autofill/ |
D | mock_new_credit_card_bubble_controller.h | 14 class CreditCard; variable 22 void Show(scoped_ptr<CreditCard> new_card, 25 const CreditCard* new_card() const { return new_card_.get(); } in new_card() 34 scoped_ptr<CreditCard> new_card_;
|
D | new_credit_card_bubble_controller.h | 25 class CreditCard; variable 66 scoped_ptr<CreditCard> new_card, 102 virtual void SetupAndShow(scoped_ptr<CreditCard> new_card, 119 scoped_ptr<CreditCard> new_card_;
|
D | new_credit_card_bubble_controller.cc | 40 scoped_ptr<CreditCard> new_card, in Show() 90 scoped_ptr<CreditCard> new_card, in SetupAndShow() 102 CreditCard::IconResourceId(CreditCard::GetCreditCardType(card_number))); in SetupAndShow()
|
D | autofill_dialog_i18n_input.h | 26 class CreditCard; variable 47 bool CardHasCompleteAndVerifiedData(const CreditCard& card);
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/autofill/ |
D | PersonalDataManager.java | 223 public static class CreditCard { class in PersonalDataManager 235 public static CreditCard create(String guid, String origin, String name, String number, in create() 237 return new CreditCard(guid, origin, name, number, obfuscatedNumber, month, year); in create() 240 public CreditCard(String guid, String origin, String name, String number, in CreditCard() method in PersonalDataManager.CreditCard 389 public List<CreditCard> getCreditCards() { in getCreditCards() 392 List<CreditCard> cards = new ArrayList<CreditCard>(count); in getCreditCards() 399 public CreditCard getCreditCard(String guid) { in getCreditCard() 404 public String setCreditCard(CreditCard card) { in setCreditCard() 445 private native CreditCard nativeGetCreditCardByIndex(long nativePersonalDataManagerAndroid, in nativeGetCreditCardByIndex() 447 private native CreditCard nativeGetCreditCardByGUID(long nativePersonalDataManagerAndroid, in nativeGetCreditCardByGUID() [all …]
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/ |
D | PersonalDataManagerTest.java | 11 import org.chromium.chrome.browser.autofill.PersonalDataManager.CreditCard; 116 CreditCard card = new CreditCard( in testAddAndEditCreditCards() 122 CreditCard card2 = new CreditCard( in testAddAndEditCreditCards() 134 CreditCard storedCard = mHelper.getCreditCard(cardOneGUID); in testAddAndEditCreditCards() 147 CreditCard card = new CreditCard( in testAddAndDeleteCreditCard()
|
D | AutofillTestHelper.java | 9 import org.chromium.chrome.browser.autofill.PersonalDataManager.CreditCard; 66 CreditCard getCreditCard(final String guid) throws ExecutionException { 67 return ThreadUtils.runOnUiThreadBlocking(new Callable<CreditCard>() { 69 public CreditCard call() { 84 String setCreditCard(final CreditCard card) throws InterruptedException, ExecutionException {
|
/external/chromium_org/components/autofill/core/browser/webdata/ |
D | autofill_table.h | 28 class CreditCard; variable 216 bool AddCreditCard(const CreditCard& credit_card); 219 bool UpdateCreditCard(const CreditCard& credit_card); 227 bool GetCreditCard(const std::string& guid, CreditCard** credit_card); 231 virtual bool GetCreditCards(std::vector<CreditCard*>* credit_cards); 320 FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, CreditCard);
|
D | web_data_service_unittest.cc | 399 CreditCard card; in TEST_F() 404 AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer; in TEST_F() 414 CreditCard credit_card; in TEST_F() 421 AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer; in TEST_F() 434 AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer2; in TEST_F() 442 CreditCard card1; in TEST_F() 444 CreditCard card2; in TEST_F() 452 AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer; in TEST_F() 461 CreditCard card1_changed(card1); in TEST_F() 468 AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer2; in TEST_F() [all …]
|
D | autofill_webdata_backend_impl.cc | 249 const CreditCard& credit_card, WebDatabase* db) { in AddCreditCard() 260 const CreditCard& credit_card, WebDatabase* db) { in UpdateCreditCard() 264 CreditCard* original_credit_card = NULL; in UpdateCreditCard() 269 scoped_ptr<CreditCard> scoped_credit_card(original_credit_card); in UpdateCreditCard() 291 std::vector<CreditCard*> credit_cards; in GetCreditCards() 294 new WDDestroyableResult<std::vector<CreditCard*> >( in GetCreditCards() 382 const WDResult<std::vector<CreditCard*> >* r = in DestroyAutofillCreditCardResult() 383 static_cast<const WDResult<std::vector<CreditCard*> >*>(result); in DestroyAutofillCreditCardResult() 385 std::vector<CreditCard*> credit_cards = r->GetValue(); in DestroyAutofillCreditCardResult()
|
D | autofill_webdata.h | 27 class CreditCard; variable 79 virtual void AddCreditCard(const CreditCard& credit_card) = 0; 82 virtual void UpdateCreditCard(const CreditCard& credit_card) = 0;
|
D | autofill_webdata_service.h | 35 class CreditCard; variable 72 virtual void AddCreditCard(const CreditCard& credit_card) OVERRIDE; 73 virtual void UpdateCreditCard(const CreditCard& credit_card) OVERRIDE;
|
D | autofill_webdata_backend_impl.h | 32 class CreditCard; variable 117 WebDatabase::State AddCreditCard(const CreditCard& credit_card, 121 WebDatabase::State UpdateCreditCard(const CreditCard& credit_card,
|
/external/chromium_org/chrome/browser/autofill/ |
D | autofill_browsertest.cc | 148 void SetCards(std::vector<CreditCard>* cards) { in SetCards() 154 void SetCard(const CreditCard& card) { in SetCard() 155 std::vector<CreditCard> cards; in SetCard() 384 std::vector<CreditCard> cards; in IN_PROC_BROWSER_TEST_F() 385 CreditCard card1; in IN_PROC_BROWSER_TEST_F() 394 CreditCard card2; in IN_PROC_BROWSER_TEST_F() 401 CreditCard card3; in IN_PROC_BROWSER_TEST_F() 417 CreditCard card4; in IN_PROC_BROWSER_TEST_F() 465 CreditCard card; in IN_PROC_BROWSER_TEST_F()
|