/external/chromium_org/chrome/browser/ui/autofill/ |
H A D | autofill_dialog_controller.cc | 16 const FormData& form_structure, 14 Create( content::WebContents* contents, const FormData& form_structure, const GURL& source_url, const DialogType dialog_type, const base::Callback<void(const FormStructure*, const std::string&)>& callback) argument
|
H A D | autofill_dialog_controller_unittest.cc | 192 const FormData& form_structure, 200 form_structure, 465 const FormStructure* form_structure() { return form_structure_; } function in class:autofill::__anon6018::AutofillDialogControllerTest 476 void FinishedCallback(const FormStructure* form_structure, argument 478 form_structure_ = form_structure; 1027 ASSERT_EQ(20U, form_structure()->field_count()); 1029 form_structure()->field(9)->Type().GetStorableType()); 1030 EXPECT_EQ(ADDRESS_BILLING, form_structure()->field(9)->Type().group()); 1032 form_structure()->field(16)->Type().GetStorableType()); 1033 EXPECT_EQ(ADDRESS_HOME, form_structure() 190 TestAutofillDialogController( content::WebContents* contents, const FormData& form_structure, const GURL& source_url, const AutofillMetrics& metric_logger, const DialogType dialog_type, const base::Callback<void(const FormStructure*, const std::string&)>& callback, MockNewCreditCardBubbleController* mock_new_card_bubble_controller) argument [all...] |
H A D | autofill_dialog_controller_impl.cc | 437 const FormData& form_structure, 445 form_structure, 475 const FormData& form_structure, 481 form_structure, 2309 const FormData& form_structure, 2318 form_structure_(form_structure, std::string()), 2344 // TODO(estade): remove duplicates from |form_structure|? 435 Create( content::WebContents* contents, const FormData& form_structure, const GURL& source_url, const DialogType dialog_type, const base::Callback<void(const FormStructure*, const std::string&)>& callback) argument 473 Create( content::WebContents* contents, const FormData& form_structure, const GURL& source_url, const DialogType dialog_type, const base::Callback<void(const FormStructure*, const std::string&)>& callback) argument 2307 AutofillDialogControllerImpl( content::WebContents* contents, const FormData& form_structure, const GURL& source_url, const DialogType dialog_type, const base::Callback<void(const FormStructure*, const std::string&)>& callback) argument
|
/external/chromium/chrome/browser/autofill/ |
H A D | form_structure_unittest.cc | 8 #include "chrome/browser/autofill/form_structure.h" 72 FormStructure form_structure(form); 75 EXPECT_EQ(3U, form_structure.field_count()); 105 FormStructure form_structure(form); 106 form_structure.DetermineHeuristicTypes(); 109 EXPECT_EQ(1U, form_structure.autofill_count()); 116 FormStructure form_structure(form); 118 EXPECT_EQ(form.origin, form_structure.source_url()); 122 scoped_ptr<FormStructure> form_structure; local 145 form_structure 200 scoped_ptr<FormStructure> form_structure; local 288 scoped_ptr<FormStructure> form_structure; local 393 scoped_ptr<FormStructure> form_structure; local 474 scoped_ptr<FormStructure> form_structure; local 560 scoped_ptr<FormStructure> form_structure; local 622 scoped_ptr<FormStructure> form_structure; local 694 scoped_ptr<FormStructure> form_structure; local 745 scoped_ptr<FormStructure> form_structure; local 800 scoped_ptr<FormStructure> form_structure; local 852 scoped_ptr<FormStructure> form_structure; local 892 scoped_ptr<FormStructure> form_structure; local 933 scoped_ptr<FormStructure> form_structure; local 1036 scoped_ptr<FormStructure> form_structure; local 1089 scoped_ptr<FormStructure> form_structure; local 1144 scoped_ptr<FormStructure> form_structure; local 1327 scoped_ptr<FormStructure> form_structure; local 1480 scoped_ptr<FormStructure> form_structure; local 1559 scoped_ptr<FormStructure> form_structure; local 1682 scoped_ptr<FormStructure> form_structure; local [all...] |
H A D | autofill_download_unittest.cc | 13 #include "chrome/browser/autofill/form_structure.h" 171 FormStructure *form_structure = new FormStructure(form); local 173 form_structures.push_back(form_structure); 200 form_structure = new FormStructure(form); 201 form_structures.push_back(form_structure); 305 form_structure = new FormStructure(form); 306 form_structures.push_back(form_structure); 390 FormStructure *form_structure = new FormStructure(form); local 392 form_structures0.push_back(form_structure); 401 form_structure [all...] |
H A D | autofill_metrics_unittest.cc | 263 // |form_structure| will be owned by |autofill_manager_|. 264 TestFormStructure* form_structure = new TestFormStructure(form); local 265 form_structure->SetFieldTypes(heuristic_types, server_types); 266 autofill_manager_->AddSeenForm(form_structure); 429 // |form_structure| will be owned by |autofill_manager_|. 430 TestFormStructure* form_structure = new TestFormStructure(form); local 431 form_structure->SetFieldTypes(heuristic_types, server_types); 432 autofill_manager_->AddSeenForm(form_structure); 489 // |form_structure| will be owned by |autofill_manager_|. 490 TestFormStructure* form_structure local 673 TestFormStructure* form_structure = new TestFormStructure(form); local 787 TestFormStructure* form_structure = new TestFormStructure(form); local [all...] |
H A D | autofill_manager.cc | 27 #include "chrome/browser/autofill/form_structure.h" 183 // Precondition: |form_structure| and |form| should correspond to the same 186 // |form_structure| with indices in the range [section_start, section_end). 187 bool SectionIsAutofilled(const FormStructure* form_structure, argument 195 // The list of fields in |form_structure| and |form.fields| often match 197 // |form_structure| and |form.fields| do not match directly we search 198 // ahead in the |form_structure| for the matching field. 204 // Search forward in the |form_structure| for a corresponding field. 205 while (k < form_structure->field_count() && 206 *form_structure 380 FormStructure* form_structure = NULL; local 488 FormStructure* form_structure = NULL; local 804 FindCachedFormAndField(const FormData& form, const FormField& field, FormStructure** form_structure, AutofillField** autofill_field) argument [all...] |
H A D | autofill_manager_unittest.cc | 2009 // |form_structure| will be owned by |autofill_manager_|. 2010 TestFormStructure* form_structure = new TestFormStructure(form); local 2011 form_structure->DetermineHeuristicTypes(); 2017 server_types.push_back(form_structure->field(i)->type()); 2019 form_structure->SetFieldTypes(heuristic_types, server_types); 2020 autofill_manager_->AddSeenForm(form_structure);
|
/external/chromium_org/components/autofill/core/browser/ |
H A D | autofill_download_unittest.cc | 16 #include "components/autofill/core/browser/form_structure.h" 167 FormStructure *form_structure = new FormStructure(form, std::string()); local 169 form_structures.push_back(form_structure); 193 form_structure = new FormStructure(form, std::string()); 194 form_structures.push_back(form_structure); 286 form_structure = new FormStructure(form, std::string()); 287 form_structures.push_back(form_structure); 357 FormStructure *form_structure = new FormStructure(form, std::string()); local 359 form_structures0.push_back(form_structure); 365 form_structure [all...] |
H A D | form_structure_unittest.cc | 5 #include "components/autofill/core/browser/form_structure.h" 67 scoped_ptr<FormStructure> form_structure; local 95 form_structure.reset(new FormStructure(form, std::string())); 96 EXPECT_EQ(4U, form_structure->field_count()); 99 form_structure.reset(new FormStructure(form, "http://fake_url")); 100 EXPECT_EQ(4U, form_structure->field_count()); 104 scoped_ptr<FormStructure> form_structure; local 130 form_structure.reset(new FormStructure(form, std::string())); 131 form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); 132 EXPECT_EQ(1U, form_structure 165 scoped_ptr<FormStructure> form_structure; local 250 scoped_ptr<FormStructure> form_structure; local 346 scoped_ptr<FormStructure> form_structure; local 415 scoped_ptr<FormStructure> form_structure; local 456 scoped_ptr<FormStructure> form_structure; local 499 scoped_ptr<FormStructure> form_structure; local 737 scoped_ptr<FormStructure> form_structure; local 816 scoped_ptr<FormStructure> form_structure; local 879 scoped_ptr<FormStructure> form_structure; local 945 scoped_ptr<FormStructure> form_structure; local 1000 scoped_ptr<FormStructure> form_structure; local 1063 scoped_ptr<FormStructure> form_structure; local 1105 scoped_ptr<FormStructure> form_structure; local 1146 scoped_ptr<FormStructure> form_structure; local 1190 scoped_ptr<FormStructure> form_structure; local 1233 scoped_ptr<FormStructure> form_structure; local 1267 scoped_ptr<FormStructure> form_structure; local 1302 scoped_ptr<FormStructure> form_structure; local 1375 scoped_ptr<FormStructure> form_structure; local 1423 scoped_ptr<FormStructure> form_structure; local 1472 scoped_ptr<FormStructure> form_structure; local 1672 scoped_ptr<FormStructure> form_structure; local 1830 scoped_ptr<FormStructure> form_structure; local 2210 scoped_ptr<FormStructure> form_structure; local 2317 scoped_ptr<FormStructure> form_structure; local [all...] |
H A D | autofill_metrics_unittest.cc | 223 // |form_structure| will be owned by |form_structures()|. 224 TestFormStructure* form_structure = new TestFormStructure(empty_form); local 225 form_structure->SetFieldTypes(heuristic_types, server_types); 226 form_structure->set_server_experiment_id(experiment_id); 227 form_structures()->push_back(form_structure); 565 // |form_structure| will be owned by |autofill_manager_|. 633 // |form_structure| will be owned by |autofill_manager_|. 919 // |form_structure| will be owned by |autofill_manager_|. 1046 // |form_structure| will be owned by |autofill_manager_|.
|
H A D | autofill_manager.cc | 36 #include "components/autofill/core/browser/form_structure.h" 114 // Precondition: |form_structure| and |form| should correspond to the same 117 bool SectionIsAutofilled(const FormStructure& form_structure, argument 120 DCHECK_EQ(form_structure.field_count(), form.fields.size()); 121 for (size_t i = 0; i < form_structure.field_count(); ++i) { 122 if (form_structure.field(i)->section() == section && 172 bool HasServerSpecifiedFieldTypes(const FormStructure& form_structure) { argument 173 for (size_t i = 0; i < form_structure.field_count(); ++i) { 174 if (form_structure.field(i)->server_type() != NO_SERVER_DATA) 375 FormStructure* form_structure local 421 FormStructure* form_structure = NULL; local 500 FormStructure* form_structure = NULL; local 978 GetCachedFormAndField(const FormData& form, const FormFieldData& field, FormStructure** form_structure, AutofillField** autofill_field) argument [all...] |
H A D | form_structure.cc | 5 #include "components/autofill/core/browser/form_structure.h" 453 // To enable this logging, run with the flag --vmodule="form_structure=2". 648 FormStructure* form_structure = form_structures[i]; local 650 form.data.name = form_structure->form_name_; 652 ASCIIToUTF16((form_structure->method_ == POST) ? "POST" : "GET"); 653 form.data.origin = form_structure->source_url_; 654 form.data.action = form_structure->target_url_; 655 form.signature = form_structure->FormSignature(); 656 form.experiment_id = form_structure->server_experiment_id_; 659 form_structure [all...] |
H A D | autofill_manager_unittest.cc | 2646 // |form_structure| will be owned by |autofill_manager_|. 2647 TestFormStructure* form_structure = new TestFormStructure(form); local 2649 form_structure->DetermineHeuristicTypes(metrics_logger); 2655 server_types.push_back(form_structure->field(i)->heuristic_type()); 2657 form_structure->SetFieldTypes(heuristic_types, server_types); 2658 autofill_manager_->AddSeenForm(form_structure); 3162 TestFormStructure* form_structure = new TestFormStructure(form); local 3164 form_structure->DetermineHeuristicTypes(metrics_logger); 3170 server_types.push_back(form_structure->field(i)->heuristic_type()); 3172 form_structure 3192 TestFormStructure* form_structure = new TestFormStructure(form); local [all...] |
/external/chromium_org/components/autofill/content/browser/ |
H A D | autocheckout_manager.cc | 20 #include "components/autofill/core/browser/form_structure.h" 177 FormStructure* form_structure = *iter; local 178 form_structure->set_filled_by_autocheckout(true); 179 FormData form = form_structure->ToFormData(); 180 DCHECK_EQ(form_structure->field_count(), form.fields.size()); 182 for (size_t i = 0; i < form_structure->field_count(); ++i) { 183 const AutofillField* field = form_structure->field(i);
|
H A D | autocheckout_manager_unittest.cc | 14 #include "components/autofill/core/browser/form_structure.h" 72 scoped_ptr<FormStructure> form_structure( 77 form_structure->field(i)->set_server_type(autofill_types[i]); 80 form_structure->field(i)->set_heuristic_type(CREDIT_CARD_NUMBER); 83 return form_structure.Pass(); 134 scoped_ptr<FormStructure> form_structure( 138 form_structure->field(0)->set_server_type(FIELD_WITH_DEFAULT_VALUE); 139 form_structure->field(0)->set_default_value("female"); 140 form_structure->field(1)->set_server_type(FIELD_WITH_DEFAULT_VALUE); 141 form_structure 265 scoped_ptr<FormStructure> form_structure; local 374 SetFormStructure(scoped_ptr<FormStructure> form_structure) argument [all...] |
/external/chromium_org/chrome/browser/ui/android/autofill/ |
H A D | autofill_dialog_controller_android.cc | 82 FormStructure& form_structure, wallet::FullWallet* full_wallet, 90 profile_wrapper.FillFormStructure(inputs, compare, &form_structure); 96 wrapper->FillFormStructure(inputs, compare, &form_structure); 101 FormStructure& form_structure, 110 form_structure, full_wallet, email_address); 119 const FormData& form_structure, 127 form_structure, 146 const FormData& form_structure, 152 form_structure, 424 const FormData& form_structure, 79 FillOutputForSectionWithComparator( DialogSection section, const DetailInputs& inputs, const InputFieldComparator& compare, FormStructure& form_structure, wallet::FullWallet* full_wallet, const base::string16& email_address) argument 99 FillOutputForSection( DialogSection section, FormStructure& form_structure, wallet::FullWallet* full_wallet, const base::string16& email_address) argument 117 Create( content::WebContents* contents, const FormData& form_structure, const GURL& source_url, const DialogType dialog_type, const base::Callback<void(const FormStructure*, const std::string&)>& callback) argument 144 Create( content::WebContents* contents, const FormData& form_structure, const GURL& source_url, const DialogType dialog_type, const base::Callback<void(const FormStructure*, const std::string&)>& callback) argument 422 AutofillDialogControllerAndroid( content::WebContents* contents, const FormData& form_structure, const GURL& source_url, const DialogType dialog_type, const base::Callback<void(const FormStructure*, const std::string&)>& callback) argument [all...] |