consumer2 910 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->CreateGCMProfileServiceInstance(); consumer2 913 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->SignIn(kTestingUsername2); consumer2 940 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->Register(kTestingAppId, sender_ids2); consumer2 950 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->registration_id()); consumer2 958 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->Register(kTestingAppId2, sender_ids3); consumer2 963 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->registration_id()); consumer2 964 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer2()->registration_result()); consumer2 979 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->Send(kTestingAppId, kUserId2, message2); consumer2 987 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(consumer2()->send_message_id(), message2.id); consumer2 988 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer2()->send_result()); consumer2 994 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->Send(kTestingAppId2, kUserId, message3); consumer2 998 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(consumer2()->send_message_id(), message3.id); consumer2 1005 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->Register(kTestingAppId, ToSenderList("sender")); consumer2 1007 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->Register(kTestingAppId2, ToSenderList("sender2")); consumer2 1021 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->GetGCMClient()->ReceiveMessage(kTestingAppId, message2); consumer2 1033 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->gcm_app_handler()->received_event()); consumer2 1034 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(kTestingAppId, consumer2()->gcm_app_handler()->app_id()); consumer2 1035 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_TRUE(message2.data == consumer2()->gcm_app_handler()->message().data); consumer2 1036 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ("sender", consumer2()->gcm_app_handler()->message().sender_id); consumer2 1043 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->GetGCMClient()->ReceiveMessage(kTestingAppId2, message3); consumer2 1048 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->gcm_app_handler()->received_event()); consumer2 1049 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(kTestingAppId2, consumer2()->gcm_app_handler()->app_id()); consumer2 1050 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_TRUE(message3.data == consumer2()->gcm_app_handler()->message().data); consumer2 1051 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ("sender2", consumer2()->gcm_app_handler()->message().sender_id); consumer2 1075 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->Register(kTestingAppId, sender_ids2); consumer2 1082 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->Register(kTestingAppId2, sender_ids3); consumer2 1093 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->registration_id()); consumer2 1128 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->GetGCMClient()->ReceiveMessage(kTestingAppId2, in_message2); consumer2 1134 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->GetGCMClient()->ReceiveMessage(kTestingAppId, in_message3); consumer2 1136 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->gcm_app_handler()->clear_results(); consumer2 1140 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->gcm_app_handler()->received_event()); consumer2 1141 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(kTestingAppId2, consumer2()->gcm_app_handler()->app_id()); consumer2 1143 chrome/browser/services/gcm/gcm_profile_service_unittest.cc in_message2.data == consumer2()->gcm_app_handler()->message().data); consumer2 1145 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->gcm_app_handler()->clear_results(); consumer2 1149 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->gcm_app_handler()->received_event()); consumer2 1150 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(kTestingAppId, consumer2()->gcm_app_handler()->app_id()); consumer2 1152 chrome/browser/services/gcm/gcm_profile_service_unittest.cc in_message3.data == consumer2()->gcm_app_handler()->message().data); consumer2 1158 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->Send(kTestingAppId, kUserId2, out_message2); consumer2 1163 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->Send(kTestingAppId2, kUserId2, out_message3); consumer2 1167 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(consumer2()->send_message_id(), out_message2.id); consumer2 1168 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer2()->send_result()); consumer2 1172 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(consumer2()->send_message_id(), out_message3.id); consumer2 1173 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer2()->send_result()); consumer2 1190 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->GetGCMClient()->DeleteMessages(kTestingAppId2); consumer2 1192 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->gcm_app_handler()->clear_results(); consumer2 1196 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->gcm_app_handler()->received_event()); consumer2 1197 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(kTestingAppId2, consumer2()->gcm_app_handler()->app_id()); consumer2 1203 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->Send(kTestingAppId, kUserId, out_message4); consumer2 1206 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(consumer2()->send_message_id(), out_message4.id); consumer2 1207 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer2()->send_result()); consumer2 1209 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->gcm_app_handler()->clear_results(); consumer2 1212 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->gcm_app_handler()->received_event()); consumer2 1213 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(kTestingAppId, consumer2()->gcm_app_handler()->app_id()); consumer2 1215 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->gcm_app_handler()->send_error_message_id()); consumer2 1217 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->gcm_app_handler()->send_error_result()); consumer2 1219 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer2()->gcm_app_handler()->send_error_data()); consumer2 343 components/autofill/core/browser/webdata/web_data_service_unittest.cc AutofillWebDataServiceConsumer<std::vector<AutofillProfile*> > consumer2; consumer2 344 components/autofill/core/browser/webdata/web_data_service_unittest.cc WebDataServiceBase::Handle handle2 = wds_->GetAutofillProfiles(&consumer2); consumer2 346 components/autofill/core/browser/webdata/web_data_service_unittest.cc EXPECT_EQ(handle2, consumer2.handle()); consumer2 347 components/autofill/core/browser/webdata/web_data_service_unittest.cc ASSERT_EQ(0U, consumer2.result().size()); consumer2 387 components/autofill/core/browser/webdata/web_data_service_unittest.cc AutofillWebDataServiceConsumer<std::vector<AutofillProfile*> > consumer2; consumer2 388 components/autofill/core/browser/webdata/web_data_service_unittest.cc WebDataServiceBase::Handle handle2 = wds_->GetAutofillProfiles(&consumer2); consumer2 390 components/autofill/core/browser/webdata/web_data_service_unittest.cc EXPECT_EQ(handle2, consumer2.handle()); consumer2 391 components/autofill/core/browser/webdata/web_data_service_unittest.cc ASSERT_EQ(2U, consumer2.result().size()); consumer2 392 components/autofill/core/browser/webdata/web_data_service_unittest.cc EXPECT_NE(profile1, *consumer2.result()[0]); consumer2 393 components/autofill/core/browser/webdata/web_data_service_unittest.cc EXPECT_EQ(profile1_changed, *consumer2.result()[0]); consumer2 394 components/autofill/core/browser/webdata/web_data_service_unittest.cc EXPECT_EQ(profile2, *consumer2.result()[1]); consumer2 395 components/autofill/core/browser/webdata/web_data_service_unittest.cc STLDeleteElements(&consumer2.result()); consumer2 434 components/autofill/core/browser/webdata/web_data_service_unittest.cc AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer2; consumer2 435 components/autofill/core/browser/webdata/web_data_service_unittest.cc WebDataServiceBase::Handle handle2 = wds_->GetCreditCards(&consumer2); consumer2 437 components/autofill/core/browser/webdata/web_data_service_unittest.cc EXPECT_EQ(handle2, consumer2.handle()); consumer2 438 components/autofill/core/browser/webdata/web_data_service_unittest.cc ASSERT_EQ(0U, consumer2.result().size()); consumer2 468 components/autofill/core/browser/webdata/web_data_service_unittest.cc AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer2; consumer2 469 components/autofill/core/browser/webdata/web_data_service_unittest.cc WebDataServiceBase::Handle handle2 = wds_->GetCreditCards(&consumer2); consumer2 471 components/autofill/core/browser/webdata/web_data_service_unittest.cc EXPECT_EQ(handle2, consumer2.handle()); consumer2 472 components/autofill/core/browser/webdata/web_data_service_unittest.cc ASSERT_EQ(2U, consumer2.result().size()); consumer2 473 components/autofill/core/browser/webdata/web_data_service_unittest.cc EXPECT_NE(card1, *consumer2.result()[0]); consumer2 474 components/autofill/core/browser/webdata/web_data_service_unittest.cc EXPECT_EQ(card1_changed, *consumer2.result()[0]); consumer2 475 components/autofill/core/browser/webdata/web_data_service_unittest.cc EXPECT_EQ(card2, *consumer2.result()[1]); consumer2 476 components/autofill/core/browser/webdata/web_data_service_unittest.cc STLDeleteElements(&consumer2.result()); consumer2 410 google_apis/gaia/oauth2_token_service_unittest.cc TestingOAuth2TokenServiceConsumer consumer2; consumer2 412 google_apis/gaia/oauth2_token_service_unittest.cc oauth2_service_->StartRequest(account_id_, scopes1, &consumer2)); consumer2 419 google_apis/gaia/oauth2_token_service_unittest.cc EXPECT_EQ(1, consumer2.number_of_successful_tokens_); consumer2 420 google_apis/gaia/oauth2_token_service_unittest.cc EXPECT_EQ(0, consumer2.number_of_errors_); consumer2 421 google_apis/gaia/oauth2_token_service_unittest.cc EXPECT_EQ("second token", consumer2.last_token_);