sender_ids 116 chrome/browser/extensions/api/gcm/gcm_api.cc params->sender_ids, sender_ids 126 chrome/browser/extensions/api/gcm/gcm_apitest.cc const std::vector<std::string>& sender_ids = sender_ids 128 chrome/browser/extensions/api/gcm/gcm_apitest.cc EXPECT_TRUE(std::find(sender_ids.begin(), sender_ids.end(), "Sender1") != sender_ids 129 chrome/browser/extensions/api/gcm/gcm_apitest.cc sender_ids.end()); sender_ids 130 chrome/browser/extensions/api/gcm/gcm_apitest.cc EXPECT_TRUE(std::find(sender_ids.begin(), sender_ids.end(), "Sender2") != sender_ids 131 chrome/browser/extensions/api/gcm/gcm_apitest.cc sender_ids.end()); sender_ids 206 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc const std::vector<std::string>& sender_ids) { sender_ids 209 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc sender_ids, sender_ids 291 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc std::vector<std::string> sender_ids; sender_ids 292 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc sender_ids.push_back("sender1"); sender_ids 293 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc Register(extension->id(), sender_ids); sender_ids 250 chrome/browser/invalidation/gcm_invalidation_bridge.cc std::vector<std::string> sender_ids; sender_ids 251 chrome/browser/invalidation/gcm_invalidation_bridge.cc sender_ids.push_back(kInvalidationsSenderId); sender_ids 254 chrome/browser/invalidation/gcm_invalidation_bridge.cc sender_ids, sender_ids 35 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc const std::vector<std::string>& sender_ids, sender_ids 28 chrome/browser/services/gcm/fake_gcm_profile_service.cc const std::vector<std::string>& sender_ids, sender_ids 35 chrome/browser/services/gcm/fake_gcm_profile_service.cc sender_ids, sender_ids 41 chrome/browser/services/gcm/fake_gcm_profile_service.cc const std::vector<std::string>& sender_ids, sender_ids 45 chrome/browser/services/gcm/fake_gcm_profile_service.cc last_registered_sender_ids_ = sender_ids; sender_ids 48 chrome/browser/services/gcm/fake_gcm_profile_service.cc callback.Run(base::UintToString(sender_ids.size()), GCMClient::SUCCESS); sender_ids 28 chrome/browser/services/gcm/fake_gcm_profile_service.h const std::vector<std::string>& sender_ids, sender_ids 38 chrome/browser/services/gcm/fake_gcm_profile_service.h const std::vector<std::string>& sender_ids, sender_ids 65 chrome/browser/services/gcm/gcm_client_mock.cc const std::vector<std::string>& sender_ids) { sender_ids 68 chrome/browser/services/gcm/gcm_client_mock.cc std::string registration_id = GetRegistrationIdFromSenderIds(sender_ids); sender_ids 139 chrome/browser/services/gcm/gcm_client_mock.cc const std::vector<std::string>& sender_ids) { sender_ids 141 chrome/browser/services/gcm/gcm_client_mock.cc std::vector<std::string> normalized_sender_ids = sender_ids; sender_ids 148 chrome/browser/services/gcm/gcm_client_mock.cc if (sender_ids.size() != 1 || sender_ids 149 chrome/browser/services/gcm/gcm_client_mock.cc sender_ids[0].find("error") == std::string::npos) { sender_ids 46 chrome/browser/services/gcm/gcm_client_mock.h const std::vector<std::string>& sender_ids) OVERRIDE; sender_ids 64 chrome/browser/services/gcm/gcm_client_mock.h const std::vector<std::string>& sender_ids); sender_ids 174 chrome/browser/services/gcm/gcm_profile_service.cc const std::vector<std::string>& sender_ids); sender_ids 354 chrome/browser/services/gcm/gcm_profile_service.cc const std::vector<std::string>& sender_ids) { sender_ids 357 chrome/browser/services/gcm/gcm_profile_service.cc gcm_client_->Register(app_id, sender_ids); sender_ids 531 chrome/browser/services/gcm/gcm_profile_service.cc const std::vector<std::string>& sender_ids, sender_ids 534 chrome/browser/services/gcm/gcm_profile_service.cc DCHECK(!app_id.empty() && !sender_ids.empty() && !callback.is_null()); sender_ids 556 chrome/browser/services/gcm/gcm_profile_service.cc sender_ids)); sender_ids 560 chrome/browser/services/gcm/gcm_profile_service.cc DoRegister(app_id, sender_ids); sender_ids 564 chrome/browser/services/gcm/gcm_profile_service.cc const std::vector<std::string>& sender_ids) { sender_ids 573 chrome/browser/services/gcm/gcm_profile_service.cc std::vector<std::string> normalized_sender_ids = sender_ids; sender_ids 104 chrome/browser/services/gcm/gcm_profile_service.h const std::vector<std::string>& sender_ids, sender_ids 178 chrome/browser/services/gcm/gcm_profile_service.h const std::vector<std::string>& sender_ids); sender_ids 34 chrome/browser/services/gcm/gcm_profile_service_unittest.cc std::vector<std::string> ToSenderList(const std::string& sender_ids) { sender_ids 36 chrome/browser/services/gcm/gcm_profile_service_unittest.cc Tokenize(sender_ids, ",", &senders); sender_ids 178 chrome/browser/services/gcm/gcm_profile_service_unittest.cc const std::vector<std::string>& sender_ids) { sender_ids 181 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids, sender_ids 486 chrome/browser/services/gcm/gcm_profile_service_unittest.cc std::vector<std::string> sender_ids; sender_ids 487 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids.push_back("sender1"); sender_ids 488 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 507 chrome/browser/services/gcm/gcm_profile_service_unittest.cc std::vector<std::string> sender_ids; sender_ids 508 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids.push_back("sender1"); sender_ids 509 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 518 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids); sender_ids 581 chrome/browser/services/gcm/gcm_profile_service_unittest.cc std::vector<std::string> sender_ids; sender_ids 582 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids.push_back("sender1"); sender_ids 583 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 585 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids); sender_ids 593 chrome/browser/services/gcm/gcm_profile_service_unittest.cc std::vector<std::string> sender_ids; sender_ids 594 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids.push_back("sender1@error"); sender_ids 595 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 603 chrome/browser/services/gcm/gcm_profile_service_unittest.cc std::vector<std::string> sender_ids; sender_ids 604 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids.push_back("sender1"); sender_ids 605 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids.push_back("sender2"); sender_ids 606 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 608 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids); sender_ids 632 chrome/browser/services/gcm/gcm_profile_service_unittest.cc std::vector<std::string> sender_ids; sender_ids 633 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids.push_back("sender1"); sender_ids 634 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 636 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids); sender_ids 643 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids.push_back("sender2"); sender_ids 645 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids); sender_ids 649 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 662 chrome/browser/services/gcm/gcm_profile_service_unittest.cc std::vector<std::string> sender_ids; sender_ids 663 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids.push_back("sender1"); sender_ids 664 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 681 chrome/browser/services/gcm/gcm_profile_service_unittest.cc std::vector<std::string> sender_ids; sender_ids 682 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids.push_back("sender1"); sender_ids 683 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 690 chrome/browser/services/gcm/gcm_profile_service_unittest.cc std::vector<std::string> sender_ids; sender_ids 691 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids.push_back("sender1"); sender_ids 692 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 706 chrome/browser/services/gcm/gcm_profile_service_unittest.cc std::vector<std::string> sender_ids; sender_ids 707 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids.push_back("sender1"); sender_ids 709 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 738 chrome/browser/services/gcm/gcm_profile_service_unittest.cc std::vector<std::string> sender_ids; sender_ids 739 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids.push_back("sender1"); sender_ids 741 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 745 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 760 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 769 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 932 chrome/browser/services/gcm/gcm_profile_service_unittest.cc std::vector<std::string> sender_ids; sender_ids 933 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids.push_back("sender1"); sender_ids 934 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 945 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids), sender_ids 1067 chrome/browser/services/gcm/gcm_profile_service_unittest.cc std::vector<std::string> sender_ids; sender_ids 1068 chrome/browser/services/gcm/gcm_profile_service_unittest.cc sender_ids.push_back("sender1"); sender_ids 1069 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 1088 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids), sender_ids 1180 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->Register(kTestingAppId, sender_ids); sender_ids 170 google_apis/gcm/engine/gcm_store_impl_unittest.cc registration1->sender_ids.push_back("sender1"); sender_ids 180 google_apis/gcm/engine/gcm_store_impl_unittest.cc registration2->sender_ids.push_back("sender2_1"); sender_ids 181 google_apis/gcm/engine/gcm_store_impl_unittest.cc registration2->sender_ids.push_back("sender2_2"); sender_ids 199 google_apis/gcm/engine/gcm_store_impl_unittest.cc ASSERT_EQ(1u, load_result->registrations["app1"]->sender_ids.size()); sender_ids 200 google_apis/gcm/engine/gcm_store_impl_unittest.cc EXPECT_EQ(registration1->sender_ids[0], sender_ids 201 google_apis/gcm/engine/gcm_store_impl_unittest.cc load_result->registrations["app1"]->sender_ids[0]); sender_ids 206 google_apis/gcm/engine/gcm_store_impl_unittest.cc ASSERT_EQ(2u, load_result->registrations["app2"]->sender_ids.size()); sender_ids 207 google_apis/gcm/engine/gcm_store_impl_unittest.cc EXPECT_EQ(registration2->sender_ids[0], sender_ids 208 google_apis/gcm/engine/gcm_store_impl_unittest.cc load_result->registrations["app2"]->sender_ids[0]); sender_ids 209 google_apis/gcm/engine/gcm_store_impl_unittest.cc EXPECT_EQ(registration2->sender_ids[1], sender_ids 210 google_apis/gcm/engine/gcm_store_impl_unittest.cc load_result->registrations["app2"]->sender_ids[1]); sender_ids 18 google_apis/gcm/engine/registration_info.cc if (sender_ids.empty() || registration_id.empty()) sender_ids 24 google_apis/gcm/engine/registration_info.cc for (std::vector<std::string>::const_iterator iter = sender_ids.begin(); sender_ids 25 google_apis/gcm/engine/registration_info.cc iter != sender_ids.end(); ++iter) { sender_ids 51 google_apis/gcm/engine/registration_info.cc Tokenize(senders, ",", &sender_ids); sender_ids 53 google_apis/gcm/engine/registration_info.cc if (sender_ids.empty() || registration_id.empty()) { sender_ids 54 google_apis/gcm/engine/registration_info.cc sender_ids.clear(); sender_ids 25 google_apis/gcm/engine/registration_info.h std::vector<std::string> sender_ids; sender_ids 91 google_apis/gcm/engine/registration_request.cc const std::vector<std::string>& sender_ids) sender_ids 95 google_apis/gcm/engine/registration_request.cc sender_ids(sender_ids) { sender_ids 121 google_apis/gcm/engine/registration_request.cc DCHECK(0 < request_info_.sender_ids.size() && sender_ids 122 google_apis/gcm/engine/registration_request.cc request_info_.sender_ids.size() <= kMaxSenders); sender_ids 142 google_apis/gcm/engine/registration_request.cc request_info_.sender_ids.begin(); sender_ids 143 google_apis/gcm/engine/registration_request.cc iter != request_info_.sender_ids.end(); sender_ids 65 google_apis/gcm/engine/registration_request.h const std::vector<std::string>& sender_ids); sender_ids 77 google_apis/gcm/engine/registration_request.h std::vector<std::string> sender_ids; sender_ids 65 google_apis/gcm/engine/registration_request_unittest.cc void CreateRequest(const std::string& sender_ids); sender_ids 102 google_apis/gcm/engine/registration_request_unittest.cc void RegistrationRequestTest::CreateRequest(const std::string& sender_ids) { sender_ids 104 google_apis/gcm/engine/registration_request_unittest.cc base::StringTokenizer tokenizer(sender_ids, ","); sender_ids 194 google_apis/gcm/gcm_client.h const std::vector<std::string>& sender_ids) = 0; sender_ids 389 google_apis/gcm/gcm_client_impl.cc const std::vector<std::string>& sender_ids) { sender_ids 397 google_apis/gcm/gcm_client_impl.cc registrations_iter->second->sender_ids == sender_ids) { sender_ids 407 google_apis/gcm/gcm_client_impl.cc sender_ids); sender_ids 416 google_apis/gcm/gcm_client_impl.cc sender_ids), sender_ids 425 google_apis/gcm/gcm_client_impl.cc const std::vector<std::string>& sender_ids, sender_ids 445 google_apis/gcm/gcm_client_impl.cc registration->sender_ids = sender_ids; sender_ids 673 google_apis/gcm/gcm_client_impl.cc std::find(iter->second->sender_ids.begin(), sender_ids 674 google_apis/gcm/gcm_client_impl.cc iter->second->sender_ids.end(), sender_ids 675 google_apis/gcm/gcm_client_impl.cc data_message_stanza.from()) == iter->second->sender_ids.end()) { sender_ids 88 google_apis/gcm/gcm_client_impl.h const std::vector<std::string>& sender_ids) OVERRIDE; sender_ids 189 google_apis/gcm/gcm_client_impl.h const std::vector<std::string>& sender_ids, sender_ids 192 google_apis/gcm/gcm_client_impl_unittest.cc const std::vector<std::string>& sender_ids, sender_ids 360 google_apis/gcm/gcm_client_impl_unittest.cc const std::vector<std::string>& sender_ids, sender_ids 363 google_apis/gcm/gcm_client_impl_unittest.cc registration->sender_ids = sender_ids;