Lines Matching refs:consumer2
378 AutofillWebDataServiceConsumer<std::vector<AutofillProfile*> > consumer2;
379 WebDataService::Handle handle2 = wds_->GetAutofillProfiles(&consumer2);
381 EXPECT_EQ(handle2, consumer2.handle());
382 ASSERT_EQ(0U, consumer2.result().size());
422 AutofillWebDataServiceConsumer<std::vector<AutofillProfile*> > consumer2;
423 WebDataService::Handle handle2 = wds_->GetAutofillProfiles(&consumer2);
425 EXPECT_EQ(handle2, consumer2.handle());
426 ASSERT_EQ(2U, consumer2.result().size());
427 EXPECT_NE(profile1, *consumer2.result()[0]);
428 EXPECT_EQ(profile1_changed, *consumer2.result()[0]);
429 EXPECT_EQ(profile2, *consumer2.result()[1]);
430 STLDeleteElements(&consumer2.result());
469 AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer2;
470 WebDataService::Handle handle2 = wds_->GetCreditCards(&consumer2);
472 consumer2.handle());
473 ASSERT_EQ(0U, consumer2.result().size());
503 AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer2;
504 WebDataService::Handle handle2 = wds_->GetCreditCards(&consumer2);
506 EXPECT_EQ(handle2, consumer2.handle());
507 ASSERT_EQ(2U, consumer2.result().size());
508 EXPECT_NE(card1, *consumer2.result()[0]);
509 EXPECT_EQ(card1_changed, *consumer2.result()[0]);
510 EXPECT_EQ(card2, *consumer2.result()[1]);
511 STLDeleteElements(&consumer2.result());