HomeSort by relevance Sort by last modified time
    Searched defs:form_structure (Results 1 - 14 of 14) sorted by null

  /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_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_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_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_manager_unittest.cc 2010 TestFormStructure* form_structure = new TestFormStructure(form); local
    [all...]
  /external/chromium_org/components/autofill/core/browser/
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 = new FormStructure(form, std::string())
    [all...]
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->autofill_count())
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...]
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_|.
    [all...]
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,
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) {
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 = NULL local
421 FormStructure* form_structure = NULL; local
500 FormStructure* form_structure = NULL; local
    [all...]
autofill_manager_unittest.cc 2647 TestFormStructure* form_structure = new TestFormStructure(form); local
3162 TestFormStructure* form_structure = new TestFormStructure(form); local
3192 TestFormStructure* form_structure = new TestFormStructure(form); local
    [all...]
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->fields_.begin()
    [all...]
  /external/chromium_org/components/autofill/content/browser/
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);
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->field(1)->set_default_value("female")
265 scoped_ptr<FormStructure> form_structure; local
    [all...]
  /external/chromium_org/chrome/browser/ui/autofill/
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::__anon8424::AutofillDialogControllerTest
476 void FinishedCallback(const FormStructure* form_structure,
478 form_structure_ = form_structure;
    [all...]

Completed in 481 milliseconds