Home | History | Annotate | Download | only in autofill

Lines Matching refs:profiles

20   std::vector<AutofillProfile*> profiles;
21 profiles.push_back(profile);
22 return AutofillProfile::AdjustInferredLabels(&profiles);
119 std::vector<AutofillProfile*> profiles;
120 profiles.push_back(&profile7);
121 profiles.push_back(&profile7a);
122 EXPECT_TRUE(AutofillProfile::AdjustInferredLabels(&profiles));
132 std::vector<AutofillProfile*> profiles;
133 profiles.push_back(new AutofillProfile);
135 profiles[0],
148 profiles.push_back(new AutofillProfile);
150 profiles[1],
164 EXPECT_TRUE(AutofillProfile::AdjustInferredLabels(&profiles));
166 EXPECT_FALSE(AutofillProfile::AdjustInferredLabels(&profiles));
168 profiles[0]->Label());
170 profiles[1]->Label());
172 profiles.push_back(new AutofillProfile);
174 profiles[2],
187 EXPECT_TRUE(AutofillProfile::AdjustInferredLabels(&profiles));
191 profiles[0]->Label());
193 profiles[1]->Label());
195 profiles[2]->Label());
197 delete profiles[2];
198 profiles.pop_back();
200 profiles.push_back(new AutofillProfile);
202 profiles[2],
216 EXPECT_TRUE(AutofillProfile::AdjustInferredLabels(&profiles));
220 profiles[0]->Label());
222 profiles[1]->Label());
224 profiles[2]->Label());
226 profiles.push_back(new AutofillProfile);
228 profiles[3],
242 EXPECT_TRUE(AutofillProfile::AdjustInferredLabels(&profiles));
246 profiles[0]->Label());
248 profiles[1]->Label());
251 profiles[2]->Label());
255 profiles[3]->Label());
257 profiles.push_back(new AutofillProfile);
259 profiles[4],
273 EXPECT_TRUE(AutofillProfile::AdjustInferredLabels(&profiles));
277 profiles[0]->Label());
279 profiles[1]->Label());
282 profiles[2]->Label());
285 profiles[3]->Label());
289 profiles[4]->Label());
291 EXPECT_FALSE(AutofillProfile::AdjustInferredLabels(&profiles));
294 STLDeleteContainerPointers(profiles.begin(), profiles.end());
298 std::vector<AutofillProfile*> profiles;
299 profiles.push_back(new AutofillProfile);
300 autofill_test::SetProfileInfo(profiles[0],
313 profiles.push_back(new AutofillProfile);
314 autofill_test::SetProfileInfo(profiles[1],
329 AutofillProfile::CreateInferredLabels(&profiles, NULL, UNKNOWN_TYPE, 2,
335 AutofillProfile::CreateInferredLabels(&profiles, NULL, UNKNOWN_TYPE, 3,
348 AutofillProfile::CreateInferredLabels(&profiles, &suggested_fields,
354 AutofillProfile::CreateInferredLabels(&profiles, &suggested_fields,
361 AutofillProfile::CreateInferredLabels(&profiles, &suggested_fields,
370 AutofillProfile::CreateInferredLabels(&profiles, &suggested_fields,
377 AutofillProfile::CreateInferredLabels(&profiles, &suggested_fields,
388 AutofillProfile::CreateInferredLabels(&profiles, &suggested_fields, NAME_FULL,
394 STLDeleteContainerPointers(profiles.begin(), profiles.end());
400 ScopedVector<AutofillProfile> profiles;
401 profiles.push_back(new AutofillProfile);
402 autofill_test::SetProfileInfo(profiles[0],
405 profiles.push_back(new AutofillProfile);
406 autofill_test::SetProfileInfo(profiles[1],
417 AutofillProfile::CreateInferredLabels(&profiles.get(), &suggested_fields,
425 AutofillProfile::CreateInferredLabels(&profiles.get(), &suggested_fields,
434 ScopedVector<AutofillProfile> profiles;
435 profiles.push_back(new AutofillProfile);
436 autofill_test::SetProfileInfo(profiles[0],
439 profiles.push_back(new AutofillProfile);
440 autofill_test::SetProfileInfo(profiles[1],
451 AutofillProfile::CreateInferredLabels(&profiles.get(), &suggested_fields,
460 ScopedVector<AutofillProfile> profiles;
461 profiles.push_back(new AutofillProfile);
462 autofill_test::SetProfileInfo(profiles[0],
465 profiles.push_back(new AutofillProfile);
466 autofill_test::SetProfileInfo(profiles[1],
469 profiles.push_back(new AutofillProfile);
470 autofill_test::SetProfileInfo(profiles[2],
475 AutofillProfile::CreateInferredLabels(&profiles.get(), NULL, UNKNOWN_TYPE, 3,
484 profiles[1]->SetInfo(ADDRESS_HOME_LINE1,
486 AutofillProfile::CreateInferredLabels(&profiles.get(), NULL, UNKNOWN_TYPE, 1,
532 // profiles.
544 // EMAIL_ADDRESS. The value of EMAIL_ADDRESS differs between the two profiles.
621 // Empty profiles are the same.