Home | History | Annotate | Download | only in webdata

Lines Matching refs:credit_cards

1138       "INSERT INTO credit_cards"
1164 "FROM credit_cards "
1181 std::vector<CreditCard*>* credit_cards) {
1182 DCHECK(credit_cards);
1183 credit_cards->clear();
1187 "FROM credit_cards"));
1198 credit_cards->push_back(credit_card);
1217 "UPDATE credit_cards "
1236 "DELETE FROM credit_cards WHERE guid = ?"));
1295 "SELECT guid FROM credit_cards "
1312 "DELETE FROM credit_cards "
1447 if (!db_->DoesTableExist("credit_cards")) {
1448 if (!db_->Execute("CREATE TABLE credit_cards ( "
1557 // r37036, when the credit_cards table was added, and then failed to
1562 // this update case. But because the user did not have a credit_cards
1574 // fully initialized credit_cards table. Every time Chrome runs, it
1580 if (!db_->DoesColumnExist("credit_cards", "card_number_encrypted")) {
1581 if (!db_->Execute("ALTER TABLE credit_cards ADD COLUMN "
1584 "credit_cards table.";
1589 if (!db_->DoesColumnExist("credit_cards", "verification_code_encrypted")) {
1590 if (!db_->Execute("ALTER TABLE credit_cards ADD COLUMN "
1593 "credit_cards table.";
1637 if (db_->DoesColumnExist("credit_cards", "label") &&
1638 db_->DoesColumnExist("credit_cards", "name_on_card") &&
1639 db_->DoesColumnExist("credit_cards", "type") &&
1640 db_->DoesColumnExist("credit_cards", "expiration_month") &&
1641 db_->DoesColumnExist("credit_cards", "expiration_year") &&
1642 db_->DoesColumnExist("credit_cards", "billing_address") &&
1643 db_->DoesColumnExist("credit_cards", "shipping_address") &&
1645 query = "DELETE FROM credit_cards WHERE (" + credit_cards_is_too_big +
1664 // Change the credit_cards.billing_address column from a string to an
1671 if (!(db_->DoesColumnExist("credit_cards", "unique_id") &&
1672 db_->DoesColumnExist("credit_cards", "billing_address") &&
1678 "SELECT credit_cards.unique_id, autofill_profiles.unique_id "
1679 "FROM autofill_profiles, credit_cards "
1680 "WHERE credit_cards.billing_address = autofill_profiles.label";
1692 std::string stmt = "SELECT unique_id,billing_address FROM credit_cards";
1725 "verification_code_encrypted FROM credit_cards")) {
1729 if (!db_->Execute("DROP TABLE credit_cards"))
1732 if (!db_->Execute("ALTER TABLE credit_cards_temp RENAME TO credit_cards"))
1739 "UPDATE credit_cards SET billing_address=? WHERE unique_id=?"));
1772 // Add date_modified to credit_cards.
1773 if (!db_->DoesColumnExist("credit_cards", "date_modified")) {
1774 if (!db_->Execute("ALTER TABLE credit_cards ADD COLUMN "
1780 "UPDATE credit_cards SET date_modified=?"));
1827 if (!db_->DoesColumnExist("credit_cards", "guid")) {
1828 if (!db_->Execute("ALTER TABLE credit_cards ADD COLUMN "
1836 "FROM credit_cards"));
1842 db_->GetUniqueStatement("UPDATE credit_cards "
1897 if (db_->DoesColumnExist("credit_cards", "unique_id")) {
1913 "FROM credit_cards")) {
1917 if (!db_->Execute("DROP TABLE credit_cards"))
1920 if (!db_->Execute("ALTER TABLE credit_cards_temp RENAME TO credit_cards"))
2009 // Remove the labels column from the credit_cards table.
2010 if (db_->DoesColumnExist("credit_cards", "label")) {
2025 "FROM credit_cards")) {
2029 if (!db_->Execute("DROP TABLE credit_cards"))
2032 if (!db_->Execute("ALTER TABLE credit_cards_temp RENAME TO credit_cards"))