GCMClient 39 chrome/browser/extensions/api/gcm/gcm_api.cc const char* GcmResultToError(gcm::GCMClient::Result result) { GCMClient 41 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::SUCCESS: GCMClient 43 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::INVALID_PARAMETER: GCMClient 45 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::NOT_SIGNED_IN: GCMClient 47 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::ASYNC_OPERATION_PENDING: GCMClient 49 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::NETWORK_ERROR: GCMClient 51 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::SERVER_ERROR: GCMClient 53 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::TTL_EXCEEDED: GCMClient 55 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::UNKNOWN_ERROR: GCMClient 124 chrome/browser/extensions/api/gcm/gcm_api.cc gcm::GCMClient::Result result) { GCMClient 127 chrome/browser/extensions/api/gcm/gcm_api.cc SendResponse(gcm::GCMClient::SUCCESS == result); GCMClient 143 chrome/browser/extensions/api/gcm/gcm_api.cc gcm::GCMClient::Result result) { GCMClient 145 chrome/browser/extensions/api/gcm/gcm_api.cc SendResponse(gcm::GCMClient::SUCCESS == result); GCMClient 159 chrome/browser/extensions/api/gcm/gcm_api.cc gcm::GCMClient::OutgoingMessage outgoing_message; GCMClient 176 chrome/browser/extensions/api/gcm/gcm_api.cc gcm::GCMClient::Result result) { GCMClient 179 chrome/browser/extensions/api/gcm/gcm_api.cc SendResponse(gcm::GCMClient::SUCCESS == result); GCMClient 183 chrome/browser/extensions/api/gcm/gcm_api.cc const gcm::GCMClient::MessageData& data) const { GCMClient 217 chrome/browser/extensions/api/gcm/gcm_api.cc const gcm::GCMClient::IncomingMessage& message) { GCMClient 242 chrome/browser/extensions/api/gcm/gcm_api.cc const gcm::GCMClient::SendErrorDetails& send_error_details) { GCMClient 54 chrome/browser/extensions/api/gcm/gcm_api.h gcm::GCMClient::Result result); GCMClient 70 chrome/browser/extensions/api/gcm/gcm_api.h void CompleteFunctionWithResult(gcm::GCMClient::Result result); GCMClient 87 chrome/browser/extensions/api/gcm/gcm_api.h gcm::GCMClient::Result result); GCMClient 91 chrome/browser/extensions/api/gcm/gcm_api.h bool ValidateMessageData(const gcm::GCMClient::MessageData& data) const; GCMClient 101 chrome/browser/extensions/api/gcm/gcm_api.h const gcm::GCMClient::IncomingMessage& message); GCMClient 104 chrome/browser/extensions/api/gcm/gcm_api.h const gcm::GCMClient::SendErrorDetails& send_error_details); GCMClient 22 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::SendErrorDetails CreateErrorDetails( GCMClient 24 chrome/browser/extensions/api/gcm/gcm_apitest.cc const gcm::GCMClient::Result result, GCMClient 26 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::SendErrorDetails error; GCMClient 31 chrome/browser/extensions/api/gcm/gcm_apitest.cc case gcm::GCMClient::ASYNC_OPERATION_PENDING: GCMClient 35 chrome/browser/extensions/api/gcm/gcm_apitest.cc case gcm::GCMClient::SERVER_ERROR: GCMClient 38 chrome/browser/extensions/api/gcm/gcm_apitest.cc case gcm::GCMClient::NETWORK_ERROR: GCMClient 41 chrome/browser/extensions/api/gcm/gcm_apitest.cc case gcm::GCMClient::TTL_EXCEEDED: GCMClient 44 chrome/browser/extensions/api/gcm/gcm_apitest.cc case gcm::GCMClient::UNKNOWN_ERROR: GCMClient 135 chrome/browser/extensions/api/gcm/gcm_apitest.cc service()->AddExpectedUnregisterResponse(gcm::GCMClient::SUCCESS); GCMClient 136 chrome/browser/extensions/api/gcm/gcm_apitest.cc service()->AddExpectedUnregisterResponse(gcm::GCMClient::SERVER_ERROR); GCMClient 150 chrome/browser/extensions/api/gcm/gcm_apitest.cc const gcm::GCMClient::OutgoingMessage& message = GCMClient 152 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::MessageData::const_iterator iter; GCMClient 184 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::IncomingMessage message; GCMClient 210 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::ASYNC_OPERATION_PENDING, GCMClient 215 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::SERVER_ERROR, GCMClient 220 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::NETWORK_ERROR, GCMClient 225 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::UNKNOWN_ERROR, GCMClient 230 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::TTL_EXCEEDED, GCMClient 83 chrome/browser/extensions/extension_gcm_app_handler.cc const gcm::GCMClient::IncomingMessage& message) { GCMClient 97 chrome/browser/extensions/extension_gcm_app_handler.cc const gcm::GCMClient::SendErrorDetails& send_error_details) { GCMClient 143 chrome/browser/extensions/extension_gcm_app_handler.cc const std::string& app_id, gcm::GCMClient::Result result) { GCMClient 44 chrome/browser/extensions/extension_gcm_app_handler.h const gcm::GCMClient::IncomingMessage& message) OVERRIDE; GCMClient 48 chrome/browser/extensions/extension_gcm_app_handler.h const gcm::GCMClient::SendErrorDetails& send_error_details) OVERRIDE; GCMClient 52 chrome/browser/extensions/extension_gcm_app_handler.h gcm::GCMClient::Result result); GCMClient 48 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc unregistration_result_(GCMClient::UNKNOWN_ERROR) { GCMClient 56 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc const GCMClient::IncomingMessage& message)OVERRIDE { GCMClient 64 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc const GCMClient::SendErrorDetails& send_error_details) OVERRIDE { GCMClient 68 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc GCMClient::Result result) OVERRIDE { GCMClient 73 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc GCMClient::Result unregistration_result() const { GCMClient 79 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc GCMClient::Result unregistration_result_; GCMClient 93 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc registration_result_(GCMClient::UNKNOWN_ERROR), GCMClient 94 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc unregistration_result_(GCMClient::UNKNOWN_ERROR) { GCMClient 215 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc GCMClient::Result result) { GCMClient 233 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc GCMClient::Result registration_result() const { return registration_result_; } GCMClient 234 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc GCMClient::Result unregistration_result() const { GCMClient 253 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc GCMClient::Result registration_result_; GCMClient 254 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc GCMClient::Result unregistration_result_; GCMClient 295 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, registration_result()); GCMClient 300 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, gcm_app_handler()->unregistration_result()); GCMClient 58 chrome/browser/invalidation/gcm_invalidation_bridge.cc gcm::GCMClient::Result result); GCMClient 138 chrome/browser/invalidation/gcm_invalidation_bridge.cc gcm::GCMClient::Result result) { GCMClient 263 chrome/browser/invalidation/gcm_invalidation_bridge.cc gcm::GCMClient::Result result) { GCMClient 290 chrome/browser/invalidation/gcm_invalidation_bridge.cc const gcm::GCMClient::IncomingMessage& message) { GCMClient 291 chrome/browser/invalidation/gcm_invalidation_bridge.cc gcm::GCMClient::MessageData::const_iterator it; GCMClient 317 chrome/browser/invalidation/gcm_invalidation_bridge.cc const gcm::GCMClient::SendErrorDetails& send_error_details) { GCMClient 54 chrome/browser/invalidation/gcm_invalidation_bridge.h const gcm::GCMClient::IncomingMessage& message) GCMClient 59 chrome/browser/invalidation/gcm_invalidation_bridge.h const gcm::GCMClient::SendErrorDetails& send_error_details) OVERRIDE; GCMClient 80 chrome/browser/invalidation/gcm_invalidation_bridge.h gcm::GCMClient::Result result); GCMClient 40 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc callback, std::string("registration.id"), gcm::GCMClient::SUCCESS)); GCMClient 102 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc gcm::GCMClient::Result result) { GCMClient 23 chrome/browser/services/gcm/default_gcm_app_handler.cc const GCMClient::IncomingMessage& message) { GCMClient 34 chrome/browser/services/gcm/default_gcm_app_handler.cc const GCMClient::SendErrorDetails& send_error_details) { GCMClient 23 chrome/browser/services/gcm/default_gcm_app_handler.h const GCMClient::IncomingMessage& message) OVERRIDE; GCMClient 27 chrome/browser/services/gcm/default_gcm_app_handler.h const GCMClient::SendErrorDetails& send_error_details) OVERRIDE; GCMClient 48 chrome/browser/services/gcm/fake_gcm_profile_service.cc callback.Run(base::UintToString(sender_ids.size()), GCMClient::SUCCESS); GCMClient 59 chrome/browser/services/gcm/fake_gcm_profile_service.cc const GCMClient::OutgoingMessage& message, GCMClient 74 chrome/browser/services/gcm/fake_gcm_profile_service.cc const GCMClient::OutgoingMessage& message, GCMClient 81 chrome/browser/services/gcm/fake_gcm_profile_service.cc callback.Run(message.id, GCMClient::SUCCESS); GCMClient 85 chrome/browser/services/gcm/fake_gcm_profile_service.cc GCMClient::Result result) { GCMClient 89 chrome/browser/services/gcm/fake_gcm_profile_service.cc GCMClient::Result FakeGCMProfileService::GetNextExpectedUnregisterResponse() { GCMClient 91 chrome/browser/services/gcm/fake_gcm_profile_service.cc return GCMClient::SUCCESS; GCMClient 92 chrome/browser/services/gcm/fake_gcm_profile_service.cc GCMClient::Result response = *unregister_responses_.begin(); GCMClient 34 chrome/browser/services/gcm/fake_gcm_profile_service.h const GCMClient::OutgoingMessage& message, GCMClient 43 chrome/browser/services/gcm/fake_gcm_profile_service.h const GCMClient::OutgoingMessage& message, GCMClient 46 chrome/browser/services/gcm/fake_gcm_profile_service.h void AddExpectedUnregisterResponse(GCMClient::Result result); GCMClient 47 chrome/browser/services/gcm/fake_gcm_profile_service.h GCMClient::Result GetNextExpectedUnregisterResponse(); GCMClient 49 chrome/browser/services/gcm/fake_gcm_profile_service.h const GCMClient::OutgoingMessage& last_sent_message() const { GCMClient 75 chrome/browser/services/gcm/fake_gcm_profile_service.h std::vector<GCMClient::Result> unregister_responses_; GCMClient 76 chrome/browser/services/gcm/fake_gcm_profile_service.h GCMClient::OutgoingMessage last_sent_message_; GCMClient 29 chrome/browser/services/gcm/gcm_app_handler.h const GCMClient::IncomingMessage& message) = 0; GCMClient 37 chrome/browser/services/gcm/gcm_app_handler.h const GCMClient::SendErrorDetails& send_error_details) = 0; GCMClient 11 chrome/browser/services/gcm/gcm_client_factory.cc scoped_ptr<GCMClient> GCMClientFactory::BuildInstance() { GCMClient 12 chrome/browser/services/gcm/gcm_client_factory.cc return scoped_ptr<GCMClient>(new GCMClientImpl( GCMClient 13 chrome/browser/services/gcm/gcm_client_factory.h class GCMClient; GCMClient 22 chrome/browser/services/gcm/gcm_client_factory.h virtual scoped_ptr<GCMClient> BuildInstance(); GCMClient 100 chrome/browser/services/gcm/gcm_client_mock.cc GCMClient::GCMStatistics GCMClientMock::GetStatistics() const { GCMClient 101 chrome/browser/services/gcm/gcm_client_mock.cc return GCMClient::GCMStatistics(); GCMClient 170 chrome/browser/services/gcm/gcm_client_mock.cc delegate_->OnUnregisterFinished(app_id, GCMClient::SUCCESS); GCMClient 206 chrome/browser/services/gcm/gcm_client_mock.cc const GCMClient::SendErrorDetails& send_error_details) { GCMClient 14 chrome/browser/services/gcm/gcm_client_mock.h class GCMClientMock : public GCMClient { GCMClient 138 chrome/browser/services/gcm/gcm_profile_service.cc : public GCMClient::Delegate, GCMClient 148 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient::Result result) OVERRIDE; GCMClient 150 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient::Result result) OVERRIDE; GCMClient 153 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient::Result result) OVERRIDE; GCMClient 156 chrome/browser/services/gcm/gcm_profile_service.cc const GCMClient::IncomingMessage& message) OVERRIDE; GCMClient 160 chrome/browser/services/gcm/gcm_profile_service.cc const GCMClient::SendErrorDetails& send_error_details) OVERRIDE; GCMClient 178 chrome/browser/services/gcm/gcm_profile_service.cc const GCMClient::OutgoingMessage& message); GCMClient 182 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient* gcm_client_for_testing() const { return gcm_client_.get(); } GCMClient 190 chrome/browser/services/gcm/gcm_profile_service.cc scoped_ptr<GCMClient> gcm_client_; GCMClient 241 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient::Result result) { GCMClient 256 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient::Result result) { GCMClient 269 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient::Result result) { GCMClient 284 chrome/browser/services/gcm/gcm_profile_service.cc const GCMClient::IncomingMessage& message) { GCMClient 309 chrome/browser/services/gcm/gcm_profile_service.cc const GCMClient::SendErrorDetails& send_error_details) { GCMClient 369 chrome/browser/services/gcm/gcm_profile_service.cc const GCMClient::OutgoingMessage& message) { GCMClient 377 chrome/browser/services/gcm/gcm_profile_service.cc gcm::GCMClient::GCMStatistics stats; GCMClient 536 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient::Result result = EnsureAppReady(app_id); GCMClient 537 chrome/browser/services/gcm/gcm_profile_service.cc if (result != GCMClient::SUCCESS) { GCMClient 544 chrome/browser/services/gcm/gcm_profile_service.cc callback.Run(std::string(), GCMClient::ASYNC_OPERATION_PENDING); GCMClient 590 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient::Result result = EnsureAppReady(app_id); GCMClient 591 chrome/browser/services/gcm/gcm_profile_service.cc if (result != GCMClient::SUCCESS) { GCMClient 598 chrome/browser/services/gcm/gcm_profile_service.cc callback.Run(GCMClient::ASYNC_OPERATION_PENDING); GCMClient 632 chrome/browser/services/gcm/gcm_profile_service.cc const GCMClient::OutgoingMessage& message, GCMClient 637 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient::Result result = EnsureAppReady(app_id); GCMClient 638 chrome/browser/services/gcm/gcm_profile_service.cc if (result != GCMClient::SUCCESS) { GCMClient 646 chrome/browser/services/gcm/gcm_profile_service.cc callback.Run(message.id, GCMClient::INVALID_PARAMETER); GCMClient 668 chrome/browser/services/gcm/gcm_profile_service.cc const GCMClient::OutgoingMessage& message) { GCMClient 679 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient* GCMProfileService::GetGCMClientForTesting() const { GCMClient 792 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient::Result GCMProfileService::EnsureAppReady(const std::string& app_id) { GCMClient 798 chrome/browser/services/gcm/gcm_profile_service.cc return GCMClient::NOT_SIGNED_IN; GCMClient 800 chrome/browser/services/gcm/gcm_profile_service.cc return GCMClient::SUCCESS; GCMClient 811 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient::Result result) { GCMClient 827 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient::Result result) { GCMClient 842 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient::Result result) { GCMClient 859 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient::IncomingMessage message) { GCMClient 881 chrome/browser/services/gcm/gcm_profile_service.cc const GCMClient::SendErrorDetails& send_error_details) { GCMClient 908 chrome/browser/services/gcm/gcm_profile_service.cc GCMClient::GCMStatistics stats) { GCMClient 50 chrome/browser/services/gcm/gcm_profile_service.h GCMClient::Result result)> RegisterCallback; GCMClient 52 chrome/browser/services/gcm/gcm_profile_service.h GCMClient::Result result)> SendCallback; GCMClient 53 chrome/browser/services/gcm/gcm_profile_service.h typedef base::Callback<void(GCMClient::Result result)> UnregisterCallback; GCMClient 54 chrome/browser/services/gcm/gcm_profile_service.h typedef base::Callback<void(const GCMClient::GCMStatistics& stats)> GCMClient 120 chrome/browser/services/gcm/gcm_profile_service.h const GCMClient::OutgoingMessage& message, GCMClient 124 chrome/browser/services/gcm/gcm_profile_service.h GCMClient* GetGCMClientForTesting() const; GCMClient 171 chrome/browser/services/gcm/gcm_profile_service.h GCMClient::Result EnsureAppReady(const std::string& app_id); GCMClient 182 chrome/browser/services/gcm/gcm_profile_service.h const GCMClient::OutgoingMessage& message); GCMClient 187 chrome/browser/services/gcm/gcm_profile_service.h GCMClient::Result result); GCMClient 188 chrome/browser/services/gcm/gcm_profile_service.h void UnregisterFinished(const std::string& app_id, GCMClient::Result result); GCMClient 191 chrome/browser/services/gcm/gcm_profile_service.h GCMClient::Result result); GCMClient 193 chrome/browser/services/gcm/gcm_profile_service.h GCMClient::IncomingMessage message); GCMClient 196 chrome/browser/services/gcm/gcm_profile_service.h const GCMClient::SendErrorDetails& send_error_details); GCMClient 202 chrome/browser/services/gcm/gcm_profile_service.h void RequestGCMStatisticsFinished(GCMClient::GCMStatistics stats); GCMClient 115 chrome/browser/services/gcm/gcm_profile_service_test_helper.cc scoped_ptr<GCMClient> FakeGCMClientFactory::BuildInstance() { GCMClient 116 chrome/browser/services/gcm/gcm_profile_service_test_helper.cc return scoped_ptr<GCMClient>(new GCMClientMock(gcm_client_loading_delay_)); GCMClient 84 chrome/browser/services/gcm/gcm_profile_service_test_helper.h virtual scoped_ptr<GCMClient> BuildInstance() OVERRIDE; GCMClient 63 chrome/browser/services/gcm/gcm_profile_service_unittest.cc const GCMClient::IncomingMessage& message) OVERRIDE { GCMClient 80 chrome/browser/services/gcm/gcm_profile_service_unittest.cc const GCMClient::SendErrorDetails& send_error_details) OVERRIDE { GCMClient 90 chrome/browser/services/gcm/gcm_profile_service_unittest.cc const GCMClient::IncomingMessage& message() const { return message_; } GCMClient 91 chrome/browser/services/gcm/gcm_profile_service_unittest.cc const GCMClient::SendErrorDetails& send_error_details() const { GCMClient 97 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::Result send_error_result() const { GCMClient 100 chrome/browser/services/gcm/gcm_profile_service_unittest.cc const GCMClient::MessageData& send_error_data() const { GCMClient 108 chrome/browser/services/gcm/gcm_profile_service_unittest.cc send_error_details_ = GCMClient::SendErrorDetails(); GCMClient 115 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::IncomingMessage message_; GCMClient 116 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::SendErrorDetails send_error_details_; GCMClient 130 chrome/browser/services/gcm/gcm_profile_service_unittest.cc registration_result_(GCMClient::UNKNOWN_ERROR), GCMClient 131 chrome/browser/services/gcm/gcm_profile_service_unittest.cc unregistration_result_(GCMClient::UNKNOWN_ERROR), GCMClient 132 chrome/browser/services/gcm/gcm_profile_service_unittest.cc send_result_(GCMClient::UNKNOWN_ERROR) { GCMClient 187 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::Result result) { GCMClient 195 chrome/browser/services/gcm/gcm_profile_service_unittest.cc const GCMClient::OutgoingMessage& message) { GCMClient 204 chrome/browser/services/gcm/gcm_profile_service_unittest.cc void SendCompleted(const std::string& message_id, GCMClient::Result result) { GCMClient 217 chrome/browser/services/gcm/gcm_profile_service_unittest.cc void UnregisterCompleted(GCMClient::Result result) { GCMClient 253 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::Result registration_result() const { return registration_result_; } GCMClient 254 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::Result unregistration_result() const { GCMClient 258 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::Result send_result() const { return send_result_; } GCMClient 262 chrome/browser/services/gcm/gcm_profile_service_unittest.cc registration_result_ = GCMClient::UNKNOWN_ERROR; GCMClient 265 chrome/browser/services/gcm/gcm_profile_service_unittest.cc unregistration_result_ = GCMClient::UNKNOWN_ERROR; GCMClient 269 chrome/browser/services/gcm/gcm_profile_service_unittest.cc send_result_ = GCMClient::UNKNOWN_ERROR; GCMClient 281 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::Result registration_result_; GCMClient 283 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::Result unregistration_result_; GCMClient 286 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::Result send_result_; GCMClient 491 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::NOT_SIGNED_IN, consumer()->registration_result()); GCMClient 520 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 526 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::OutgoingMessage message; GCMClient 532 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::NOT_SIGNED_IN, consumer()->send_result()); GCMClient 548 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::OutgoingMessage message; GCMClient 560 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->send_result()); GCMClient 589 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 599 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_NE(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 612 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 627 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 640 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 652 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 667 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::UNKNOWN_ERROR, consumer()->registration_result()); GCMClient 674 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 686 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::NOT_SIGNED_IN, consumer()->registration_result()); GCMClient 696 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 701 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->unregistration_result()); GCMClient 714 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::ASYNC_OPERATION_PENDING, GCMClient 719 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 728 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::ASYNC_OPERATION_PENDING, GCMClient 734 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->unregistration_result()); GCMClient 746 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::ASYNC_OPERATION_PENDING, GCMClient 752 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 761 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::ASYNC_OPERATION_PENDING, GCMClient 766 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->unregistration_result()); GCMClient 771 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 776 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::OutgoingMessage message; GCMClient 785 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->send_result()); GCMClient 794 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::OutgoingMessage message; GCMClient 801 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::UNKNOWN_ERROR, consumer()->send_result()); GCMClient 808 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->send_result()); GCMClient 815 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::OutgoingMessage message; GCMClient 822 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::NOT_SIGNED_IN, consumer()->send_result()); GCMClient 826 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::OutgoingMessage message; GCMClient 836 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->send_result()); GCMClient 845 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_NE(GCMClient::SUCCESS, GCMClient 853 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::IncomingMessage message; GCMClient 871 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::IncomingMessage message; GCMClient 947 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 951 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 964 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer2()->registration_result()); GCMClient 969 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::OutgoingMessage message; GCMClient 976 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::OutgoingMessage message2; GCMClient 985 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->send_result()); GCMClient 988 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer2()->send_result()); GCMClient 991 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::OutgoingMessage message3; GCMClient 999 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->send_result()); GCMClient 1011 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::IncomingMessage message; GCMClient 1018 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::IncomingMessage message2; GCMClient 1039 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::IncomingMessage message3; GCMClient 1090 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 1094 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->registration_result()); GCMClient 1097 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::OutgoingMessage out_message; GCMClient 1106 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer()->send_result()); GCMClient 1109 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::IncomingMessage in_message; GCMClient 1125 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::IncomingMessage in_message2; GCMClient 1130 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::IncomingMessage in_message3; GCMClient 1155 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::OutgoingMessage out_message2; GCMClient 1160 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::OutgoingMessage out_message3; GCMClient 1168 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer2()->send_result()); GCMClient 1173 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer2()->send_result()); GCMClient 1182 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::NOT_SIGNED_IN, consumer()->registration_result()); GCMClient 1187 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::NOT_SIGNED_IN, consumer()->send_result()); GCMClient 1200 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::OutgoingMessage out_message4; GCMClient 1207 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, consumer2()->send_result()); GCMClient 1216 chrome/browser/services/gcm/gcm_profile_service_unittest.cc EXPECT_NE(GCMClient::SUCCESS, GCMClient 1229 chrome/browser/services/gcm/gcm_profile_service_unittest.cc GCMClient::IncomingMessage in_message5; GCMClient 40 chrome/browser/ui/webui/gcm_internals_ui.cc const gcm::GCMClient::GCMStatistics* stats) const; GCMClient 47 chrome/browser/ui/webui/gcm_internals_ui.cc const gcm::GCMClient::GCMStatistics& args) const; GCMClient 63 chrome/browser/ui/webui/gcm_internals_ui.cc const gcm::GCMClient::GCMStatistics* stats) const { GCMClient 110 chrome/browser/ui/webui/gcm_internals_ui.cc const gcm::GCMClient::GCMStatistics& stats) const { GCMClient 9 google_apis/gcm/gcm_client.cc GCMClient::OutgoingMessage::OutgoingMessage() GCMClient 13 google_apis/gcm/gcm_client.cc GCMClient::OutgoingMessage::~OutgoingMessage() { GCMClient 16 google_apis/gcm/gcm_client.cc GCMClient::IncomingMessage::IncomingMessage() { GCMClient 19 google_apis/gcm/gcm_client.cc GCMClient::IncomingMessage::~IncomingMessage() { GCMClient 22 google_apis/gcm/gcm_client.cc GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {} GCMClient 24 google_apis/gcm/gcm_client.cc GCMClient::SendErrorDetails::~SendErrorDetails() {} GCMClient 26 google_apis/gcm/gcm_client.cc GCMClient::GCMStatistics::GCMStatistics() GCMClient 30 google_apis/gcm/gcm_client.cc GCMClient::GCMStatistics::~GCMStatistics() { GCMClient 33 google_apis/gcm/gcm_client.cc GCMClient::GCMClient() { GCMClient 36 google_apis/gcm/gcm_client.cc GCMClient::~GCMClient() { GCMClient 34 google_apis/gcm/gcm_client.h class GCM_EXPORT GCMClient { GCMClient 120 google_apis/gcm/gcm_client.h GCMClient::Result result) = 0; GCMClient 154 google_apis/gcm/gcm_client.h GCMClient(); GCMClient 155 google_apis/gcm/gcm_client.h virtual ~GCMClient(); GCMClient 87 google_apis/gcm/gcm_client_impl.cc GCMClient::Result ToGCMClientResult(MCSClient::MessageSendStatus status) { GCMClient 90 google_apis/gcm/gcm_client_impl.cc return GCMClient::SUCCESS; GCMClient 92 google_apis/gcm/gcm_client_impl.cc return GCMClient::NETWORK_ERROR; GCMClient 94 google_apis/gcm/gcm_client_impl.cc return GCMClient::NETWORK_ERROR; GCMClient 96 google_apis/gcm/gcm_client_impl.cc return GCMClient::INVALID_PARAMETER; GCMClient 98 google_apis/gcm/gcm_client_impl.cc return GCMClient::NETWORK_ERROR; GCMClient 100 google_apis/gcm/gcm_client_impl.cc return GCMClient::NETWORK_ERROR; GCMClient 563 google_apis/gcm/gcm_client_impl.cc GCMClient::GCMStatistics GCMClientImpl::GetStatistics() const { GCMClient 564 google_apis/gcm/gcm_client_impl.cc GCMClient::GCMStatistics stats; GCMClient 610 google_apis/gcm/gcm_client_impl.cc send_error_details.result = GCMClient::TTL_EXCEEDED; GCMClient 70 google_apis/gcm/gcm_client_impl.h class GCM_EXPORT GCMClientImpl : public GCMClient { GCMClient 176 google_apis/gcm/gcm_client_impl_unittest.cc public GCMClient::Delegate { GCMClient 198 google_apis/gcm/gcm_client_impl_unittest.cc GCMClient::Result result) OVERRIDE; GCMClient 200 google_apis/gcm/gcm_client_impl_unittest.cc GCMClient::Result result) OVERRIDE; GCMClient 203 google_apis/gcm/gcm_client_impl_unittest.cc GCMClient::Result result) OVERRIDE {} GCMClient 205 google_apis/gcm/gcm_client_impl_unittest.cc const GCMClient::IncomingMessage& message) GCMClient 210 google_apis/gcm/gcm_client_impl_unittest.cc const gcm::GCMClient::SendErrorDetails& send_error_details) OVERRIDE; GCMClient 226 google_apis/gcm/gcm_client_impl_unittest.cc last_result_ = GCMClient::UNKNOWN_ERROR; GCMClient 235 google_apis/gcm/gcm_client_impl_unittest.cc GCMClient::Result last_result() const { return last_result_; } GCMClient 236 google_apis/gcm/gcm_client_impl_unittest.cc const GCMClient::IncomingMessage& last_message() const { GCMClient 239 google_apis/gcm/gcm_client_impl_unittest.cc const GCMClient::SendErrorDetails& last_error_details() const { GCMClient 260 google_apis/gcm/gcm_client_impl_unittest.cc GCMClient::Result last_result_; GCMClient 261 google_apis/gcm/gcm_client_impl_unittest.cc GCMClient::IncomingMessage last_message_; GCMClient 262 google_apis/gcm/gcm_client_impl_unittest.cc GCMClient::SendErrorDetails last_error_details_; GCMClient 277 google_apis/gcm/gcm_client_impl_unittest.cc last_result_(GCMClient::UNKNOWN_ERROR), GCMClient 402 google_apis/gcm/gcm_client_impl_unittest.cc const GCMClient::IncomingMessage& message) { GCMClient 411 google_apis/gcm/gcm_client_impl_unittest.cc GCMClient::Result result) { GCMClient 419 google_apis/gcm/gcm_client_impl_unittest.cc GCMClient::Result result) { GCMClient 432 google_apis/gcm/gcm_client_impl_unittest.cc const gcm::GCMClient::SendErrorDetails& send_error_details) { GCMClient 467 google_apis/gcm/gcm_client_impl_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, last_result()); GCMClient 482 google_apis/gcm/gcm_client_impl_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, last_result()); GCMClient 506 google_apis/gcm/gcm_client_impl_unittest.cc EXPECT_EQ(GCMClient::SUCCESS, last_result()); GCMClient 572 google_apis/gcm/gcm_client_impl_unittest.cc GCMClient::MessageData::const_iterator iter = GCMClient 594 google_apis/gcm/gcm_client_impl_unittest.cc GCMClient::OutgoingMessage message; GCMClient 127 sync/notifier/gcm_network_channel.cc gcm::GCMClient::Result result) { GCMClient 129 sync/notifier/gcm_network_channel.cc if (result == gcm::GCMClient::SUCCESS) { GCMClient 140 sync/notifier/gcm_network_channel.cc case gcm::GCMClient::NETWORK_ERROR: GCMClient 141 sync/notifier/gcm_network_channel.cc case gcm::GCMClient::SERVER_ERROR: GCMClient 142 sync/notifier/gcm_network_channel.cc case gcm::GCMClient::TTL_EXCEEDED: GCMClient 143 sync/notifier/gcm_network_channel.cc case gcm::GCMClient::UNKNOWN_ERROR: { GCMClient 378 sync/notifier/gcm_network_channel.cc registration_result_(gcm::GCMClient::UNKNOWN_ERROR), GCMClient 404 sync/notifier/gcm_network_channel.cc const gcm::GCMClient::Result result) const { GCMClient 407 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::SUCCESS); GCMClient 408 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::NETWORK_ERROR); GCMClient 409 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::SERVER_ERROR); GCMClient 410 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::TTL_EXCEEDED); GCMClient 411 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::UNKNOWN_ERROR); GCMClient 412 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::NOT_SIGNED_IN); GCMClient 413 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::INVALID_PARAMETER); GCMClient 414 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::ASYNC_OPERATION_PENDING); GCMClient 36 sync/notifier/gcm_network_channel.h const gcm::GCMClient::Result result) const; GCMClient 43 sync/notifier/gcm_network_channel.h gcm::GCMClient::Result registration_result_; GCMClient 89 sync/notifier/gcm_network_channel.h gcm::GCMClient::Result result); GCMClient 30 sync/notifier/gcm_network_channel_delegate.h gcm::GCMClient::Result result)> RegisterCallback; GCMClient 252 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("registration.id", gcm::GCMClient::SUCCESS); GCMClient 279 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("", gcm::GCMClient::NETWORK_ERROR); GCMClient 284 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("", gcm::GCMClient::NOT_SIGNED_IN); GCMClient 310 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("registration.id", gcm::GCMClient::SUCCESS); GCMClient 325 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("registration.id", gcm::GCMClient::SUCCESS); GCMClient 350 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("registration.id", gcm::GCMClient::SUCCESS); GCMClient 376 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("registration.id", gcm::GCMClient::SUCCESS); GCMClient 417 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("registration.id", gcm::GCMClient::SUCCESS); GCMClient 459 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("registration.id", gcm::GCMClient::SUCCESS);