Home
last modified time | relevance | path

Searched refs:remaining_ids (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/google_apis/gcm/engine/
Dmcs_client.cc771 std::set<PersistentId> remaining_ids(id_list.begin(), id_list.end()); in HandleSelectiveAck() local
778 while(!to_resend_.empty() && !remaining_ids.empty()) { in HandleSelectiveAck()
780 if (remaining_ids.count(outgoing_packet->persistent_id) == 0) in HandleSelectiveAck()
782 remaining_ids.erase(outgoing_packet->persistent_id); in HandleSelectiveAck()
796 while (!to_send_.empty() && !remaining_ids.empty()) { in HandleSelectiveAck()
798 if (remaining_ids.count(outgoing_packet->persistent_id) == 0) in HandleSelectiveAck()
800 remaining_ids.erase(outgoing_packet->persistent_id); in HandleSelectiveAck()
818 if (remaining_ids.size() > 0) { in HandleSelectiveAck()
820 if (remaining_ids.count(id_list[i]) > 0) in HandleSelectiveAck()
Dmcs_client_unittest.cc522 std::vector<std::string> acked_ids, remaining_ids; in TEST_F() local
526 remaining_ids.insert(remaining_ids.end(), in TEST_F()
532 remaining_ids[i - 1], in TEST_F()
534 remaining_ids[i - 1], in TEST_F()