form_structure 68 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc FormStructure& form_structure, form_structure 82 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc form_structure.FillFields(types, form_structure 90 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc FormStructure& form_structure, form_structure 99 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc form_structure, full_wallet, email_address); form_structure 103 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc for (size_t i = 0; i < form_structure.field_count(); ++i) { form_structure 104 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc AutofillField* field = form_structure.field(i); form_structure 114 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const FormStructure& form_structure) { form_structure 115 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc for (size_t i = 0; i < form_structure.field_count(); ++i) { form_structure 116 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const AutofillField* field = form_structure.field(i); form_structure 127 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const FormStructure& form_structure) { form_structure 130 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc section, input_types[i], form_structure)) { form_structure 143 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const FormData& form_structure, form_structure 149 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc form_structure, form_structure 160 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const FormData& form_structure, form_structure 164 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc form_structure, form_structure 391 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const FormData& form_structure, form_structure 397 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc form_structure_(form_structure), form_structure 27 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h const FormData& form_structure, form_structure 55 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h const FormData& form_structure, form_structure 16 chrome/browser/ui/autofill/autofill_dialog_controller.cc const FormData& form_structure, form_structure 37 chrome/browser/ui/autofill/autofill_dialog_controller.h const FormData& form_structure, form_structure 597 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const FormData& form_structure, form_structure 603 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc form_structure, form_structure 637 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const FormData& form_structure, form_structure 641 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc form_structure, form_structure 2676 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const FormData& form_structure, form_structure 2682 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc form_structure_(form_structure), form_structure 89 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h const FormData& form_structure, form_structure 242 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h const FormData& form_structure, form_structure 259 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc const FormData& form_structure, form_structure 265 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure, form_structure 605 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ASSERT_EQ(20U, form_structure()->field_count()); form_structure 607 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(11)->Type().GetStorableType()); form_structure 608 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_BILLING, form_structure()->field(11)->Type().group()); form_structure 610 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(18)->Type().GetStorableType()); form_structure 611 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_HOME, form_structure()->field(18)->Type().group()); form_structure 612 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 billing_country = form_structure()->field(11)->value; form_structure 614 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 shipping_country = form_structure()->field(18)->value; form_structure 621 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(1)->Type().GetStorableType()); form_structure 622 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 cc_name = form_structure()->field(1)->value; form_structure 623 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME_FULL, form_structure()->field(6)->Type().GetStorableType()); form_structure 624 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME_BILLING, form_structure()->field(6)->Type().group()); form_structure 625 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 billing_name = form_structure()->field(6)->value; form_structure 626 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME_FULL, form_structure()->field(13)->Type().GetStorableType()); form_structure 627 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME, form_structure()->field(13)->Type().group()); form_structure 628 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 shipping_name = form_structure()->field(13)->value; form_structure 650 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc void FinishedCallback(const FormStructure* form_structure) { form_structure 651 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure_ = form_structure; form_structure 1243 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ASSERT_EQ(20U, form_structure()->field_count()); form_structure 1245 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(9)->Type().GetStorableType()); form_structure 1246 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_BILLING, form_structure()->field(9)->Type().group()); form_structure 1248 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(16)->Type().GetStorableType()); form_structure 1249 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_HOME, form_structure()->field(16)->Type().group()); form_structure 1250 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 billing_state = form_structure()->field(9)->value; form_structure 1251 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 shipping_state = form_structure()->field(16)->value; form_structure 1257 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(1)->Type().GetStorableType()); form_structure 1258 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 cc_name = form_structure()->field(1)->value; form_structure 1259 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME_FULL, form_structure()->field(6)->Type().GetStorableType()); form_structure 1260 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME_BILLING, form_structure()->field(6)->Type().group()); form_structure 1261 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 billing_name = form_structure()->field(6)->value; form_structure 1262 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME_FULL, form_structure()->field(13)->Type().GetStorableType()); form_structure 1263 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME, form_structure()->field(13)->Type().group()); form_structure 1264 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 shipping_name = form_structure()->field(13)->value; form_structure 1336 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ASSERT_EQ(2U, form_structure()->field_count()); form_structure 1338 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(0)->Type().GetStorableType()); form_structure 1339 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(PHONE_HOME, form_structure()->field(0)->Type().group()); form_structure 1341 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(1)->Type().GetStorableType()); form_structure 1342 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(PHONE_BILLING, form_structure()->field(1)->Type().group()); form_structure 1344 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(0)->value); form_structure 1346 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(1)->value); form_structure 1347 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(form_structure()->field(1)->value, form_structure 1348 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(0)->value); form_structure 1388 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ASSERT_EQ(4U, form_structure()->field_count()); form_structure 1390 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(0)->Type().GetStorableType()); form_structure 1391 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_HOME, form_structure()->field(0)->Type().group()); form_structure 1393 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(1)->Type().GetStorableType()); form_structure 1394 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_BILLING, form_structure()->field(1)->Type().group()); form_structure 1397 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(StartsWith(form_structure()->field(0)->value, form_structure 1400 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(EndsWith(form_structure()->field(0)->value, form_structure 1403 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(StartsWith(form_structure()->field(1)->value, form_structure 1406 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(EndsWith(form_structure()->field(1)->value, form_structure 1411 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(2)->value); form_structure 1413 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(3)->value); form_structure 1415 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(form_structure()->field(1)->value, form_structure 1416 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(0)->value); form_structure 1417 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(form_structure()->field(3)->value, form_structure 1418 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(2)->value); form_structure 2110 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_FALSE(form_structure()); form_structure 2114 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(form_structure()); form_structure 2198 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ASSERT_TRUE(form_structure()); form_structure 2200 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc for (; i < form_structure()->field_count(); ++i) { form_structure 2201 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc if (form_structure()->field(i)->Type().GetStorableType() == EMAIL_ADDRESS) { form_structure 2202 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ASCIIToUTF16(kFakeEmail), form_structure()->field(i)->value); form_structure 2206 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_LT(i, form_structure()->field_count()); form_structure 2216 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ASSERT_TRUE(form_structure()); form_structure 2217 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ASSERT_EQ(20U, form_structure()->field_count()); form_structure 2219 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(0)->Type().GetStorableType()); form_structure 2221 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(2)->Type().GetStorableType()); form_structure 2223 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(9)->Type().GetStorableType()); form_structure 2224 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_BILLING, form_structure()->field(9)->Type().group()); form_structure 2226 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(16)->Type().GetStorableType()); form_structure 2227 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_HOME, form_structure()->field(16)->Type().group()); form_structure 2397 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(form_structure()); form_structure 2424 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(form_structure()); form_structure 88 chrome/browser/ui/autofill/data_model_wrapper.cc FormStructure* form_structure) const { form_structure 89 chrome/browser/ui/autofill/data_model_wrapper.cc return form_structure->FillFields( form_structure 79 chrome/browser/ui/autofill/data_model_wrapper.h FormStructure* form_structure) const; form_structure 266 components/autofill/content/browser/content_autofill_driver_unittest.cc FormStructure form_structure(form); form_structure 267 components/autofill/content/browser/content_autofill_driver_unittest.cc std::vector<FormStructure*> forms(1, &form_structure); form_structure 278 components/autofill/content/browser/content_autofill_driver_unittest.cc FormStructure form_structure(form); form_structure 279 components/autofill/content/browser/content_autofill_driver_unittest.cc std::vector<FormStructure*> forms(1, &form_structure); form_structure 53 components/autofill/content/browser/request_autocomplete_manager_unittest.cc FormStructure form_structure(form); form_structure 54 components/autofill/content/browser/request_autocomplete_manager_unittest.cc callback.Run(&form_structure); form_structure 174 components/autofill/core/browser/autofill_download_unittest.cc FormStructure *form_structure = new FormStructure(form); form_structure 176 components/autofill/core/browser/autofill_download_unittest.cc form_structures.push_back(form_structure); form_structure 200 components/autofill/core/browser/autofill_download_unittest.cc form_structure = new FormStructure(form); form_structure 201 components/autofill/core/browser/autofill_download_unittest.cc form_structures.push_back(form_structure); form_structure 293 components/autofill/core/browser/autofill_download_unittest.cc form_structure = new FormStructure(form); form_structure 294 components/autofill/core/browser/autofill_download_unittest.cc form_structures.push_back(form_structure); form_structure 364 components/autofill/core/browser/autofill_download_unittest.cc FormStructure *form_structure = new FormStructure(form); form_structure 366 components/autofill/core/browser/autofill_download_unittest.cc form_structures0.push_back(form_structure); form_structure 372 components/autofill/core/browser/autofill_download_unittest.cc form_structure = new FormStructure(form); form_structure 374 components/autofill/core/browser/autofill_download_unittest.cc form_structures1.push_back(form_structure); form_structure 381 components/autofill/core/browser/autofill_download_unittest.cc form_structure = new FormStructure(form); form_structure 383 components/autofill/core/browser/autofill_download_unittest.cc form_structures2.push_back(form_structure); form_structure 105 components/autofill/core/browser/autofill_manager.cc bool SectionIsAutofilled(const FormStructure& form_structure, form_structure 108 components/autofill/core/browser/autofill_manager.cc DCHECK_EQ(form_structure.field_count(), form.fields.size()); form_structure 109 components/autofill/core/browser/autofill_manager.cc for (size_t i = 0; i < form_structure.field_count(); ++i) { form_structure 110 components/autofill/core/browser/autofill_manager.cc if (form_structure.field(i)->section() == section && form_structure 347 components/autofill/core/browser/autofill_manager.cc FormStructure* form_structure = NULL; form_structure 349 components/autofill/core/browser/autofill_manager.cc if (!GetCachedFormAndField(form, field, &form_structure, &autofill_field)) form_structure 390 components/autofill/core/browser/autofill_manager.cc FormStructure* form_structure = NULL; form_structure 394 components/autofill/core/browser/autofill_manager.cc GetCachedFormAndField(form, field, &form_structure, &autofill_field) && form_structure 396 components/autofill/core/browser/autofill_manager.cc form_structure->IsAutofillable(false)) { form_structure 404 components/autofill/core/browser/autofill_manager.cc form_structure, field, type, &values, &labels, &icons, &unique_ids); form_structure 416 components/autofill/core/browser/autofill_manager.cc if (!form_structure->IsAutofillable(true)) form_structure 418 components/autofill/core/browser/autofill_manager.cc else if (is_filling_credit_card && !FormIsHTTPS(*form_structure)) form_structure 427 components/autofill/core/browser/autofill_manager.cc SectionIsAutofilled(*form_structure, form, form_structure 474 components/autofill/core/browser/autofill_manager.cc FormStructure* form_structure = NULL; form_structure 484 components/autofill/core/browser/autofill_manager.cc !GetCachedFormAndField(form, field, &form_structure, &autofill_field)) form_structure 487 components/autofill/core/browser/autofill_manager.cc DCHECK(form_structure); form_structure 500 components/autofill/core/browser/autofill_manager.cc if (SectionIsAutofilled(*form_structure, form, autofill_field->section())) { form_structure 525 components/autofill/core/browser/autofill_manager.cc DCHECK_EQ(form_structure->field_count(), form.fields.size()); form_structure 526 components/autofill/core/browser/autofill_manager.cc for (size_t i = 0; i < form_structure->field_count(); ++i) { form_structure 527 components/autofill/core/browser/autofill_manager.cc if (form_structure->field(i)->section() != autofill_field->section()) form_structure 530 components/autofill/core/browser/autofill_manager.cc DCHECK_EQ(*form_structure->field(i), result.fields[i]); form_structure 532 components/autofill/core/browser/autofill_manager.cc const AutofillField* cached_field = form_structure->field(i); form_structure 562 components/autofill/core/browser/autofill_manager.cc form_structure->field(i)->is_autofilled = true; form_structure 570 components/autofill/core/browser/autofill_manager.cc autofilled_form_signatures_.push_front(form_structure->FormSignature()); form_structure 774 components/autofill/core/browser/autofill_manager.cc FormStructure form_structure(form); form_structure 776 components/autofill/core/browser/autofill_manager.cc if (!ShouldUploadForm(form_structure)) form_structure 779 components/autofill/core/browser/autofill_manager.cc if (!form_structure.ShouldBeCrowdsourced()) form_structure 787 components/autofill/core/browser/autofill_manager.cc for (size_t i = 0; i < form_structure.field_count(); ++i) { form_structure 788 components/autofill/core/browser/autofill_manager.cc AutofillField* field = form_structure.field(i); form_structure 808 components/autofill/core/browser/autofill_manager.cc form_structure.set_upload_required(UPLOAD_REQUIRED); form_structure 813 components/autofill/core/browser/autofill_manager.cc return download_manager_->StartUploadRequest(form_structure, form_structure 900 components/autofill/core/browser/autofill_manager.cc FormStructure** form_structure) const { form_structure 907 components/autofill/core/browser/autofill_manager.cc *form_structure = NULL; form_structure 912 components/autofill/core/browser/autofill_manager.cc *form_structure = *iter; form_structure 923 components/autofill/core/browser/autofill_manager.cc if (!(*form_structure)) form_structure 931 components/autofill/core/browser/autofill_manager.cc FormStructure** form_structure, form_structure 936 components/autofill/core/browser/autofill_manager.cc if (!FindCachedForm(form, form_structure) && form_structure 943 components/autofill/core/browser/autofill_manager.cc if (!UpdateCachedForm(form, *form_structure, form_structure)) form_structure 947 components/autofill/core/browser/autofill_manager.cc if (!(*form_structure)->autofill_count()) form_structure 953 components/autofill/core/browser/autofill_manager.cc (*form_structure)->begin(); form_structure 954 components/autofill/core/browser/autofill_manager.cc iter != (*form_structure)->end(); ++iter) { form_structure 1063 components/autofill/core/browser/autofill_manager.cc scoped_ptr<FormStructure> form_structure(new FormStructure(*iter)); form_structure 1064 components/autofill/core/browser/autofill_manager.cc if (!form_structure->ShouldBeParsed(false)) form_structure 1067 components/autofill/core/browser/autofill_manager.cc form_structure->DetermineHeuristicTypes(*metric_logger_); form_structure 1071 components/autofill/core/browser/autofill_manager.cc if (form_structure->ShouldBeCrowdsourced()) form_structure 1072 components/autofill/core/browser/autofill_manager.cc form_structures_.push_back(form_structure.release()); form_structure 1074 components/autofill/core/browser/autofill_manager.cc non_queryable_forms.push_back(form_structure.release()); form_structure 231 components/autofill/core/browser/autofill_manager.h FormStructure** form_structure) const WARN_UNUSED_RESULT; form_structure 239 components/autofill/core/browser/autofill_manager.h FormStructure** form_structure, form_structure 2395 components/autofill/core/browser/autofill_manager_unittest.cc TestFormStructure* form_structure = new TestFormStructure(form); form_structure 2397 components/autofill/core/browser/autofill_manager_unittest.cc form_structure->DetermineHeuristicTypes(metrics_logger); form_structure 2403 components/autofill/core/browser/autofill_manager_unittest.cc server_types.push_back(form_structure->field(i)->heuristic_type()); form_structure 2405 components/autofill/core/browser/autofill_manager_unittest.cc form_structure->SetFieldTypes(heuristic_types, server_types); form_structure 2406 components/autofill/core/browser/autofill_manager_unittest.cc autofill_manager_->AddSeenForm(form_structure); form_structure 220 components/autofill/core/browser/autofill_merge_unittest.cc FormStructure form_structure(form); form_structure 221 components/autofill/core/browser/autofill_merge_unittest.cc for (size_t i = 0; i < form_structure.field_count(); ++i) { form_structure 225 components/autofill/core/browser/autofill_merge_unittest.cc const_cast<AutofillField*>(form_structure.field(i)); form_structure 233 components/autofill/core/browser/autofill_merge_unittest.cc personal_data_.ImportFormData(form_structure, &imported_credit_card); form_structure 197 components/autofill/core/browser/autofill_metrics_unittest.cc TestFormStructure* form_structure = new TestFormStructure(empty_form); form_structure 198 components/autofill/core/browser/autofill_metrics_unittest.cc form_structure->SetFieldTypes(heuristic_types, server_types); form_structure 199 components/autofill/core/browser/autofill_metrics_unittest.cc form_structures()->push_back(form_structure); form_structure 608 components/autofill/core/browser/form_structure.cc FormStructure* form_structure = form_structures[i]; form_structure 610 components/autofill/core/browser/form_structure.cc form.data.name = form_structure->form_name_; form_structure 612 components/autofill/core/browser/form_structure.cc base::ASCIIToUTF16((form_structure->method_ == POST) ? "POST" : "GET"); form_structure 613 components/autofill/core/browser/form_structure.cc form.data.origin = form_structure->source_url_; form_structure 614 components/autofill/core/browser/form_structure.cc form.data.action = form_structure->target_url_; form_structure 615 components/autofill/core/browser/form_structure.cc form.signature = form_structure->FormSignature(); form_structure 618 components/autofill/core/browser/form_structure.cc form_structure->fields_.begin(); form_structure 619 components/autofill/core/browser/form_structure.cc field != form_structure->fields_.end(); ++field) { form_structure 65 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 93 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 94 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(4U, form_structure->field_count()); form_structure 98 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 124 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 125 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 126 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(1U, form_structure->autofill_count()); form_structure 136 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 137 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 138 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(1U, form_structure->autofill_count()); form_structure 145 components/autofill/core/browser/form_structure_unittest.cc FormStructure form_structure(form); form_structure 147 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(form.origin, form_structure.source_url()); form_structure 151 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 174 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 175 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 176 components/autofill/core/browser/form_structure_unittest.cc EXPECT_FALSE(form_structure->IsAutofillable(true)); form_structure 189 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 190 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 191 components/autofill/core/browser/form_structure_unittest.cc EXPECT_FALSE(form_structure->IsAutofillable(true)); form_structure 199 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 200 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 201 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 206 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 207 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 208 components/autofill/core/browser/form_structure_unittest.cc EXPECT_FALSE(form_structure->IsAutofillable(true)); form_structure 209 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(false)); form_structure 214 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 215 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 216 components/autofill/core/browser/form_structure_unittest.cc EXPECT_FALSE(form_structure->IsAutofillable(true)); form_structure 220 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 221 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 222 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 226 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 249 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 250 components/autofill/core/browser/form_structure_unittest.cc EXPECT_FALSE(form_structure->ShouldBeParsed(true)); form_structure 263 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 264 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->ShouldBeParsed(true)); form_structure 269 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 270 components/autofill/core/browser/form_structure_unittest.cc EXPECT_FALSE(form_structure->IsAutofillable(true)); form_structure 271 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->ShouldBeParsed(false)); form_structure 276 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 277 components/autofill/core/browser/form_structure_unittest.cc EXPECT_FALSE(form_structure->ShouldBeParsed(true)); form_structure 281 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 282 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->ShouldBeParsed(true)); form_structure 303 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 304 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->ShouldBeParsed(true)); form_structure 308 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 309 components/autofill/core/browser/form_structure_unittest.cc EXPECT_FALSE(form_structure->ShouldBeParsed(true)); form_structure 313 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 353 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 354 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 355 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 358 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(8U, form_structure->field_count()); form_structure 359 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(7U, form_structure->autofill_count()); form_structure 362 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_FIRST, form_structure->field(0)->heuristic_type()); form_structure 364 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_LAST, form_structure->field(1)->heuristic_type()); form_structure 366 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(EMAIL_ADDRESS, form_structure->field(2)->heuristic_type()); form_structure 369 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(3)->heuristic_type()); form_structure 371 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(4)->heuristic_type()); form_structure 373 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_CITY, form_structure->field(5)->heuristic_type()); form_structure 375 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_ZIP, form_structure->field(6)->heuristic_type()); form_structure 377 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(7)->heuristic_type()); form_structure 382 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 404 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 405 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 406 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 409 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(3U, form_structure->field_count()); form_structure 410 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(3U, form_structure->autofill_count()); form_structure 412 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(HTML_TYPE_GIVEN_NAME, form_structure->field(0)->html_type()); form_structure 413 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(HTML_TYPE_FAMILY_NAME, form_structure->field(1)->html_type()); form_structure 414 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(HTML_TYPE_EMAIL, form_structure->field(2)->html_type()); form_structure 415 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(0)->heuristic_type()); form_structure 416 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(1)->heuristic_type()); form_structure 417 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(2)->heuristic_type()); form_structure 423 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 445 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 446 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 447 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 450 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(3U, form_structure->field_count()); form_structure 451 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(3U, form_structure->autofill_count()); form_structure 453 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(HTML_TYPE_TEL_LOCAL, form_structure->field(0)->html_type()); form_structure 454 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(AutofillField::IGNORED, form_structure->field(0)->phone_part()); form_structure 455 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(HTML_TYPE_TEL_LOCAL_PREFIX, form_structure->field(1)->html_type()); form_structure 457 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(1)->phone_part()); form_structure 458 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(HTML_TYPE_TEL_LOCAL_SUFFIX, form_structure->field(2)->html_type()); form_structure 460 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(2)->phone_part()); form_structure 466 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 486 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 487 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 488 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 489 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->ShouldBeCrowdsourced()); form_structure 491 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(3U, form_structure->field_count()); form_structure 492 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(3U, form_structure->autofill_count()); form_structure 494 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_FIRST, form_structure->field(0)->heuristic_type()); form_structure 495 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_LAST, form_structure->field(1)->heuristic_type()); form_structure 496 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(EMAIL_ADDRESS, form_structure->field(2)->heuristic_type()); form_structure 500 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 501 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 502 components/autofill/core/browser/form_structure_unittest.cc EXPECT_FALSE(form_structure->IsAutofillable(true)); form_structure 503 components/autofill/core/browser/form_structure_unittest.cc EXPECT_FALSE(form_structure->ShouldBeCrowdsourced()); form_structure 505 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(3U, form_structure->field_count()); form_structure 506 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(0U, form_structure->autofill_count()); form_structure 508 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(0)->heuristic_type()); form_structure 509 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(1)->heuristic_type()); form_structure 510 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(2)->heuristic_type()); form_structure 560 components/autofill/core/browser/form_structure_unittest.cc FormStructure form_structure(form); form_structure 561 components/autofill/core/browser/form_structure_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 562 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure.IsAutofillable(true)); form_structure 565 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(9U, form_structure.field_count()); form_structure 566 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(9U, form_structure.autofill_count()); form_structure 572 components/autofill/core/browser/form_structure_unittest.cc section_names.insert(form_structure.field(i)->section()); form_structure 605 components/autofill/core/browser/form_structure_unittest.cc FormStructure form_structure(form); form_structure 606 components/autofill/core/browser/form_structure_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 609 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(6U, form_structure.field_count()); form_structure 610 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(2U, form_structure.autofill_count()); form_structure 616 components/autofill/core/browser/form_structure_unittest.cc section_names.insert(form_structure.field(i)->section()); form_structure 635 components/autofill/core/browser/form_structure_unittest.cc FormStructure form_structure(form); form_structure 636 components/autofill/core/browser/form_structure_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 639 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(2U, form_structure.field_count()); form_structure 640 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(2U, form_structure.autofill_count()); form_structure 646 components/autofill/core/browser/form_structure_unittest.cc section_names.insert(form_structure.field(i)->section()); form_structure 673 components/autofill/core/browser/form_structure_unittest.cc FormStructure form_structure(form); form_structure 674 components/autofill/core/browser/form_structure_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 677 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(4U, form_structure.field_count()); form_structure 678 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(4U, form_structure.autofill_count()); form_structure 683 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ASCIIToUTF16("one"), form_structure.field(0)->name); form_structure 684 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ASCIIToUTF16("two"), form_structure.field(3)->name); form_structure 685 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(form_structure.field(0)->section(), form_structure 686 components/autofill/core/browser/form_structure_unittest.cc form_structure.field(3)->section()); form_structure 690 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 738 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 739 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 740 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 741 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(10U, form_structure->field_count()); form_structure 742 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(9U, form_structure->autofill_count()); form_structure 745 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_FIRST, form_structure->field(0)->heuristic_type()); form_structure 747 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_LAST, form_structure->field(1)->heuristic_type()); form_structure 749 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(2)->heuristic_type()); form_structure 751 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(3)->heuristic_type()); form_structure 753 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_CITY, form_structure->field(4)->heuristic_type()); form_structure 755 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_STATE, form_structure->field(5)->heuristic_type()); form_structure 757 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_ZIP, form_structure->field(6)->heuristic_type()); form_structure 759 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_COUNTRY, form_structure->field(7)->heuristic_type()); form_structure 762 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(8)->heuristic_type()); form_structure 764 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(9)->heuristic_type()); form_structure 768 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 805 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 806 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 807 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 808 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(7U, form_structure->field_count()); form_structure 809 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(6U, form_structure->autofill_count()); form_structure 812 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(EMAIL_ADDRESS, form_structure->field(0)->heuristic_type()); form_structure 814 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_FULL, form_structure->field(1)->heuristic_type()); form_structure 816 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(COMPANY_NAME, form_structure->field(2)->heuristic_type()); form_structure 818 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(3)->heuristic_type()); form_structure 820 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_CITY, form_structure->field(4)->heuristic_type()); form_structure 822 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_ZIP, form_structure->field(5)->heuristic_type()); form_structure 824 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(6)->heuristic_type()); form_structure 831 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 871 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 872 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 873 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 874 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(8U, form_structure->field_count()); form_structure 875 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(7U, form_structure->autofill_count()); form_structure 878 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_FIRST, form_structure->field(0)->heuristic_type()); form_structure 880 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_LAST, form_structure->field(1)->heuristic_type()); form_structure 882 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(EMAIL_ADDRESS, form_structure->field(2)->heuristic_type()); form_structure 885 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(3)->heuristic_type()); form_structure 887 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(4)->heuristic_type()); form_structure 889 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(5)->heuristic_type()); form_structure 891 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_ZIP, form_structure->field(6)->heuristic_type()); form_structure 893 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(7)->heuristic_type()); form_structure 897 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 929 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 930 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 931 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 932 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(6U, form_structure->field_count()); form_structure 933 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(5U, form_structure->autofill_count()); form_structure 936 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NAME, form_structure->field(0)->heuristic_type()); form_structure 938 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NUMBER, form_structure->field(1)->heuristic_type()); form_structure 940 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_EXP_MONTH, form_structure->field(2)->heuristic_type()); form_structure 943 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(3)->heuristic_type()); form_structure 946 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(4)->heuristic_type()); form_structure 948 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(5)->heuristic_type()); form_structure 952 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 990 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 991 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 992 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 993 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(7U, form_structure->field_count()); form_structure 994 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(5U, form_structure->autofill_count()); form_structure 997 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NAME, form_structure->field(0)->heuristic_type()); form_structure 999 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(1)->heuristic_type()); form_structure 1001 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NUMBER, form_structure->field(2)->heuristic_type()); form_structure 1003 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_EXP_MONTH, form_structure->field(3)->heuristic_type()); form_structure 1006 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(4)->heuristic_type()); form_structure 1009 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(5)->heuristic_type()); form_structure 1011 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(6)->heuristic_type()); form_structure 1015 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 1038 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1039 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 1040 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 1041 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(4U, form_structure->field_count()); form_structure 1042 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(3U, form_structure->autofill_count()); form_structure 1045 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(0)->heuristic_type()); form_structure 1047 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(1)->heuristic_type()); form_structure 1049 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(2)->heuristic_type()); form_structure 1051 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_CITY, form_structure->field(3)->heuristic_type()); form_structure 1056 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 1079 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1080 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 1081 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(4U, form_structure->field_count()); form_structure 1082 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(2U, form_structure->autofill_count()); form_structure 1085 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(0)->heuristic_type()); form_structure 1087 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(1)->heuristic_type()); form_structure 1089 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(2)->heuristic_type()); form_structure 1091 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(3)->heuristic_type()); form_structure 1100 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 1123 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1124 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 1125 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 1126 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(4U, form_structure->field_count()); form_structure 1127 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(3U, form_structure->autofill_count()); form_structure 1130 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(0)->heuristic_type()); form_structure 1132 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(1)->heuristic_type()); form_structure 1134 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(2)->heuristic_type()); form_structure 1136 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_CITY, form_structure->field(3)->heuristic_type()); form_structure 1143 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 1162 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1163 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 1164 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 1165 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(3U, form_structure->field_count()); form_structure 1166 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(3U, form_structure->autofill_count()); form_structure 1169 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(0)->heuristic_type()); form_structure 1171 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(1)->heuristic_type()); form_structure 1173 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_CITY, form_structure->field(2)->heuristic_type()); form_structure 1177 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 1196 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1197 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 1198 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 1199 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(3U, form_structure->field_count()); form_structure 1200 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(3U, form_structure->autofill_count()); form_structure 1203 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(0)->heuristic_type()); form_structure 1205 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(1)->heuristic_type()); form_structure 1207 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_STATE, form_structure->field(2)->heuristic_type()); form_structure 1212 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 1263 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1264 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 1265 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 1266 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(11U, form_structure->field_count()); form_structure 1267 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(11U, form_structure->autofill_count()); form_structure 1269 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_FIRST, form_structure->field(0)->heuristic_type()); form_structure 1270 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_LAST, form_structure->field(1)->heuristic_type()); form_structure 1271 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(COMPANY_NAME, form_structure->field(2)->heuristic_type()); form_structure 1272 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(3)->heuristic_type()); form_structure 1273 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(4)->heuristic_type()); form_structure 1274 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_CITY, form_structure->field(5)->heuristic_type()); form_structure 1275 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_STATE, form_structure->field(6)->heuristic_type()); form_structure 1276 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_COUNTRY, form_structure->field(7)->heuristic_type()); form_structure 1277 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_ZIP, form_structure->field(8)->heuristic_type()); form_structure 1279 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(9)->heuristic_type()); form_structure 1280 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(EMAIL_ADDRESS, form_structure->field(10)->heuristic_type()); form_structure 1284 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 1313 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1314 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 1315 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 1316 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(4U, form_structure->field_count()); form_structure 1317 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(3U, form_structure->autofill_count()); form_structure 1320 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(PHONE_HOME_CITY_CODE, form_structure->field(0)->heuristic_type()); form_structure 1323 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(1)->heuristic_type()); form_structure 1326 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(2)->heuristic_type()); form_structure 1328 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(3)->heuristic_type()); form_structure 1332 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 1359 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1360 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 1361 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 1364 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(5U, form_structure->field_count()); form_structure 1365 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(5U, form_structure->autofill_count()); form_structure 1368 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NAME, form_structure->field(0)->heuristic_type()); form_structure 1370 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(1)->heuristic_type()); form_structure 1372 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NUMBER, form_structure->field(2)->heuristic_type()); form_structure 1374 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_EXP_MONTH, form_structure->field(3)->heuristic_type()); form_structure 1377 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(4)->heuristic_type()); form_structure 1381 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 1412 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1413 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 1414 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->IsAutofillable(true)); form_structure 1417 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(6U, form_structure->field_count()); form_structure 1418 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(5U, form_structure->autofill_count()); form_structure 1421 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NUMBER, form_structure->field(0)->heuristic_type()); form_structure 1423 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NAME, form_structure->field(1)->heuristic_type()); form_structure 1425 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(2)->heuristic_type()); form_structure 1427 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_EXP_MONTH, form_structure->field(3)->heuristic_type()); form_structure 1430 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(4)->heuristic_type()); form_structure 1433 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(5)->heuristic_type()); form_structure 1571 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 1575 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1576 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 1623 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1625 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(form_structure->field_count(), possible_field_types.size()); form_structure 1626 components/autofill/core/browser/form_structure_unittest.cc for (size_t i = 0; i < form_structure->field_count(); ++i) form_structure 1627 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(i)->set_possible_types(possible_field_types[i]); form_structure 1641 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->EncodeUploadRequest(available_field_types, false, form_structure 1654 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->EncodeUploadRequest(available_field_types, true, form_structure 1681 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1682 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(form_structure->field_count(), possible_field_types.size()); form_structure 1683 components/autofill/core/browser/form_structure_unittest.cc for (size_t i = 0; i < form_structure->field_count(); ++i) form_structure 1684 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(i)->set_possible_types(possible_field_types[i]); form_structure 1686 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->EncodeUploadRequest(available_field_types, false, form_structure 1720 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1721 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(form_structure->field_count(), possible_field_types.size()); form_structure 1722 components/autofill/core/browser/form_structure_unittest.cc for (size_t i = 0; i < form_structure->field_count(); ++i) form_structure 1723 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(i)->set_possible_types(possible_field_types[i]); form_structure 1724 components/autofill/core/browser/form_structure_unittest.cc EXPECT_FALSE(form_structure->EncodeUploadRequest(available_field_types, false, form_structure 1729 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 1733 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1734 components/autofill/core/browser/form_structure_unittest.cc form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 1781 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1783 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(form_structure->field_count(), possible_field_types.size()); form_structure 1784 components/autofill/core/browser/form_structure_unittest.cc for (size_t i = 0; i < form_structure->field_count(); ++i) form_structure 1785 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(i)->set_possible_types(possible_field_types[i]); form_structure 1799 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->EncodeFieldAssignments( form_structure 1826 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 1827 components/autofill/core/browser/form_structure_unittest.cc ASSERT_EQ(form_structure->field_count(), possible_field_types.size()); form_structure 1828 components/autofill/core/browser/form_structure_unittest.cc for (size_t i = 0; i < form_structure->field_count(); ++i) form_structure 1829 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(i)->set_possible_types(possible_field_types[i]); form_structure 1831 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->EncodeFieldAssignments( form_structure 1875 components/autofill/core/browser/form_structure_unittest.cc FormStructure form_structure(form); form_structure 1879 components/autofill/core/browser/form_structure_unittest.cc for (size_t i = 0; i < form_structure.field_count(); ++i) form_structure 1880 components/autofill/core/browser/form_structure_unittest.cc form_structure.field(i)->set_possible_types(unknown_type); form_structure 1888 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure.EncodeUploadRequest(available_field_types, false, form_structure 1918 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure.EncodeUploadRequest(available_field_types, false, form_structure 1972 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure.EncodeUploadRequest(available_field_types, false, form_structure 2004 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure.EncodeUploadRequest(available_field_types, false, form_structure 2072 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure.EncodeUploadRequest(available_field_types, false, form_structure 2109 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 2141 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 2143 components/autofill/core/browser/form_structure_unittest.cc for (size_t i = 0; i < form_structure->field_count(); ++i) form_structure 2144 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(i)->set_possible_types(possible_field_types[i]); form_structure 2148 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->EncodeUploadRequest(available_field_types, false, form_structure 2162 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(2)->set_possible_types(possible_field_types[2]); form_structure 2163 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->EncodeUploadRequest(available_field_types, false, form_structure 2177 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(form_structure->field_count() - 1)->set_possible_types( form_structure 2178 components/autofill/core/browser/form_structure_unittest.cc possible_field_types[form_structure->field_count() - 1]); form_structure 2179 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->EncodeUploadRequest(available_field_types, false, form_structure 2196 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(form_structure->field_count() - 1)->set_possible_types( form_structure 2197 components/autofill/core/browser/form_structure_unittest.cc possible_field_types[form_structure->field_count() - 1]); form_structure 2198 components/autofill/core/browser/form_structure_unittest.cc EXPECT_TRUE(form_structure->EncodeUploadRequest(available_field_types, false, form_structure 2216 components/autofill/core/browser/form_structure_unittest.cc scoped_ptr<FormStructure> form_structure; form_structure 2238 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 2242 components/autofill/core/browser/form_structure_unittest.cc form_structure->FormSignature()); form_structure 2245 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 2248 components/autofill/core/browser/form_structure_unittest.cc form_structure->FormSignature()); form_structure 2251 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 2254 components/autofill/core/browser/form_structure_unittest.cc form_structure->FormSignature()); form_structure 2257 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 2260 components/autofill/core/browser/form_structure_unittest.cc form_structure->FormSignature()); form_structure 2276 components/autofill/core/browser/form_structure_unittest.cc form_structure.reset(new FormStructure(form)); form_structure 2280 components/autofill/core/browser/form_structure_unittest.cc form_structure->FormSignature()); form_structure 2373 components/autofill/core/browser/form_structure_unittest.cc FormStructure form_structure(form_data); form_structure 2376 components/autofill/core/browser/form_structure_unittest.cc form_structure.ParseFieldTypesFromAutocompleteAttributes(&unused, &unused); form_structure 2380 components/autofill/core/browser/form_structure_unittest.cc form_structure.PossibleValues(ADDRESS_BILLING_COUNTRY); form_structure 2391 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(0U, form_structure.PossibleValues(ADDRESS_HOME_COUNTRY).size()); form_structure 589 components/autofill/core/browser/personal_data_manager_unittest.cc FormStructure form_structure(form); form_structure 590 components/autofill/core/browser/personal_data_manager_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 592 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_TRUE(personal_data_->ImportFormData(form_structure, form_structure 630 components/autofill/core/browser/personal_data_manager_unittest.cc FormStructure form_structure(form); form_structure 631 components/autofill/core/browser/personal_data_manager_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 633 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_FALSE(personal_data_->ImportFormData(form_structure, form_structure 663 components/autofill/core/browser/personal_data_manager_unittest.cc FormStructure form_structure(form); form_structure 664 components/autofill/core/browser/personal_data_manager_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 666 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_TRUE(personal_data_->ImportFormData(form_structure, form_structure 694 components/autofill/core/browser/personal_data_manager_unittest.cc FormStructure form_structure(form); form_structure 695 components/autofill/core/browser/personal_data_manager_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 697 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_FALSE(personal_data_->ImportFormData(form_structure, form_structure 715 components/autofill/core/browser/personal_data_manager_unittest.cc FormStructure form_structure(form); form_structure 716 components/autofill/core/browser/personal_data_manager_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 718 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_FALSE(personal_data_->ImportFormData(form_structure, form_structure 746 components/autofill/core/browser/personal_data_manager_unittest.cc FormStructure form_structure(form); form_structure 747 components/autofill/core/browser/personal_data_manager_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 749 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_TRUE(personal_data_->ImportFormData(form_structure, form_structure 773 components/autofill/core/browser/personal_data_manager_unittest.cc FormStructure form_structure(form); form_structure 774 components/autofill/core/browser/personal_data_manager_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 776 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_TRUE(personal_data_->ImportFormData(form_structure, form_structure 795 components/autofill/core/browser/personal_data_manager_unittest.cc FormStructure form_structure(form); form_structure 796 components/autofill/core/browser/personal_data_manager_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 798 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_TRUE(personal_data_->ImportFormData(form_structure, form_structure 834 components/autofill/core/browser/personal_data_manager_unittest.cc FormStructure form_structure(form); form_structure 835 components/autofill/core/browser/personal_data_manager_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 837 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_TRUE(personal_data_->ImportFormData(form_structure, form_structure 881 components/autofill/core/browser/personal_data_manager_unittest.cc FormStructure form_structure(form); form_structure 882 components/autofill/core/browser/personal_data_manager_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 884 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_TRUE(personal_data_->ImportFormData(form_structure, form_structure 1454 components/autofill/core/browser/personal_data_manager_unittest.cc FormStructure form_structure(form); form_structure 1455 components/autofill/core/browser/personal_data_manager_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 1457 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_TRUE(personal_data_->ImportFormData(form_structure, form_structure 1868 components/autofill/core/browser/personal_data_manager_unittest.cc FormStructure form_structure(form); form_structure 1869 components/autofill/core/browser/personal_data_manager_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 1871 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_TRUE(personal_data_->ImportFormData(form_structure, form_structure 1923 components/autofill/core/browser/personal_data_manager_unittest.cc FormStructure form_structure(form); form_structure 1924 components/autofill/core/browser/personal_data_manager_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 1926 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_TRUE(personal_data_->ImportFormData(form_structure, form_structure 1981 components/autofill/core/browser/personal_data_manager_unittest.cc FormStructure form_structure(form); form_structure 1982 components/autofill/core/browser/personal_data_manager_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 1984 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_TRUE(personal_data_->ImportFormData(form_structure, form_structure 2031 components/autofill/core/browser/personal_data_manager_unittest.cc FormStructure form_structure(form); form_structure 2032 components/autofill/core/browser/personal_data_manager_unittest.cc form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); form_structure 2034 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_TRUE(personal_data_->ImportFormData(form_structure,