MCSClient 131 google_apis/gcm/engine/mcs_client.cc std::string MCSClient::GetStateString() const { MCSClient 147 google_apis/gcm/engine/mcs_client.cc MCSClient::MCSClient(const std::string& version_string, MCSClient 166 google_apis/gcm/engine/mcs_client.cc MCSClient::~MCSClient() { MCSClient 169 google_apis/gcm/engine/mcs_client.cc void MCSClient::Initialize( MCSClient 182 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::ResetStateAndBuildLoginRequest, MCSClient 184 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::HandlePacketFromWire, MCSClient 186 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::MaybeSendMessage, MCSClient 239 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, MCSClient 265 google_apis/gcm/engine/mcs_client.cc void MCSClient::Login(uint64 android_id, uint64 security_token) { MCSClient 283 google_apis/gcm/engine/mcs_client.cc void MCSClient::SendMessage(const MCSMessage& message) { MCSClient 318 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, MCSClient 331 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, MCSClient 356 google_apis/gcm/engine/mcs_client.cc void MCSClient::ResetStateAndBuildLoginRequest( MCSClient 428 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, MCSClient 441 google_apis/gcm/engine/mcs_client.cc void MCSClient::SendHeartbeat() { MCSClient 445 google_apis/gcm/engine/mcs_client.cc void MCSClient::OnGCMUpdateFinished(bool success) { MCSClient 451 google_apis/gcm/engine/mcs_client.cc void MCSClient::MaybeSendMessage() { MCSClient 469 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, MCSClient 473 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::MaybeSendMessage, MCSClient 483 google_apis/gcm/engine/mcs_client.cc void MCSClient::SendPacketToWire(ReliablePacketInfo* packet_info) { MCSClient 525 google_apis/gcm/engine/mcs_client.cc void MCSClient::HandleMCSDataMesssage( MCSClient 558 google_apis/gcm/engine/mcs_client.cc void MCSClient::HandlePacketFromWire( MCSClient 594 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, MCSClient 654 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::MaybeSendMessage, MCSClient 659 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::SendHeartbeat, MCSClient 661 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnConnectionResetByHeartbeat, MCSClient 731 google_apis/gcm/engine/mcs_client.cc void MCSClient::HandleStreamAck(StreamId last_stream_id_received) { MCSClient 748 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, MCSClient 754 google_apis/gcm/engine/mcs_client.cc void MCSClient::HandleSelectiveAck(const PersistentIdList& id_list) { MCSClient 816 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, MCSClient 828 google_apis/gcm/engine/mcs_client.cc void MCSClient::HandleServerConfirmedReceipt(StreamId device_stream_id) { MCSClient 844 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, MCSClient 848 google_apis/gcm/engine/mcs_client.cc MCSClient::PersistentId MCSClient::GetNextPersistentId() { MCSClient 852 google_apis/gcm/engine/mcs_client.cc void MCSClient::OnConnectionResetByHeartbeat() { MCSClient 857 google_apis/gcm/engine/mcs_client.cc void MCSClient::NotifyMessageSendStatus( MCSClient 872 google_apis/gcm/engine/mcs_client.cc MCSClient::MCSPacketInternal MCSClient::PopMessageForSend() { MCSClient 46 google_apis/gcm/engine/mcs_client.h class GCM_EXPORT MCSClient { MCSClient 89 google_apis/gcm/engine/mcs_client.h MCSClient(const std::string& version_string, MCSClient 93 google_apis/gcm/engine/mcs_client.h virtual ~MCSClient(); MCSClient 262 google_apis/gcm/engine/mcs_client.h base::WeakPtrFactory<MCSClient> weak_ptr_factory_; MCSClient 264 google_apis/gcm/engine/mcs_client.h DISALLOW_COPY_AND_ASSIGN(MCSClient); MCSClient 65 google_apis/gcm/engine/mcs_client_unittest.cc class TestMCSClient : public MCSClient { MCSClient 70 google_apis/gcm/engine/mcs_client_unittest.cc : MCSClient("", clock, connection_factory, gcm_store), MCSClient 102 google_apis/gcm/engine/mcs_client_unittest.cc MCSClient::MessageSendStatus message_send_status() const { MCSClient 119 google_apis/gcm/engine/mcs_client_unittest.cc MCSClient::MessageSendStatus status); MCSClient 135 google_apis/gcm/engine/mcs_client_unittest.cc MCSClient::MessageSendStatus message_send_status_; MCSClient 143 google_apis/gcm/engine/mcs_client_unittest.cc message_send_status_(MCSClient::SENT) { MCSClient 168 google_apis/gcm/engine/mcs_client_unittest.cc &MCSClient::Initialize, MCSClient 232 google_apis/gcm/engine/mcs_client_unittest.cc MCSClient::MessageSendStatus status) { MCSClient 316 google_apis/gcm/engine/mcs_client_unittest.cc EXPECT_EQ(MCSClient::NO_CONNECTION_ON_ZERO_TTL, message_send_status()); MCSClient 356 google_apis/gcm/engine/mcs_client_unittest.cc EXPECT_EQ(MCSClient::QUEUED, message_send_status()); MCSClient 684 google_apis/gcm/engine/mcs_client_unittest.cc EXPECT_EQ(MCSClient::TTL_EXCEEDED, message_send_status()); MCSClient 712 google_apis/gcm/engine/mcs_client_unittest.cc EXPECT_EQ(MCSClient::TTL_EXCEEDED, message_send_status()); MCSClient 87 google_apis/gcm/gcm_client_impl.cc GCMClient::Result ToGCMClientResult(MCSClient::MessageSendStatus status) { MCSClient 89 google_apis/gcm/gcm_client_impl.cc case MCSClient::QUEUED: MCSClient 91 google_apis/gcm/gcm_client_impl.cc case MCSClient::QUEUE_SIZE_LIMIT_REACHED: MCSClient 93 google_apis/gcm/gcm_client_impl.cc case MCSClient::APP_QUEUE_SIZE_LIMIT_REACHED: MCSClient 95 google_apis/gcm/gcm_client_impl.cc case MCSClient::MESSAGE_TOO_LARGE: MCSClient 97 google_apis/gcm/gcm_client_impl.cc case MCSClient::NO_CONNECTION_ON_ZERO_TTL: MCSClient 99 google_apis/gcm/gcm_client_impl.cc case MCSClient::TTL_EXCEEDED: MCSClient 101 google_apis/gcm/gcm_client_impl.cc case MCSClient::SENT: MCSClient 135 google_apis/gcm/gcm_client_impl.cc scoped_ptr<MCSClient> GCMInternalsBuilder::BuildMCSClient( MCSClient 140 google_apis/gcm/gcm_client_impl.cc return make_scoped_ptr<MCSClient>( MCSClient 141 google_apis/gcm/gcm_client_impl.cc new MCSClient(version, MCSClient 594 google_apis/gcm/gcm_client_impl.cc MCSClient::MessageSendStatus status) { MCSClient 607 google_apis/gcm/gcm_client_impl.cc if (status == MCSClient::TTL_EXCEEDED) { MCSClient 612 google_apis/gcm/gcm_client_impl.cc } else if (status != MCSClient::SENT) { MCSClient 54 google_apis/gcm/gcm_client_impl.h virtual scoped_ptr<MCSClient> BuildMCSClient( MCSClient 149 google_apis/gcm/gcm_client_impl.h MCSClient::MessageSendStatus status); MCSClient 244 google_apis/gcm/gcm_client_impl.h scoped_ptr<MCSClient> mcs_client_; MCSClient 66 google_apis/gcm/gcm_client_impl_unittest.cc class FakeMCSClient : public MCSClient { MCSClient 92 google_apis/gcm/gcm_client_impl_unittest.cc : MCSClient("", clock, connection_factory, gcm_store), MCSClient 125 google_apis/gcm/gcm_client_impl_unittest.cc virtual scoped_ptr<MCSClient> BuildMCSClient( MCSClient 155 google_apis/gcm/gcm_client_impl_unittest.cc scoped_ptr<MCSClient> FakeGCMInternalsBuilder::BuildMCSClient( MCSClient 160 google_apis/gcm/gcm_client_impl_unittest.cc return make_scoped_ptr<MCSClient>(new FakeMCSClient(clock, MCSClient 121 google_apis/gcm/tools/mcs_probe.cc MCSClient::MessageSendStatus status) { MCSClient 243 google_apis/gcm/tools/mcs_probe.cc scoped_ptr<MCSClient> mcs_client_; MCSClient 305 google_apis/gcm/tools/mcs_probe.cc mcs_client_.reset(new MCSClient("probe",