Lines Matching refs:autofill_manager_
192 autofill_manager_.reset(NULL);
199 autofill_manager_.reset(new TestAutofillManager(contents(),
204 scoped_ptr<TestAutofillManager> autofill_manager_;
263 // |form_structure| will be owned by |autofill_manager_|.
266 autofill_manager_->AddSeenForm(form_structure);
271 EXPECT_CALL(*autofill_manager_->metric_logger(),
273 EXPECT_CALL(*autofill_manager_->metric_logger(),
276 EXPECT_CALL(*autofill_manager_->metric_logger(),
279 EXPECT_CALL(*autofill_manager_->metric_logger(),
282 EXPECT_CALL(*autofill_manager_->metric_logger(),
285 EXPECT_CALL(*autofill_manager_->metric_logger(),
287 EXPECT_CALL(*autofill_manager_->metric_logger(),
290 EXPECT_CALL(*autofill_manager_->metric_logger(),
293 EXPECT_CALL(*autofill_manager_->metric_logger(),
296 EXPECT_CALL(*autofill_manager_->metric_logger(),
298 EXPECT_CALL(*autofill_manager_->metric_logger(),
301 EXPECT_CALL(*autofill_manager_->metric_logger(),
305 EXPECT_CALL(*autofill_manager_->metric_logger(),
308 EXPECT_CALL(*autofill_manager_->metric_logger(),
311 EXPECT_CALL(*autofill_manager_->metric_logger(),
313 EXPECT_CALL(*autofill_manager_->metric_logger(),
316 EXPECT_CALL(*autofill_manager_->metric_logger(),
319 EXPECT_CALL(*autofill_manager_->metric_logger(),
323 EXPECT_CALL(*autofill_manager_->metric_logger(),
325 EXPECT_CALL(*autofill_manager_->metric_logger(),
328 EXPECT_CALL(*autofill_manager_->metric_logger(),
331 EXPECT_CALL(*autofill_manager_->metric_logger(),
334 EXPECT_CALL(*autofill_manager_->metric_logger(),
338 EXPECT_NO_FATAL_FAILURE(autofill_manager_->OnFormSubmitted(form));
429 // |form_structure| will be owned by |autofill_manager_|.
432 autofill_manager_->AddSeenForm(form_structure);
438 EXPECT_CALL(*autofill_manager_->metric_logger(),
440 EXPECT_CALL(*autofill_manager_->metric_logger(),
442 EXPECT_CALL(*autofill_manager_->metric_logger(),
444 EXPECT_CALL(*autofill_manager_->metric_logger(),
449 EXPECT_NO_FATAL_FAILURE(autofill_manager_->OnFormSubmitted(form));
489 // |form_structure| will be owned by |autofill_manager_|.
492 autofill_manager_->AddSeenForm(form_structure);
508 EXPECT_CALL(*autofill_manager_->metric_logger(),
510 EXPECT_CALL(*autofill_manager_->metric_logger(),
513 EXPECT_CALL(*autofill_manager_->metric_logger(),
516 EXPECT_CALL(*autofill_manager_->metric_logger(),
519 EXPECT_CALL(*autofill_manager_->metric_logger(),
521 EXPECT_CALL(*autofill_manager_->metric_logger(),
524 EXPECT_CALL(*autofill_manager_->metric_logger(),
528 EXPECT_CALL(*autofill_manager_->metric_logger(),
530 EXPECT_CALL(*autofill_manager_->metric_logger(),
533 EXPECT_CALL(*autofill_manager_->metric_logger(),
536 EXPECT_CALL(*autofill_manager_->metric_logger(),
539 EXPECT_CALL(*autofill_manager_->metric_logger(),
541 EXPECT_CALL(*autofill_manager_->metric_logger(),
544 EXPECT_CALL(*autofill_manager_->metric_logger(),
548 EXPECT_CALL(*autofill_manager_->metric_logger(),
550 EXPECT_CALL(*autofill_manager_->metric_logger(),
553 EXPECT_CALL(*autofill_manager_->metric_logger(),
556 EXPECT_CALL(*autofill_manager_->metric_logger(),
559 EXPECT_CALL(*autofill_manager_->metric_logger(),
561 EXPECT_CALL(*autofill_manager_->metric_logger(),
564 EXPECT_CALL(*autofill_manager_->metric_logger(),
568 EXPECT_CALL(*autofill_manager_->metric_logger(),
571 EXPECT_CALL(*autofill_manager_->metric_logger(),
573 EXPECT_CALL(*autofill_manager_->metric_logger(),
576 EXPECT_CALL(*autofill_manager_->metric_logger(),
579 EXPECT_CALL(*autofill_manager_->metric_logger(),
582 EXPECT_CALL(*autofill_manager_->metric_logger(),
586 EXPECT_NO_FATAL_FAILURE(autofill_manager_->OnFormSubmitted(form));
609 EXPECT_CALL(*autofill_manager_->metric_logger(),
611 EXPECT_NO_FATAL_FAILURE(autofill_manager_->OnFormSubmitted(form));
620 EXPECT_CALL(*autofill_manager_->metric_logger(),
622 EXPECT_NO_FATAL_FAILURE(autofill_manager_->OnFormSubmitted(form));
672 // |form_structure| will be owned by |autofill_manager_|.
676 autofill_manager_->AddSeenForm(form_structure);
681 EXPECT_CALL(*autofill_manager_->metric_logger(),
683 EXPECT_CALL(*autofill_manager_->metric_logger(),
686 EXPECT_CALL(*autofill_manager_->metric_logger(),
689 EXPECT_CALL(*autofill_manager_->metric_logger(),
692 EXPECT_CALL(*autofill_manager_->metric_logger(),
695 EXPECT_CALL(*autofill_manager_->metric_logger(),
697 EXPECT_CALL(*autofill_manager_->metric_logger(),
700 EXPECT_CALL(*autofill_manager_->metric_logger(),
703 EXPECT_CALL(*autofill_manager_->metric_logger(),
706 EXPECT_CALL(*autofill_manager_->metric_logger(),
708 EXPECT_CALL(*autofill_manager_->metric_logger(),
711 EXPECT_CALL(*autofill_manager_->metric_logger(),
715 EXPECT_CALL(*autofill_manager_->metric_logger(),
718 EXPECT_CALL(*autofill_manager_->metric_logger(),
721 EXPECT_CALL(*autofill_manager_->metric_logger(),
723 EXPECT_CALL(*autofill_manager_->metric_logger(),
726 EXPECT_CALL(*autofill_manager_->metric_logger(),
729 EXPECT_CALL(*autofill_manager_->metric_logger(),
734 EXPECT_NO_FATAL_FAILURE(autofill_manager_->OnFormSubmitted(form));
786 // |form_structure| will be owned by |autofill_manager_|.
789 autofill_manager_->AddSeenForm(form_structure);
794 EXPECT_CALL(*autofill_manager_->metric_logger(),
798 autofill_manager_->OnQueryFormFieldAutofill(0, form, field);
803 autofill_manager_->OnQueryFormFieldAutofill(0, form, field);
806 autofill_manager_->Reset();
809 autofill_manager_->AddSeenForm(form_structure);
812 EXPECT_CALL(*autofill_manager_->metric_logger(),
816 autofill_manager_->OnQueryFormFieldAutofill(0, form, field);
819 autofill_manager_->Reset();
822 autofill_manager_->AddSeenForm(form_structure);
825 EXPECT_CALL(*autofill_manager_->metric_logger(),
830 autofill_manager_->OnQueryFormFieldAutofill(0, form, field);
838 EXPECT_CALL(*autofill_manager_->metric_logger(),
841 autofill_manager_->set_autofill_enabled(true);
842 autofill_manager_->OnFormsSeen(std::vector<FormData>());
845 autofill_manager_->Reset();
848 EXPECT_CALL(*autofill_manager_->metric_logger(),
851 autofill_manager_->set_autofill_enabled(false);
852 autofill_manager_->OnFormsSeen(std::vector<FormData>());