Searched defs:forms (Results 1 - 25 of 51) sorted by path

123

/external/chromium_org/android_webview/native/
H A Daw_autofill_client.cc161 const std::vector<autofill::FormStructure*>& forms) {
160 DetectAccountCreationForms( const std::vector<autofill::FormStructure*>& forms) argument
/external/chromium_org/chrome/browser/autofill/
H A Dform_structure_browsertest.cc42 // file that contains one or more forms. The corresponding output file lists the
54 // Serializes the given |forms| into a string.
55 std::string FormStructuresToString(const std::vector<FormStructure*>& forms);
79 std::vector<FormStructure*> forms = autofill_manager->form_structures_.get(); local
80 *output = FormStructureBrowserTest::FormStructuresToString(forms);
84 const std::vector<FormStructure*>& forms) {
86 for (std::vector<FormStructure*>::const_iterator iter = forms.begin();
87 iter != forms.end();
83 FormStructuresToString( const std::vector<FormStructure*>& forms) argument
/external/chromium_org/chrome/browser/password_manager/
H A Dnative_backend_gnome_x.cc160 NativeBackendGnome::PasswordFormList* forms) {
189 forms->push_back(form.release());
277 GnomeKeyringResult WaitResult(PasswordFormList* forms);
400 // We find forms using the same fields as LoginDatabase::RemoveLogin().
469 GnomeKeyringResult GKRMethod::WaitResult(PasswordFormList* forms) { argument
472 if (forms->empty()) {
474 forms->swap(forms_);
476 // Rare case. Append forms_ to *forms.
477 forms->insert(forms
158 ConvertFormList(GList* found, const PasswordForm* lookup_form, NativeBackendGnome::PasswordFormList* forms) argument
566 ScopedVector<autofill::PasswordForm> forms; local
610 ScopedVector<autofill::PasswordForm> forms; local
670 GetLogins(const PasswordForm& form, PasswordFormList* forms) argument
689 GetAutofillableLogins(PasswordFormList* forms) argument
693 GetBlacklistLogins(PasswordFormList* forms) argument
697 GetLoginsList(PasswordFormList* forms, bool autofillable) argument
719 GetAllLogins(PasswordFormList* forms) argument
736 GetLoginsBetween(base::Time get_begin, base::Time get_end, TimestampToCompare date_to_compare, PasswordFormList* forms) argument
773 ScopedVector<autofill::PasswordForm> forms; local
[all...]
H A Dnative_backend_kwallet_x.cc274 ScopedVector<autofill::PasswordForm> forms;
275 GetLoginsList(&forms.get(), form.signon_realm, wallet_handle);
282 for (size_t i = 0; i < forms.size(); ++i) {
285 if (CompareForms(form, *forms[i], false)) {
287 password_manager::PasswordStoreChange::REMOVE, *forms[i]));
288 *forms[i] = form;
293 forms.push_back(new PasswordForm(form));
297 bool ok = SetLoginsList(forms.get(), form.signon_realm, wallet_handle);
313 ScopedVector<autofill::PasswordForm> forms;
314 GetLoginsList(&forms
374 GetLogins(const PasswordForm& form, PasswordFormList* forms) argument
382 GetAutofillableLogins(PasswordFormList* forms) argument
389 GetBlacklistLogins(PasswordFormList* forms) argument
396 GetLoginsList(PasswordFormList* forms, const std::string& signon_realm, int wallet_handle) argument
468 GetLoginsList(PasswordFormList* forms, bool autofillable, int wallet_handle) argument
487 GetAllLogins(PasswordFormList* forms, int wallet_handle) argument
546 SetLoginsList(const PasswordFormList& forms, const std::string& signon_realm, int wallet_handle) argument
707 SerializeValue(const PasswordFormList& forms, Pickle* pickle) argument
738 DeserializeValueSize(const std::string& signon_realm, const PickleIterator& init_iter, int version, bool size_32, bool warn_only, PasswordFormList* forms) argument
841 DeserializeValue(const std::string& signon_realm, const Pickle& pickle, PasswordFormList* forms) argument
[all...]
H A Dnative_backend_kwallet_x_unittest.cc139 // Provide some test forms to avoid having to set them up in each test.
396 std::vector<const PasswordForm*> forms; local
397 forms.push_back(&form_isc_);
399 expected.push_back(make_pair(std::string(form_isc_.signon_realm), forms));
587 std::vector<PasswordForm*> forms; local
588 NativeBackendKWalletStub::DeserializeValue(entries[i], pickle, &forms);
590 EXPECT_EQ(expect.size(), forms.size());
591 for (size_t j = 0; j < forms.size() && j < expect.size(); ++j)
592 CheckPasswordForm(*expect[j], *forms[j]);
593 STLDeleteElements(&forms);
646 std::vector<const PasswordForm*> forms; local
682 std::vector<const PasswordForm*> forms; local
713 std::vector<const PasswordForm*> forms; local
733 std::vector<const PasswordForm*> forms; local
762 std::vector<const PasswordForm*> forms; local
797 std::vector<const PasswordForm*> forms; local
858 std::vector<const PasswordForm*> forms; local
895 std::vector<const PasswordForm*> forms; local
[all...]
H A Dpassword_store_mac.cc183 const std::vector<PasswordForm*>& forms) {
185 for (std::vector<PasswordForm*>::const_iterator i = forms.begin();
186 i != forms.end(); ++i) {
421 // Returns entries from |forms| that are blacklist entries, after removing
422 // them from |forms|.
424 std::vector<PasswordForm*>* forms) {
426 for (std::vector<PasswordForm*>::iterator i = forms->begin();
427 i != forms->end();) {
431 i = forms->erase(i);
457 // than being merged with keychain forms
182 FormsToRemoveChangeList( const std::vector<PasswordForm*>& forms) argument
423 ExtractBlacklistForms( std::vector<PasswordForm*>* forms) argument
971 ScopedVector<PasswordForm> forms; local
989 ScopedVector<PasswordForm> forms; local
1072 FillAutofillableLogins( std::vector<PasswordForm*>* forms) argument
1093 FillBlacklistLogins( std::vector<PasswordForm*>* forms) argument
1128 RemoveDatabaseForms( const std::vector<PasswordForm*>& forms) argument
1136 RemoveKeychainForms( const std::vector<PasswordForm*>& forms) argument
1146 CleanOrphanedForms(std::vector<PasswordForm*>* forms) argument
[all...]
H A Dpassword_store_mac_unittest.cc45 void CopyElements(const std::vector<autofill::PasswordForm*>& forms) { argument
47 for (size_t i = 0; i < forms.size(); ++i) {
48 last_result.push_back(*forms[i]);
219 #define CHECK_FORMS(forms, expectations, i) \
220 CheckFormsAgainstExpectations(forms, expectations, #forms, i)
222 // Ensures that the data in |forms| match |expectations|, causing test failures
225 // matter if |forms| and |expectations| are scrambled.
227 const std::vector<PasswordForm*>& forms,
234 EXPECT_EQ(expectations.size(), forms
226 CheckFormsAgainstExpectations( const std::vector<PasswordForm*>& forms, const std::vector<PasswordFormData*>& expectations, const char* forms_label, unsigned int test_number) argument
[all...]
H A Dpassword_store_win_unittest.cc244 std::vector<PasswordForm*> forms; local
245 forms.push_back(CreatePasswordFormFromData(expected_form_data));
249 OnGetPasswordStoreResults(ContainsAllPasswordForms(forms)))
255 STLDeleteElements(&forms);
337 std::vector<PasswordForm*> forms; local
338 forms.push_back(CreatePasswordFormFromData(expected_form_data));
342 OnGetPasswordStoreResults(ContainsAllPasswordForms(forms)))
361 STLDeleteElements(&forms);
H A Dpassword_store_x.cc188 bool PasswordStoreX::FillAutofillableLogins(vector<PasswordForm*>* forms) { argument
190 if (use_native_backend() && backend_->GetAutofillableLogins(forms)) {
192 if (forms->size() > 0)
197 return PasswordStoreDefault::FillAutofillableLogins(forms);
201 bool PasswordStoreX::FillBlacklistLogins(vector<PasswordForm*>* forms) { argument
203 if (use_native_backend() && backend_->GetBlacklistLogins(forms)) {
205 if (forms->size() > 0)
210 return PasswordStoreDefault::FillBlacklistLogins(forms);
249 vector<PasswordForm*> forms; local
250 bool ok = PasswordStoreDefault::FillAutofillableLogins(&forms)
[all...]
H A Dpassword_store_x_unittest.cc86 PasswordFormList* forms) OVERRIDE {
90 virtual bool GetAutofillableLogins(PasswordFormList* forms) OVERRIDE {
93 virtual bool GetBlacklistLogins(PasswordFormList* forms) OVERRIDE {
155 PasswordFormList* forms) OVERRIDE {
158 forms->push_back(new PasswordForm(all_forms_[i]));
162 virtual bool GetAutofillableLogins(PasswordFormList* forms) OVERRIDE {
165 forms->push_back(new PasswordForm(all_forms_[i]));
169 virtual bool GetBlacklistLogins(PasswordFormList* forms) OVERRIDE {
172 forms->push_back(new PasswordForm(all_forms_[i]));
206 std::vector<PasswordForm*> forms; local
215 InitExpectedForms(bool autofillable, size_t count, VectorOfForms* forms) argument
[all...]
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dpasswords_helper.cc69 void ClearSyncDateField(std::vector<PasswordForm>* forms) { argument
70 for (std::vector<PasswordForm>::iterator it = forms->begin();
71 it != forms->end();
115 std::vector<PasswordForm> forms; local
116 GetLogins(store, forms);
117 for (std::vector<PasswordForm>::iterator it = forms.begin();
118 it != forms.end(); ++it) {
147 std::vector<PasswordForm> forms; local
149 GetLogins(GetPasswordStore(index), forms); local
150 ClearSyncDateField(&forms);
346 std::vector<PasswordForm> forms; local
347 GetLogins(GetPasswordStore(index), forms); local
[all...]
/external/chromium_org/chrome/browser/ui/autofill/
H A Dchrome_autofill_client.cc193 const std::vector<autofill::FormStructure*>& forms) {
198 manager->DetectAccountCreationForms(forms);
192 DetectAccountCreationForms( const std::vector<autofill::FormStructure*>& forms) argument
/external/chromium_org/chrome/renderer/autofill/
H A Dautofill_renderer_browsertest.cc88 std::vector<FormData> forms = params.a; local
89 ASSERT_EQ(1UL, forms.size());
90 ASSERT_EQ(4UL, forms[0].fields.size());
98 EXPECT_FORM_FIELD_DATA_EQUALS(expected, forms[0].fields[0]);
104 EXPECT_FORM_FIELD_DATA_EQUALS(expected, forms[0].fields[1]);
111 EXPECT_FORM_FIELD_DATA_EQUALS(expected, forms[0].fields[2]);
118 EXPECT_FORM_FIELD_DATA_EQUALS(expected, forms[0].fields[3]);
151 forms = params.a;
152 ASSERT_EQ(1UL, forms.size());
153 ASSERT_EQ(3UL, forms[
183 const std::vector<FormData>& forms = params.a; local
281 WebVector<WebFormElement> forms; variable
282 invoking_frame()->document().forms(forms); variable
[all...]
H A Dform_autocomplete_browsertest.cc39 Tuple2<FormData, base::TimeTicks> forms; local
40 AutofillHostMsg_FormSubmitted::Read(message, &forms);
41 ASSERT_EQ(2U, forms.a.fields.size());
43 FormFieldData& form_field = forms.a.fields[0];
47 form_field = forms.a.fields[1];
70 Tuple2<FormData, base::TimeTicks> forms; local
71 AutofillHostMsg_FormSubmitted::Read(message, &forms);
72 ASSERT_EQ(2U, forms.a.fields.size());
74 FormFieldData& form_field = forms.a.fields[0];
78 form_field = forms
100 Tuple2<FormData, base::TimeTicks> forms; local
141 Tuple2<FormData, base::TimeTicks> forms; local
[all...]
H A Dform_autofill_browsertest.cc124 std::vector<FormData> forms; local
125 form_cache.ExtractNewForms(*web_frame, &forms);
126 ASSERT_EQ(1U, forms.size());
128 const FormData& form = forms[0];
184 std::vector<FormData> forms; local
185 form_cache.ExtractNewForms(*web_frame, &forms);
186 ASSERT_EQ(1U, forms.size());
827 WebVector<WebFormElement> forms; local
828 frame->document().forms(forms);
906 WebVector<WebFormElement> forms; local
951 std::vector<FormData> forms; local
1015 std::vector<FormData> forms; local
1117 std::vector<FormData> forms; local
1133 std::vector<FormData> forms; local
1147 std::vector<FormData> forms; local
1167 std::vector<FormData> forms; local
1264 std::vector<FormData> forms; local
1358 std::vector<FormData> forms; local
2464 std::vector<FormData> forms; local
2564 std::vector<FormData> forms; local
2645 std::vector<FormData> forms; local
2735 std::vector<FormData> forms; local
2830 WebVector<WebFormElement> forms; local
2889 WebVector<WebFormElement> forms; local
2958 std::vector<FormData> forms; local
3073 std::vector<FormData> forms; local
3186 std::vector<FormData> forms; local
3263 std::vector<FormData> forms; local
3331 std::vector<FormData> forms; local
3399 std::vector<FormData> forms; local
3468 std::vector<FormData> forms; local
3518 std::vector<FormData> forms; local
3612 WebVector<WebFormElement> forms; local
[all...]
H A Dpassword_generation_agent_browsertest.cc49 std::vector<autofill::FormData> forms; local
50 forms.push_back(form);
51 AutofillMsg_AccountCreationFormsDetected msg(0, forms);
112 // Don't shown the icon for non account creation forms.
244 // Did not receive account creation forms detected messege. Don't show
250 // Receive the account creation forms detected message. Show password
/external/chromium_org/chrome/utility/importer/
H A Dfirefox_importer.cc353 std::vector<autofill::PasswordForm> forms; local
358 decryptor.ReadAndParseSignons(file, &forms);
367 decryptor.ParseSignons(content, &forms);
371 for (size_t i = 0; i < forms.size(); ++i) {
372 bridge_->SetPasswordForm(forms[i]);
H A Dfirefox_importer_unittest.cc109 std::vector<autofill::PasswordForm> forms = local
112 ASSERT_EQ(2u, forms.size());
113 EXPECT_EQ(autofill::PasswordForm::SCHEME_BASIC, forms[0].scheme);
114 EXPECT_EQ(autofill::PasswordForm::SCHEME_HTML, forms[1].scheme);
H A Dfirefox_importer_unittest_utils_mac.cc258 std::vector<autofill::PasswordForm> forms; local
259 decryptor_.ReadAndParseSignons(signons_path, &forms);
260 sender_->Send(new Msg_ParseSignons_Response(forms));
H A Dnss_decryptor.cc120 std::vector<autofill::PasswordForm>* forms) {
121 forms->clear();
153 forms->push_back(form);
235 forms->push_back(form);
241 std::vector<autofill::PasswordForm>* forms) {
262 forms->push_back(form);
306 forms->push_back(form);
118 ParseSignons( const std::string& content, std::vector<autofill::PasswordForm>* forms) argument
240 ReadAndParseSignons(const base::FilePath& sqlite_file, std::vector<autofill::PasswordForm>* forms) argument
H A Dnss_decryptor_null.h34 std::vector<autofill::PasswordForm>* forms) {}
36 std::vector<autofill::PasswordForm>* forms) {
33 ParseSignons(const std::string& content, std::vector<autofill::PasswordForm>* forms) argument
35 ReadAndParseSignons(const base::FilePath& sqlite_file, std::vector<autofill::PasswordForm>* forms) argument
/external/chromium_org/components/autofill/content/browser/
H A Dcontent_autofill_driver.cc115 const std::vector<FormStructure*>& forms) {
125 FormStructure::GetFieldTypePredictions(forms, &type_predictions);
114 SendAutofillTypePredictionsToRenderer( const std::vector<FormStructure*>& forms) argument
/external/chromium_org/components/autofill/content/renderer/
H A Dautofill_agent.cc452 const std::vector<FormDataPredictions>& forms) {
453 for (size_t i = 0; i < forms.size(); ++i) {
454 form_cache_.ShowPredictions(forms[i]);
703 // Record timestamp of when the forms are first seen. This is used to
707 std::vector<FormData> forms; local
708 form_cache_.ExtractNewForms(frame, &forms);
711 if (!forms.empty() ||
713 Send(new AutofillHostMsg_FormsSeen(routing_id(), forms,
735 // Only monitors dynamic forms created in the top frame. Dynamic forms
451 OnFieldTypePredictionsAvailable( const std::vector<FormDataPredictions>& forms) argument
[all...]
H A Dform_cache.cc75 std::vector<FormData>* forms) {
83 document.forms(web_forms);
164 forms->push_back(form);
255 it->forms(web_forms);
284 // Keep things simple. Don't show predictions for forms that were modified
74 ExtractNewForms(const WebFrame& frame, std::vector<FormData>* forms) argument
H A Dpassword_autofill_agent.cc148 blink::WebVector<blink::WebFormElement> forms; local
149 doc.forms(forms);
151 for (size_t i = 0; i < forms.size(); ++i) {
152 blink::WebFormElement fe = forms[i];
327 // Some login forms have event handlers that put a hash of the password into
535 blink::WebVector<blink::WebFormElement> forms; local
536 frame->document().forms(forms);
538 logger->LogNumber(Logger::STRING_NUMBER_OF_ALL_FORMS, forms
754 blink::WebVector<blink::WebFormElement> forms; local
804 FormElementsList forms; local
806 FindFormElements(render_view()->GetWebView(), form_data.basic_data, &forms); local
[all...]

Completed in 3776 milliseconds

123