Lines Matching defs:billing_profile
675 AutofillProfile billing_profile = home_profile;
676 billing_profile.set_guid(base::GenerateGUID());
677 billing_profile.set_origin("https://www.example.com/");
678 billing_profile.SetRawInfo(ADDRESS_HOME_LINE1,
680 billing_profile.SetRawInfo(ADDRESS_HOME_LINE2, ASCIIToUTF16("suite 3"));
683 EXPECT_TRUE(table_->AddAutofillProfile(billing_profile));
687 ASSERT_TRUE(table_->GetAutofillProfile(billing_profile.guid(), &db_profile));
688 EXPECT_EQ(billing_profile, *db_profile);
691 s_billing.BindString(0, billing_profile.guid());
700 billing_profile.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Jane"));
702 EXPECT_TRUE(table_->UpdateAutofillProfile(billing_profile));
704 ASSERT_TRUE(table_->GetAutofillProfile(billing_profile.guid(), &db_profile));
705 EXPECT_EQ(billing_profile, *db_profile);
708 s_billing_updated.BindString(0, billing_profile.guid());
719 billing_profile.set_origin("Chrome settings");
720 billing_profile.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Janice"));
721 billing_profile.SetRawInfo(NAME_MIDDLE, ASCIIToUTF16("C."));
722 billing_profile.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Joplin"));
723 billing_profile.SetRawInfo(EMAIL_ADDRESS, ASCIIToUTF16("jane@singer.com"));
724 billing_profile.SetRawInfo(COMPANY_NAME, ASCIIToUTF16("Indy"));
725 billing_profile.SetRawInfo(ADDRESS_HOME_LINE1, ASCIIToUTF16("Open Road"));
726 billing_profile.SetRawInfo(ADDRESS_HOME_LINE2, ASCIIToUTF16("Route 66"));
727 billing_profile.SetRawInfo(ADDRESS_HOME_DEPENDENT_LOCALITY,
729 billing_profile.SetRawInfo(ADDRESS_HOME_CITY, ASCIIToUTF16("NFA"));
730 billing_profile.SetRawInfo(ADDRESS_HOME_STATE, ASCIIToUTF16("NY"));
731 billing_profile.SetRawInfo(ADDRESS_HOME_ZIP, ASCIIToUTF16("10011"));
732 billing_profile.SetRawInfo(ADDRESS_HOME_SORTING_CODE, ASCIIToUTF16("123456"));
733 billing_profile.SetRawInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16("US"));
734 billing_profile.SetRawInfo(PHONE_HOME_WHOLE_NUMBER,
737 EXPECT_TRUE(table_->UpdateAutofillProfile(billing_profile));
739 ASSERT_TRUE(table_->GetAutofillProfile(billing_profile.guid(), &db_profile));
740 EXPECT_EQ(billing_profile, *db_profile);
744 s_billing_updated_2.BindString(0, billing_profile.guid());
755 EXPECT_TRUE(table_->RemoveAutofillProfile(billing_profile.guid()));
756 EXPECT_FALSE(table_->GetAutofillProfile(billing_profile.guid(), &db_profile));