/external/chromium_org/chrome/browser/services/gcm/ |
fake_gcm_profile_service.cc | 35 const std::vector<std::string>& sender_ids, 43 sender_ids, 50 const std::vector<std::string>& sender_ids, 55 last_registered_sender_ids_ = sender_ids; 59 callback.Run(base::UintToString(sender_ids.size()), GCMClient::SUCCESS);
|
gcm_profile_service_unittest.cc | 327 const std::vector<std::string>& sender_ids) { 330 sender_ids, 373 std::vector<std::string> sender_ids; local 374 sender_ids.push_back("sender1"); 375 Register(kTestingAppId, sender_ids); 377 gcm_client_mock_->GetRegistrationIdFromSenderIds(sender_ids); 386 std::vector<std::string> sender_ids; local 387 sender_ids.push_back("sender1"); 388 Register(kTestingAppId, sender_ids); 390 gcm_client_mock_->GetRegistrationIdFromSenderIds(sender_ids); 407 std::vector<std::string> sender_ids; local 417 std::vector<std::string> sender_ids; local 445 std::vector<std::string> sender_ids; local 477 std::vector<std::string> sender_ids; local 515 std::vector<std::string> sender_ids; local [all...] |
fake_gcm_profile_service.h | 30 const std::vector<std::string>& sender_ids, 39 const std::vector<std::string>& sender_ids,
|
gcm_client_mock.cc | 56 const std::vector<std::string>& sender_ids) { 59 std::string registration_id = GetRegistrationIdFromSenderIds(sender_ids); 130 const std::vector<std::string>& sender_ids) const { 132 // Set registration_id to empty to denote an error if sender_ids contains a 135 if (sender_ids.size() != 1 || 136 sender_ids[0].find("error") == std::string::npos) { 137 for (size_t i = 0; i < sender_ids.size(); ++i) { 140 registration_id += sender_ids[i];
|
gcm_client_mock.h | 27 const std::vector<std::string>& sender_ids) OVERRIDE; 49 const std::vector<std::string>& sender_ids) const;
|
gcm_profile_service.h | 73 // |sender_ids|: list of IDs of the servers that are allowed to send the 78 const std::vector<std::string>& sender_ids, 110 std::vector<std::string> sender_ids; member in struct:gcm::GCMProfileService::RegistrationInfo
|
gcm_profile_service.cc | 67 const std::vector<std::string>& sender_ids, 218 const std::vector<std::string>& sender_ids, 223 GCMClient::Get()->Register(username, app_id, cert, sender_ids); 324 const std::vector<std::string>& sender_ids, 328 DCHECK(!app_id.empty() && !sender_ids.empty() && !callback.is_null()); 337 std::vector<std::string> normalized_sender_ids = sender_ids; 345 registration_info_iter->second.sender_ids == normalized_sender_ids) { 354 registration_info.sender_ids = normalized_sender_ids; 642 registration_info.sender_ids.begin(); 643 senders_iter != registration_info.sender_ids.end() [all...] |
/external/chromium_org/google_apis/gcm/ |
gcm_client_impl.cc | 22 const std::vector<std::string>& sender_ids) {
|
gcm_client_impl.h | 24 const std::vector<std::string>& sender_ids) OVERRIDE;
|
gcm_client.h | 157 // |sender_ids|: list of IDs of the servers that are allowed to send the 163 const std::vector<std::string>& sender_ids) = 0;
|
/external/chromium_org/chrome/browser/extensions/api/gcm/ |
gcm_apitest.cc | 100 const std::vector<std::string>& sender_ids = local 102 EXPECT_TRUE(std::find(sender_ids.begin(), sender_ids.end(), "Sender1") != 103 sender_ids.end()); 104 EXPECT_TRUE(std::find(sender_ids.begin(), sender_ids.end(), "Sender2") != 105 sender_ids.end());
|
gcm_api.cc | 107 sender_ids_ = params->sender_ids;
|