Home
last modified time | relevance | path

Searched refs:FormStructure (Results 1 – 17 of 17) sorted by relevance

/external/chromium/chrome/browser/autofill/
Dform_structure.cc52 FormStructure::FormStructure(const FormData& form) in FormStructure() function in FormStructure
88 FormStructure::~FormStructure() {} in ~FormStructure()
90 void FormStructure::DetermineHeuristicTypes() { in DetermineHeuristicTypes()
121 bool FormStructure::EncodeUploadRequest(bool autofill_used, in EncodeUploadRequest()
142 if (!EncodeFormRequest(FormStructure::UPLOAD, &autofill_request_xml)) in EncodeUploadRequest()
153 bool FormStructure::EncodeQueryRequest(const ScopedVector<FormStructure>& forms, in EncodeQueryRequest()
173 for (ScopedVector<FormStructure>::const_iterator it = forms.begin(); in EncodeQueryRequest()
185 if (!(*it)->EncodeFormRequest(FormStructure::QUERY, in EncodeQueryRequest()
204 void FormStructure::ParseQueryResponse(const std::string& response_xml, in ParseQueryResponse()
205 const std::vector<FormStructure*>& forms, in ParseQueryResponse()
[all …]
Dform_structure_unittest.cc45 return FormStructure::Hash64Bit(str); in Hash64Bit()
72 FormStructure form_structure(form); in TEST()
105 FormStructure form_structure(form); in TEST()
116 FormStructure form_structure(form); in TEST()
122 scoped_ptr<FormStructure> form_structure; in TEST()
145 form_structure.reset(new FormStructure(form)); in TEST()
162 form_structure.reset(new FormStructure(form)); in TEST()
173 form_structure.reset(new FormStructure(form)); in TEST()
180 form_structure.reset(new FormStructure(form)); in TEST()
188 form_structure.reset(new FormStructure(form)); in TEST()
[all …]
Dform_structure.h38 class FormStructure {
40 explicit FormStructure(const webkit_glue::FormData& form);
41 virtual ~FormStructure();
55 static bool EncodeQueryRequest(const ScopedVector<FormStructure>& forms,
62 const std::vector<FormStructure*>& forms,
87 void UpdateFromCache(const FormStructure& cached_form);
176 DISALLOW_COPY_AND_ASSIGN(FormStructure);
Dautofill_manager.h97 void ImportFormData(const FormStructure& submitted_form);
100 void UploadFormData(const FormStructure& submitted_form);
141 ScopedVector<FormStructure>* form_structures() { return &form_structures_; } in form_structures()
185 FormStructure** form_structure) const WARN_UNUSED_RESULT;
193 FormStructure** form_structure,
199 void GetProfileSuggestions(FormStructure* form,
209 void GetCreditCardSuggestions(FormStructure* form,
243 void DeterminePossibleFieldTypesForUpload(FormStructure* submitted_form);
271 ScopedVector<FormStructure> form_structures_;
Dpersonal_data_manager_unittest.cc544 FormStructure form_structure(form); in TEST_F()
546 std::vector<const FormStructure*> forms; in TEST_F()
591 FormStructure form_structure(form); in TEST_F()
593 std::vector<const FormStructure*> forms; in TEST_F()
621 FormStructure form_structure(form); in TEST_F()
623 std::vector<const FormStructure*> forms; in TEST_F()
674 FormStructure form_structure(form); in TEST_F()
676 std::vector<const FormStructure*> forms; in TEST_F()
777 FormStructure form_structure1(form1); in TEST_F()
779 std::vector<const FormStructure*> forms; in TEST_F()
[all …]
Dform_structure_browsertest.cc45 std::string FormStructuresToString(const std::vector<FormStructure*>& forms);
65 std::vector<FormStructure*> forms = autofill_manager->form_structures_.get(); in GenerateResults()
70 const std::vector<FormStructure*>& forms) { in FormStructuresToString()
72 for (std::vector<FormStructure*>::const_iterator iter = forms.begin(); in FormStructuresToString()
Dautofill_download_unittest.cc171 FormStructure *form_structure = new FormStructure(form); in TEST_F()
172 ScopedVector<FormStructure> form_structures; in TEST_F()
200 form_structure = new FormStructure(form); in TEST_F()
305 form_structure = new FormStructure(form); in TEST_F()
390 FormStructure *form_structure = new FormStructure(form); in TEST_F()
391 ScopedVector<FormStructure> form_structures0; in TEST_F()
401 form_structure = new FormStructure(form); in TEST_F()
402 ScopedVector<FormStructure> form_structures1; in TEST_F()
412 form_structure = new FormStructure(form); in TEST_F()
413 ScopedVector<FormStructure> form_structures2; in TEST_F()
Dautofill_manager.cc112 void FindSectionBounds(const FormStructure& form, in FindSectionBounds()
187 bool SectionIsAutofilled(const FormStructure* form_structure, in SectionIsAutofilled()
226 bool FormIsHTTPS(FormStructure* form) { in FormIsHTTPS()
325 FormStructure submitted_form(form); in OnFormSubmitted()
333 FormStructure* cached_submitted_form; in OnFormSubmitted()
380 FormStructure* form_structure = NULL; in OnQueryFormFieldAutofill()
488 FormStructure* form_structure = NULL; in OnFillAutofillFormData()
655 FormStructure::ParseQueryResponse(heuristic_xml, in OnLoadedAutofillHeuristics()
682 FormStructure* submitted_form) { in DeterminePossibleFieldTypesForUpload()
693 void AutofillManager::ImportFormData(const FormStructure& submitted_form) { in ImportFormData()
[all …]
Dautofill_download.h25 class FormStructure; variable
75 bool StartQueryRequest(const ScopedVector<FormStructure>& forms,
84 bool StartUploadRequest(const FormStructure& form, bool form_was_matched);
Dform_field.h16 class FormStructure; variable
154 explicit FormFieldSet(FormStructure* form);
164 bool CheckECML(FormStructure* fields);
Dpersonal_data_manager.h28 class FormStructure; variable
82 bool ImportFormData(const std::vector<const FormStructure*>& form_structures,
Dautofill_merge_unittest.cc192 FormStructure form_structure(form); in MergeProfiles()
202 std::vector<const FormStructure*> form_structures(1, &form_structure); in MergeProfiles()
Dautofill_download.cc92 const ScopedVector<FormStructure>& forms, in StartQueryRequest()
100 if (!FormStructure::EncodeQueryRequest(forms, &request_data.form_signatures, in StartQueryRequest()
121 const FormStructure& form, bool form_was_matched) { in StartUploadRequest()
Dform_field.cc265 FormFieldSet::FormFieldSet(FormStructure* fields) { in FormFieldSet()
308 bool FormFieldSet::CheckECML(FormStructure* fields) { in CheckECML()
Dpersonal_data_manager.cc194 const std::vector<const FormStructure*>& form_structures, in ImportFormData()
207 std::vector<const FormStructure*>::const_iterator iter; in ImportFormData()
213 const FormStructure* form = *iter; in ImportFormData()
Dautofill_metrics_unittest.cc142 void AddSeenForm(FormStructure* form) { in AddSeenForm()
152 class TestFormStructure : public FormStructure {
154 explicit TestFormStructure(const FormData& form) : FormStructure(form) {} in TestFormStructure()
Dautofill_manager_unittest.cc458 void AddSeenForm(FormStructure* form) { in AddSeenForm()
577 class TestFormStructure : public FormStructure {
579 explicit TestFormStructure(const FormData& form) : FormStructure(form) {} in TestFormStructure()