HomeSort by relevance Sort by last modified time
    Searched refs:form_structure (Results 1 - 25 of 35) sorted by null

1 2

  /external/chromium/chrome/browser/autofill/
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.reset(new FormStructure(form))
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...]
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,
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->field(k) != form.fields[j])
380 FormStructure* form_structure = NULL; local
488 FormStructure* form_structure = NULL; local
    [all...]
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 = new TestFormStructure(form) local
673 TestFormStructure* form_structure = new TestFormStructure(form); local
787 TestFormStructure* form_structure = new TestFormStructure(form); local
    [all...]
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 = new FormStructure(form)
    [all...]
autofill_merge_unittest.cc 14 #include "chrome/browser/autofill/form_structure.h"
192 FormStructure form_structure(form);
193 for (size_t i = 0; i < form_structure.field_count(); ++i) {
197 const_cast<AutofillField*>(form_structure.field(i));
202 std::vector<const FormStructure*> form_structures(1, &form_structure);
autofill_manager.h 25 #include "chrome/browser/autofill/form_structure.h"
182 // Fills |form_structure| cached element corresponding to |form|.
185 FormStructure** form_structure) const WARN_UNUSED_RESULT;
187 // Fills |form_structure| and |autofill_field| with the cached elements
193 FormStructure** form_structure,
personal_data_manager_unittest.cc 14 #include "chrome/browser/autofill/form_structure.h"
544 FormStructure form_structure(form);
545 form_structure.DetermineHeuristicTypes();
547 forms.push_back(&form_structure);
591 FormStructure form_structure(form);
592 form_structure.DetermineHeuristicTypes();
594 forms.push_back(&form_structure);
621 FormStructure form_structure(form);
622 form_structure.DetermineHeuristicTypes();
624 forms.push_back(&form_structure);
    [all...]
  /external/chromium_org/components/autofill/core/browser/
form_structure_unittest.cc 5 #include "components/autofill/core/browser/form_structure.h"
66 scoped_ptr<FormStructure> form_structure; local
94 form_structure.reset(new FormStructure(form));
95 EXPECT_EQ(4U, form_structure->field_count());
99 scoped_ptr<FormStructure> form_structure; local
125 form_structure.reset(new FormStructure(form));
126 form_structure->DetermineHeuristicTypes(TestAutofillMetrics());
127 EXPECT_EQ(1U, form_structure->autofill_count());
136 form_structure.reset(new FormStructure(form));
137 form_structure->DetermineHeuristicTypes(TestAutofillMetrics())
155 scoped_ptr<FormStructure> form_structure; local
230 scoped_ptr<FormStructure> form_structure; local
317 scoped_ptr<FormStructure> form_structure; local
386 scoped_ptr<FormStructure> form_structure; local
427 scoped_ptr<FormStructure> form_structure; local
470 scoped_ptr<FormStructure> form_structure; local
694 scoped_ptr<FormStructure> form_structure; local
772 scoped_ptr<FormStructure> form_structure; local
835 scoped_ptr<FormStructure> form_structure; local
901 scoped_ptr<FormStructure> form_structure; local
956 scoped_ptr<FormStructure> form_structure; local
1019 scoped_ptr<FormStructure> form_structure; local
1060 scoped_ptr<FormStructure> form_structure; local
1104 scoped_ptr<FormStructure> form_structure; local
1147 scoped_ptr<FormStructure> form_structure; local
1181 scoped_ptr<FormStructure> form_structure; local
1216 scoped_ptr<FormStructure> form_structure; local
1288 scoped_ptr<FormStructure> form_structure; local
1336 scoped_ptr<FormStructure> form_structure; local
1385 scoped_ptr<FormStructure> form_structure; local
1560 scoped_ptr<FormStructure> form_structure; local
1718 scoped_ptr<FormStructure> form_structure; local
2098 scoped_ptr<FormStructure> form_structure; local
2205 scoped_ptr<FormStructure> form_structure; local
    [all...]
autofill_manager.cc 34 #include "components/autofill/core/browser/form_structure.h"
102 // Precondition: |form_structure| and |form| should correspond to the same
105 bool SectionIsAutofilled(const FormStructure& form_structure,
108 DCHECK_EQ(form_structure.field_count(), form.fields.size());
109 for (size_t i = 0; i < form_structure.field_count(); ++i) {
110 if (form_structure.field(i)->section() == section &&
328 FormStructure* form_structure = NULL; local
330 if (!GetCachedFormAndField(form, field, &form_structure, &autofill_field))
368 FormStructure* form_structure = NULL; local
372 GetCachedFormAndField(form, field, &form_structure, &autofill_field) &
447 FormStructure* form_structure = NULL; local
    [all...]
autofill_download_unittest.cc 16 #include "components/autofill/core/browser/form_structure.h"
170 FormStructure *form_structure = new FormStructure(form); local
172 form_structures.push_back(form_structure);
196 form_structure = new FormStructure(form);
197 form_structures.push_back(form_structure);
289 form_structure = new FormStructure(form);
290 form_structures.push_back(form_structure);
360 FormStructure *form_structure = new FormStructure(form); local
362 form_structures0.push_back(form_structure);
368 form_structure = new FormStructure(form)
    [all...]
autofill_merge_unittest.cc 16 #include "components/autofill/core/browser/form_structure.h"
220 FormStructure form_structure(form);
221 for (size_t i = 0; i < form_structure.field_count(); ++i) {
225 const_cast<AutofillField*>(form_structure.field(i));
232 personal_data_.ImportFormData(form_structure, &imported_credit_card);
personal_data_manager_unittest.cc 17 #include "components/autofill/core/browser/form_structure.h"
616 FormStructure form_structure(form);
617 form_structure.DetermineHeuristicTypes(TestAutofillMetrics());
619 EXPECT_TRUE(personal_data_->ImportFormData(form_structure,
657 FormStructure form_structure(form);
658 form_structure.DetermineHeuristicTypes(TestAutofillMetrics());
660 EXPECT_FALSE(personal_data_->ImportFormData(form_structure,
690 FormStructure form_structure(form);
691 form_structure.DetermineHeuristicTypes(TestAutofillMetrics());
693 EXPECT_TRUE(personal_data_->ImportFormData(form_structure,
    [all...]
form_structure.cc 5 #include "components/autofill/core/browser/form_structure.h"
446 // To enable this logging, run with the flag --vmodule="form_structure=2".
613 FormStructure* form_structure = form_structures[i]; local
615 form.data.name = form_structure->form_name_;
617 ASCIIToUTF16((form_structure->method_ == POST) ? "POST" : "GET");
618 form.data.origin = form_structure->source_url_;
619 form.data.action = form_structure->target_url_;
620 form.signature = form_structure->FormSignature();
621 form.experiment_id = form_structure->server_experiment_id_;
624 form_structure->fields_.begin()
    [all...]
autofill_manager.h 25 #include "components/autofill/core/browser/form_structure.h"
224 // Fills |form_structure| cached element corresponding to |form|.
227 FormStructure** form_structure) const WARN_UNUSED_RESULT;
229 // Fills |form_structure| and |autofill_field| with the cached elements
235 FormStructure** form_structure,
autofill_metrics_unittest.cc 217 // |form_structure| will be owned by |form_structures()|.
218 TestFormStructure* form_structure = new TestFormStructure(empty_form); local
219 form_structure->SetFieldTypes(heuristic_types, server_types);
220 form_structure->set_server_experiment_id(experiment_id);
221 form_structures()->push_back(form_structure);
558 // |form_structure| will be owned by |autofill_manager_|.
626 // |form_structure| will be owned by |autofill_manager_|.
    [all...]
  /external/chromium_org/chrome/browser/ui/autofill/
autofill_dialog_controller.cc 16 const FormData& form_structure,
autofill_dialog_controller.h 14 #include "components/autofill/core/browser/form_structure.h"
37 const FormData& form_structure,
autofill_dialog_controller_unittest.cc 228 const FormData& form_structure,
234 form_structure,
553 const FormStructure* form_structure() { return form_structure_; } function in class:autofill::__anon8656::AutofillDialogControllerTest
564 void FinishedCallback(const FormStructure* form_structure) {
565 form_structure_ = form_structure;
    [all...]
data_model_wrapper.cc 21 #include "components/autofill/core/browser/form_structure.h"
61 FormStructure* form_structure) const {
63 for (size_t i = 0; i < form_structure->field_count(); ++i) {
64 AutofillField* field = form_structure->field(i);
data_model_wrapper.h 63 // Fills in |form_structure| with the data that this model contains. |inputs|
66 // in |form_structure| were found to be matching.
70 FormStructure* form_structure) const;
autofill_dialog_controller_impl.h 31 #include "components/autofill/core/browser/form_structure.h"
85 const FormData& form_structure,
237 const FormData& form_structure,
403 // Returns whether |form_structure|_| has any fields that match the fieldset
    [all...]
  /external/chromium_org/chrome/browser/ui/android/autofill/
autofill_dialog_controller_android.cc 82 FormStructure& form_structure, wallet::FullWallet* full_wallet,
86 wrapper->FillFormStructure(inputs, compare, &form_structure);
91 FormStructure& form_structure,
100 form_structure, full_wallet, email_address);
104 for (size_t i = 0; i < form_structure.field_count(); ++i) {
105 AutofillField* field = form_structure.field(i);
112 // Returns true if |input_type| in |section| is needed for |form_structure|.
115 const FormStructure& form_structure) {
117 for (size_t i = 0; i < form_structure.field_count(); ++i) {
118 const AutofillField* field = form_structure.field(i)
    [all...]
autofill_dialog_controller_android.h 27 const FormData& form_structure,
55 const FormData& form_structure,
  /external/chromium_org/components/autofill/content/browser/
request_autocomplete_manager_unittest.cc 53 FormStructure form_structure(form);
54 callback.Run(&form_structure);
autofill_driver_impl_unittest.cc 219 FormStructure form_structure(form);
220 std::vector<FormStructure*> forms(1, &form_structure);
231 FormStructure form_structure(form);
232 std::vector<FormStructure*> forms(1, &form_structure);

Completed in 4512 milliseconds

1 2