GCMClientMock 135 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc new FakeGCMClientFactory(GCMClientMock::NO_DELAY_LOADING)); GCMClientMock 16 chrome/browser/services/gcm/gcm_client_mock.cc GCMClientMock::GCMClientMock(LoadingDelay loading_delay) GCMClientMock 23 chrome/browser/services/gcm/gcm_client_mock.cc GCMClientMock::~GCMClientMock() { GCMClientMock 26 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::Initialize( GCMClientMock 37 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::Load() { GCMClientMock 46 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::DoLoading() { GCMClientMock 50 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::CheckinFinished, GCMClientMock 54 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::Stop() { GCMClientMock 59 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::CheckOut() { GCMClientMock 64 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::Register(const std::string& app_id, GCMClientMock 71 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::RegisterFinished, GCMClientMock 77 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::Unregister(const std::string& app_id) { GCMClientMock 82 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::UnregisterFinished, GCMClientMock 87 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::Send(const std::string& app_id, GCMClientMock 94 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::SendFinished, GCMClientMock 100 chrome/browser/services/gcm/gcm_client_mock.cc GCMClient::GCMStatistics GCMClientMock::GetStatistics() const { GCMClientMock 104 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::PerformDelayedLoading() { GCMClientMock 110 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::DoLoading, weak_ptr_factory_.GetWeakPtr())); GCMClientMock 113 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::ReceiveMessage(const std::string& app_id, GCMClientMock 120 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::MessageReceived, GCMClientMock 126 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::DeleteMessages(const std::string& app_id) { GCMClientMock 132 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::MessagesDeleted, GCMClientMock 138 chrome/browser/services/gcm/gcm_client_mock.cc std::string GCMClientMock::GetRegistrationIdFromSenderIds( GCMClientMock 159 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::CheckinFinished() { GCMClientMock 163 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::RegisterFinished(const std::string& app_id, GCMClientMock 169 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::UnregisterFinished(const std::string& app_id) { GCMClientMock 173 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::SendFinished(const std::string& app_id, GCMClientMock 185 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::MessageSendError, GCMClientMock 193 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::MessageReceived(const std::string& app_id, GCMClientMock 199 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::MessagesDeleted(const std::string& app_id) { GCMClientMock 204 chrome/browser/services/gcm/gcm_client_mock.cc void GCMClientMock::MessageSendError( GCMClientMock 14 chrome/browser/services/gcm/gcm_client_mock.h class GCMClientMock : public GCMClient { GCMClientMock 29 chrome/browser/services/gcm/gcm_client_mock.h explicit GCMClientMock(LoadingDelay loading_delay); GCMClientMock 30 chrome/browser/services/gcm/gcm_client_mock.h virtual ~GCMClientMock(); GCMClientMock 85 chrome/browser/services/gcm/gcm_client_mock.h base::WeakPtrFactory<GCMClientMock> weak_ptr_factory_; GCMClientMock 87 chrome/browser/services/gcm/gcm_client_mock.h DISALLOW_COPY_AND_ASSIGN(GCMClientMock); GCMClientMock 108 chrome/browser/services/gcm/gcm_profile_service_test_helper.cc GCMClientMock::LoadingDelay gcm_client_loading_delay) GCMClientMock 116 chrome/browser/services/gcm/gcm_profile_service_test_helper.cc return scoped_ptr<GCMClient>(new GCMClientMock(gcm_client_loading_delay_)); GCMClientMock 81 chrome/browser/services/gcm/gcm_profile_service_test_helper.h GCMClientMock::LoadingDelay gcm_client_loading_delay); GCMClientMock 87 chrome/browser/services/gcm/gcm_profile_service_test_helper.h GCMClientMock::LoadingDelay gcm_client_loading_delay_; GCMClientMock 129 chrome/browser/services/gcm/gcm_profile_service_unittest.cc gcm_client_loading_delay_(GCMClientMock::NO_DELAY_LOADING), GCMClientMock 226 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClientMock* GetGCMClient() const { GCMClientMock 227 chrome/browser/services/gcm/gcm_profile_service_unittest.cc return static_cast<GCMClientMock*>( GCMClientMock 248 chrome/browser/services/gcm/gcm_profile_service_unittest.cc void set_gcm_client_loading_delay(GCMClientMock::LoadingDelay delay) { GCMClientMock 278 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClientMock::LoadingDelay gcm_client_loading_delay_; GCMClientMock 391 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::LOADED, consumer()->GetGCMClient()->status()); GCMClientMock 397 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::CHECKED_OUT, consumer()->GetGCMClient()->status()); GCMClientMock 410 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::UNINITIALIZED, consumer()->GetGCMClient()->status()); GCMClientMock 416 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::CHECKED_OUT, consumer()->GetGCMClient()->status()); GCMClientMock 426 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::LOADED, consumer()->GetGCMClient()->status()); GCMClientMock 432 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::CHECKED_OUT, consumer()->GetGCMClient()->status()); GCMClientMock 439 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::LOADED, consumer()->GetGCMClient()->status()); GCMClientMock 449 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::LOADED, consumer()->GetGCMClient()->status()); GCMClientMock 457 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::STOPPED, consumer()->GetGCMClient()->status()); GCMClientMock 465 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::LOADED, consumer()->GetGCMClient()->status()); GCMClientMock 473 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::STOPPED, consumer()->GetGCMClient()->status()); GCMClientMock 480 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::CHECKED_OUT, consumer()->GetGCMClient()->status()); GCMClientMock 504 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::UNINITIALIZED, consumer()->GetGCMClient()->status()); GCMClientMock 514 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::LOADED, consumer()->GetGCMClient()->status()); GCMClientMock 518 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids); GCMClientMock 545 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::UNINITIALIZED, consumer()->GetGCMClient()->status()); GCMClientMock 556 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::LOADED, consumer()->GetGCMClient()->status()); GCMClientMock 585 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids); GCMClientMock 608 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids); GCMClientMock 636 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids); GCMClientMock 645 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids); GCMClientMock 658 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->set_gcm_client_loading_delay(GCMClientMock::DELAY_LOADING); GCMClientMock 790 chrome/browser/services/gcm/gcm_profile_service_unittest.cc consumer()->set_gcm_client_loading_delay(GCMClientMock::DELAY_LOADING); GCMClientMock 945 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids), GCMClientMock 949 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids2), GCMClientMock 962 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids3), GCMClientMock 1088 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids), GCMClientMock 1092 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClientMock::GetRegistrationIdFromSenderIds(sender_ids3),