Home | History | Annotate | Download | only in autofill

Lines Matching full:profile

22 #include "chrome/browser/profiles/profile.h"
72 void AddProfile(AutofillProfile* profile) {
73 web_profiles_->push_back(profile);
100 AutofillProfile* profile = new AutofillProfile;
101 autofill_test::SetProfileInfo(profile, "Elvis", "Aaron",
106 profile->set_guid("00000000-0000-0000-0000-000000000001");
107 profiles->push_back(profile);
108 profile = new AutofillProfile;
109 autofill_test::SetProfileInfo(profile, "Charles", "Hardin",
114 profile->set_guid("00000000-0000-0000-0000-000000000002");
115 profiles->push_back(profile);
116 profile = new AutofillProfile;
117 autofill_test::SetProfileInfo(profile, "", "", "", "", "", "", "",
119 profile->set_guid("00000000-0000-0000-0000-000000000003");
120 profiles->push_back(profile);
428 void AddProfile(AutofillProfile* profile) {
429 test_personal_data_->AddProfile(profile);
490 Profile* profile() { return contents()->profile(); }
601 // Test that we return all address profile suggestions when all form fields are
643 // Test that we return only matching address profile suggestions when the
708 // Test that we cull duplicate profile suggestions.
716 // Add a duplicate profile.
837 // Test that we return all credit card profile suggestions when all form fields
880 // Test that we return only matching credit card profile suggestions when the
916 // Test that we return credit card profile suggestions when the selected form
959 // Test that we return a warning explaining that credit card profile suggestions
1083 // Test that we return profile and credit card suggestions for combined forms.
1156 // should return a warning explaining that credit card profile suggestions are
1363 // |profile| will be owned by the mock PersonalDataManager.
1364 AutofillProfile* profile = new AutofillProfile;
1365 autofill_test::SetProfileInfo(profile, "Elvis", "", "", "", "",
1367 profile->set_guid("00000000-0000-0000-0000-000000000101");
1368 autofill_manager_->AddProfile(profile);
1397 // Test that a non-default value is suggested for multi-valued profile, on an
1406 // |profile| will be owned by the mock PersonalDataManager.
1407 AutofillProfile* profile = new AutofillProfile;
1408 autofill_test::SetProfileInfo(profile, "Elvis", "", "Presley", "me@x.com", "",
1410 profile->set_guid("00000000-0000-0000-0000-000000000101");
1414 profile->SetMultiInfo(NAME_FULL, multi_values);
1415 autofill_manager_->AddProfile(profile);
1444 // Test that all values are suggested for multi-valued profile, on a filled
1453 // |profile| will be owned by the mock PersonalDataManager.
1454 AutofillProfile* profile = new AutofillProfile;
1455 profile->set_guid("00000000-0000-0000-0000-000000000102");
1460 profile->SetMultiInfo(NAME_FULL, multi_values);
1461 autofill_manager_->AddProfile(profile);
2039 // Checks that resetting the auxiliary profile enabled preference does the right
2045 ASSERT_TRUE(profile()->GetPrefs()->GetBoolean(
2047 profile()->GetPrefs()->SetBoolean(
2049 profile()->GetPrefs()->ClearPref(prefs::kAutofillAuxiliaryProfilesEnabled);
2050 ASSERT_TRUE(profile()->GetPrefs()->GetBoolean(
2053 ASSERT_FALSE(profile()->GetPrefs()->GetBoolean(
2055 profile()->GetPrefs()->SetBoolean(
2057 profile()->GetPrefs()->ClearPref(prefs::kAutofillAuxiliaryProfilesEnabled);
2058 ASSERT_FALSE(profile()->GetPrefs()->GetBoolean(