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

1 2

  /external/chromium_org/components/autofill/core/browser/
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_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_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...]
autofill_merge_unittest.cc 16 #include "components/autofill/core/browser/form_structure.h"
216 FormStructure form_structure(form, std::string());
217 for (size_t i = 0; i < form_structure.field_count(); ++i) {
221 const_cast<AutofillField*>(form_structure.field(i));
228 personal_data_.ImportFormData(form_structure, &imported_credit_card);
personal_data_manager_unittest.cc 17 #include "components/autofill/core/browser/form_structure.h"
597 FormStructure form_structure(form, std::string());
598 form_structure.DetermineHeuristicTypes(TestAutofillMetrics());
600 EXPECT_TRUE(personal_data_->ImportFormData(form_structure,
638 FormStructure form_structure(form, std::string());
639 form_structure.DetermineHeuristicTypes(TestAutofillMetrics());
641 EXPECT_FALSE(personal_data_->ImportFormData(form_structure,
671 FormStructure form_structure(form, std::string());
672 form_structure.DetermineHeuristicTypes(TestAutofillMetrics());
674 EXPECT_TRUE(personal_data_->ImportFormData(form_structure,
    [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...]
autofill_manager.h 26 #include "components/autofill/core/browser/form_structure.h"
259 // Fills |form_structure| cached element corresponding to |form|.
262 FormStructure** form_structure) const WARN_UNUSED_RESULT;
264 // Fills |form_structure| and |autofill_field| with the cached elements
270 FormStructure** form_structure,
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...]
  /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/chrome/browser/ui/autofill/
autofill_dialog_controller.cc 16 const FormData& form_structure,
autofill_dialog_controller.h 15 #include "components/autofill/core/browser/form_structure.h"
37 const FormData& form_structure,
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...]
data_model_wrapper.cc 18 #include "components/autofill/core/browser/form_structure.h"
51 FormStructure* form_structure) const {
53 for (size_t i = 0; i < form_structure->field_count(); ++i) {
54 AutofillField* field = form_structure->field(i);
data_model_wrapper.h 57 // Fills in |form_structure| with the data that this model contains. |inputs|
60 // in |form_structure| were found to be matching.
64 FormStructure* form_structure) const;
  /external/chromium_org/chrome/browser/ui/android/autofill/
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,
    [all...]
autofill_dialog_controller_android.h 31 const FormData& form_structure,
71 const FormData& form_structure,
  /external/chromium_org/components/autofill/content/browser/
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...]
autofill_driver_impl_unittest.cc 179 FormStructure form_structure(form, std::string());
180 std::vector<FormStructure*> forms(1, &form_structure);
191 FormStructure form_structure(form, std::string());
192 std::vector<FormStructure*> forms(1, &form_structure);
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);

Completed in 1169 milliseconds

1 2