gcm 39 chrome/browser/extensions/api/gcm/gcm_api.cc const char* GcmResultToError(gcm::GCMClient::Result result) { gcm 41 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::SUCCESS: gcm 43 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::INVALID_PARAMETER: gcm 45 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::NOT_SIGNED_IN: gcm 47 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::ASYNC_OPERATION_PENDING: gcm 49 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::NETWORK_ERROR: gcm 51 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::SERVER_ERROR: gcm 53 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::TTL_EXCEEDED: gcm 55 chrome/browser/extensions/api/gcm/gcm_api.cc case gcm::GCMClient::UNKNOWN_ERROR: gcm 96 chrome/browser/extensions/api/gcm/gcm_api.cc return gcm::GCMProfileService::GetGCMEnabledState(profile) != gcm 97 chrome/browser/extensions/api/gcm/gcm_api.cc gcm::GCMProfileService::ALWAYS_DISABLED; gcm 100 chrome/browser/extensions/api/gcm/gcm_api.cc gcm::GCMProfileService* GcmApiFunction::GCMProfileService() const { gcm 101 chrome/browser/extensions/api/gcm/gcm_api.cc return gcm::GCMProfileServiceFactory::GetForProfile( gcm 110 chrome/browser/extensions/api/gcm/gcm_api.cc scoped_ptr<api::gcm::Register::Params> params( gcm 111 chrome/browser/extensions/api/gcm/gcm_api.cc api::gcm::Register::Params::Create(*args_)); gcm 124 chrome/browser/extensions/api/gcm/gcm_api.cc gcm::GCMClient::Result result) { gcm 127 chrome/browser/extensions/api/gcm/gcm_api.cc SendResponse(gcm::GCMClient::SUCCESS == result); gcm 143 chrome/browser/extensions/api/gcm/gcm_api.cc gcm::GCMClient::Result result) { gcm 145 chrome/browser/extensions/api/gcm/gcm_api.cc SendResponse(gcm::GCMClient::SUCCESS == result); gcm 153 chrome/browser/extensions/api/gcm/gcm_api.cc scoped_ptr<api::gcm::Send::Params> params( gcm 154 chrome/browser/extensions/api/gcm/gcm_api.cc api::gcm::Send::Params::Create(*args_)); gcm 159 chrome/browser/extensions/api/gcm/gcm_api.cc gcm::GCMClient::OutgoingMessage outgoing_message; gcm 176 chrome/browser/extensions/api/gcm/gcm_api.cc gcm::GCMClient::Result result) { gcm 179 chrome/browser/extensions/api/gcm/gcm_api.cc SendResponse(gcm::GCMClient::SUCCESS == result); gcm 183 chrome/browser/extensions/api/gcm/gcm_api.cc const gcm::GCMClient::MessageData& data) const { gcm 202 chrome/browser/extensions/api/gcm/gcm_api.cc this, api::gcm::OnMessage::kEventName); gcm 204 chrome/browser/extensions/api/gcm/gcm_api.cc this, api::gcm::OnMessagesDeleted::kEventName); gcm 206 chrome/browser/extensions/api/gcm/gcm_api.cc this, api::gcm::OnSendError::kEventName); gcm 217 chrome/browser/extensions/api/gcm/gcm_api.cc const gcm::GCMClient::IncomingMessage& message) { gcm 218 chrome/browser/extensions/api/gcm/gcm_api.cc api::gcm::OnMessage::Message message_arg; gcm 224 chrome/browser/extensions/api/gcm/gcm_api.cc api::gcm::OnMessage::kEventName, gcm 225 chrome/browser/extensions/api/gcm/gcm_api.cc api::gcm::OnMessage::Create(message_arg).Pass(), gcm 233 chrome/browser/extensions/api/gcm/gcm_api.cc api::gcm::OnMessagesDeleted::kEventName, gcm 234 chrome/browser/extensions/api/gcm/gcm_api.cc api::gcm::OnMessagesDeleted::Create().Pass(), gcm 242 chrome/browser/extensions/api/gcm/gcm_api.cc const gcm::GCMClient::SendErrorDetails& send_error_details) { gcm 243 chrome/browser/extensions/api/gcm/gcm_api.cc api::gcm::OnSendError::Error error; gcm 249 chrome/browser/extensions/api/gcm/gcm_api.cc api::gcm::OnSendError::kEventName, gcm 250 chrome/browser/extensions/api/gcm/gcm_api.cc api::gcm::OnSendError::Create(error).Pass(), gcm 257 chrome/browser/extensions/api/gcm/gcm_api.cc if (gcm::GCMProfileService::GetGCMEnabledState(profile_) == gcm 258 chrome/browser/extensions/api/gcm/gcm_api.cc gcm::GCMProfileService::ALWAYS_DISABLED) { gcm 261 chrome/browser/extensions/api/gcm/gcm_api.cc gcm::GCMProfileServiceFactory::GetForProfile(profile_)->Start(); gcm 13 chrome/browser/extensions/api/gcm/gcm_api.h namespace gcm { gcm 37 chrome/browser/extensions/api/gcm/gcm_api.h gcm::GCMProfileService* GCMProfileService() const; gcm 54 chrome/browser/extensions/api/gcm/gcm_api.h gcm::GCMClient::Result result); gcm 70 chrome/browser/extensions/api/gcm/gcm_api.h void CompleteFunctionWithResult(gcm::GCMClient::Result result); gcm 87 chrome/browser/extensions/api/gcm/gcm_api.h gcm::GCMClient::Result result); gcm 91 chrome/browser/extensions/api/gcm/gcm_api.h bool ValidateMessageData(const gcm::GCMClient::MessageData& data) const; gcm 101 chrome/browser/extensions/api/gcm/gcm_api.h const gcm::GCMClient::IncomingMessage& message); gcm 104 chrome/browser/extensions/api/gcm/gcm_api.h const gcm::GCMClient::SendErrorDetails& send_error_details); gcm 22 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::SendErrorDetails CreateErrorDetails( gcm 24 chrome/browser/extensions/api/gcm/gcm_apitest.cc const gcm::GCMClient::Result result, gcm 26 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::SendErrorDetails error; gcm 31 chrome/browser/extensions/api/gcm/gcm_apitest.cc case gcm::GCMClient::ASYNC_OPERATION_PENDING: gcm 35 chrome/browser/extensions/api/gcm/gcm_apitest.cc case gcm::GCMClient::SERVER_ERROR: gcm 38 chrome/browser/extensions/api/gcm/gcm_apitest.cc case gcm::GCMClient::NETWORK_ERROR: gcm 41 chrome/browser/extensions/api/gcm/gcm_apitest.cc case gcm::GCMClient::TTL_EXCEEDED: gcm 44 chrome/browser/extensions/api/gcm/gcm_apitest.cc case gcm::GCMClient::UNKNOWN_ERROR: gcm 69 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::FakeGCMProfileService* service() const; gcm 72 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::FakeGCMProfileService* fake_gcm_profile_service_; gcm 89 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMProfileServiceFactory::GetInstance()->SetTestingFactory( gcm 90 chrome/browser/extensions/api/gcm/gcm_apitest.cc browser()->profile(), &gcm::FakeGCMProfileService::Build); gcm 91 chrome/browser/extensions/api/gcm/gcm_apitest.cc fake_gcm_profile_service_ = static_cast<gcm::FakeGCMProfileService*>( gcm 92 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMProfileServiceFactory::GetInstance()->GetForProfile( gcm 102 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::FakeGCMProfileService* GcmApiTest::service() const { gcm 135 chrome/browser/extensions/api/gcm/gcm_apitest.cc service()->AddExpectedUnregisterResponse(gcm::GCMClient::SUCCESS); gcm 136 chrome/browser/extensions/api/gcm/gcm_apitest.cc service()->AddExpectedUnregisterResponse(gcm::GCMClient::SERVER_ERROR); gcm 150 chrome/browser/extensions/api/gcm/gcm_apitest.cc const gcm::GCMClient::OutgoingMessage& message = gcm 152 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::MessageData::const_iterator iter; gcm 184 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::IncomingMessage message; gcm 210 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::ASYNC_OPERATION_PENDING, gcm 215 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::SERVER_ERROR, gcm 220 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::NETWORK_ERROR, gcm 225 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::UNKNOWN_ERROR, gcm 230 chrome/browser/extensions/api/gcm/gcm_apitest.cc gcm::GCMClient::TTL_EXCEEDED, gcm 83 chrome/browser/extensions/extension_gcm_app_handler.cc const gcm::GCMClient::IncomingMessage& message) { gcm 97 chrome/browser/extensions/extension_gcm_app_handler.cc const gcm::GCMClient::SendErrorDetails& send_error_details) { gcm 138 chrome/browser/extensions/extension_gcm_app_handler.cc gcm::GCMProfileService* ExtensionGCMAppHandler::GetGCMProfileService() const { gcm 139 chrome/browser/extensions/extension_gcm_app_handler.cc return gcm::GCMProfileServiceFactory::GetForProfile(profile_); gcm 143 chrome/browser/extensions/extension_gcm_app_handler.cc const std::string& app_id, gcm::GCMClient::Result result) { gcm 20 chrome/browser/extensions/extension_gcm_app_handler.h namespace gcm { gcm 29 chrome/browser/extensions/extension_gcm_app_handler.h class ExtensionGCMAppHandler : public gcm::GCMAppHandler, gcm 44 chrome/browser/extensions/extension_gcm_app_handler.h const gcm::GCMClient::IncomingMessage& message) OVERRIDE; gcm 48 chrome/browser/extensions/extension_gcm_app_handler.h const gcm::GCMClient::SendErrorDetails& send_error_details) OVERRIDE; gcm 52 chrome/browser/extensions/extension_gcm_app_handler.h gcm::GCMClient::Result result); gcm 62 chrome/browser/extensions/extension_gcm_app_handler.h gcm::GCMProfileService* GetGCMProfileService() const; gcm 32 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc using namespace gcm; gcm 114 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc gcm::FakeSigninManager::Build); gcm 116 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc signin_manager_ = static_cast<gcm::FakeSigninManager*>( gcm 242 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc gcm::FakeSigninManager* signin_manager_; // Not owned. gcm 58 chrome/browser/invalidation/gcm_invalidation_bridge.cc gcm::GCMClient::Result result); gcm 138 chrome/browser/invalidation/gcm_invalidation_bridge.cc gcm::GCMClient::Result result) { gcm 151 chrome/browser/invalidation/gcm_invalidation_bridge.cc gcm::GCMProfileService* gcm_profile_service, gcm 263 chrome/browser/invalidation/gcm_invalidation_bridge.cc gcm::GCMClient::Result result) { gcm 290 chrome/browser/invalidation/gcm_invalidation_bridge.cc const gcm::GCMClient::IncomingMessage& message) { gcm 291 chrome/browser/invalidation/gcm_invalidation_bridge.cc gcm::GCMClient::MessageData::const_iterator it; gcm 317 chrome/browser/invalidation/gcm_invalidation_bridge.cc const gcm::GCMClient::SendErrorDetails& send_error_details) { gcm 21 chrome/browser/invalidation/gcm_invalidation_bridge.h namespace gcm { gcm 34 chrome/browser/invalidation/gcm_invalidation_bridge.h class GCMInvalidationBridge : public gcm::GCMAppHandler, gcm 40 chrome/browser/invalidation/gcm_invalidation_bridge.h GCMInvalidationBridge(gcm::GCMProfileService* gcm_profile_service, gcm 54 chrome/browser/invalidation/gcm_invalidation_bridge.h const gcm::GCMClient::IncomingMessage& message) gcm 59 chrome/browser/invalidation/gcm_invalidation_bridge.h const gcm::GCMClient::SendErrorDetails& send_error_details) OVERRIDE; gcm 80 chrome/browser/invalidation/gcm_invalidation_bridge.h gcm::GCMClient::Result result); gcm 83 chrome/browser/invalidation/gcm_invalidation_bridge.h gcm::GCMProfileService* const gcm_profile_service_; gcm 24 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc class FakeGCMProfileService : public gcm::GCMProfileService { gcm 32 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc : gcm::GCMProfileService(profile) {} gcm 40 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc callback, std::string("registration.id"), gcm::GCMClient::SUCCESS)); gcm 78 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc builder.AddTestingFactory(gcm::GCMProfileServiceFactory::GetInstance(), gcm 87 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc (FakeGCMProfileService*)gcm::GCMProfileServiceFactory::GetForProfile( gcm 102 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc gcm::GCMClient::Result result) { gcm 74 chrome/browser/invalidation/invalidation_service_factory.cc DependsOn(gcm::GCMProfileServiceFactory::GetInstance()); gcm 399 chrome/browser/invalidation/ticl_invalidation_service.cc gcm::GCMProfileService* gcm_profile_service = gcm 400 chrome/browser/invalidation/ticl_invalidation_service.cc gcm::GCMProfileServiceFactory::GetForProfile(profile_); gcm 434 chrome/browser/invalidation/ticl_invalidation_service.cc if (gcm::GCMProfileService::GetGCMEnabledState(profile_) == gcm 435 chrome/browser/invalidation/ticl_invalidation_service.cc gcm::GCMProfileService::ALWAYS_ENABLED && gcm 378 chrome/browser/prefs/browser_prefs.cc gcm::GCMProfileService::RegisterProfilePrefs(registry); gcm 11 chrome/browser/services/gcm/default_gcm_app_handler.h namespace gcm { gcm 14 chrome/browser/services/gcm/fake_gcm_profile_service.h namespace gcm { gcm 13 chrome/browser/services/gcm/gcm_app_handler.h namespace gcm { gcm 11 chrome/browser/services/gcm/gcm_client_factory.h namespace gcm { gcm 12 chrome/browser/services/gcm/gcm_client_mock.h namespace gcm { gcm 377 chrome/browser/services/gcm/gcm_profile_service.cc gcm::GCMClient::GCMStatistics stats; gcm 38 chrome/browser/services/gcm/gcm_profile_service.h namespace gcm { gcm 14 chrome/browser/services/gcm/gcm_profile_service_factory.h namespace gcm { gcm 24 chrome/browser/services/gcm/gcm_profile_service_test_helper.h namespace gcm { gcm 1016 chrome/browser/sync/profile_sync_service.cc gcm::GCMProfileService* gcm_profile_service = gcm 1017 chrome/browser/sync/profile_sync_service.cc gcm::GCMProfileServiceFactory::GetForProfile(profile()); gcm 98 chrome/browser/sync/profile_sync_service_factory.cc gcm::GCMProfileServiceFactory::GetForProfile(profile); gcm 39 chrome/browser/ui/webui/gcm_internals_ui.cc void ReturnResults(Profile* profile, gcm::GCMProfileService* profile_service, gcm 40 chrome/browser/ui/webui/gcm_internals_ui.cc const gcm::GCMClient::GCMStatistics* stats) const; gcm 47 chrome/browser/ui/webui/gcm_internals_ui.cc const gcm::GCMClient::GCMStatistics& args) const; gcm 62 chrome/browser/ui/webui/gcm_internals_ui.cc gcm::GCMProfileService* profile_service, gcm 63 chrome/browser/ui/webui/gcm_internals_ui.cc const gcm::GCMClient::GCMStatistics* stats) const { gcm 70 chrome/browser/ui/webui/gcm_internals_ui.cc gcm::GCMProfileService::GetGCMEnabledStateString( gcm 71 chrome/browser/ui/webui/gcm_internals_ui.cc gcm::GCMProfileService::GetGCMEnabledState(profile))); gcm 97 chrome/browser/ui/webui/gcm_internals_ui.cc gcm::GCMProfileService* profile_service = gcm 98 chrome/browser/ui/webui/gcm_internals_ui.cc gcm::GCMProfileServiceFactory::GetForProfile(profile); gcm 110 chrome/browser/ui/webui/gcm_internals_ui.cc const gcm::GCMClient::GCMStatistics& stats) const { gcm 113 chrome/browser/ui/webui/gcm_internals_ui.cc gcm::GCMProfileService* profile_service = gcm 114 chrome/browser/ui/webui/gcm_internals_ui.cc gcm::GCMProfileServiceFactory::GetForProfile(profile); gcm 21 google_apis/gcm/base/mcs_message.h namespace gcm { gcm 27 google_apis/gcm/base/mcs_util.h namespace gcm { gcm 26 google_apis/gcm/base/socket_stream.h namespace gcm { gcm 23 google_apis/gcm/engine/checkin_request.h namespace gcm { gcm 16 google_apis/gcm/engine/connection_factory.h namespace gcm { gcm 25 google_apis/gcm/engine/connection_factory_impl.h namespace gcm { gcm 25 google_apis/gcm/engine/connection_handler.h namespace gcm { gcm 17 google_apis/gcm/engine/connection_handler_impl.h namespace gcm { gcm 11 google_apis/gcm/engine/fake_connection_factory.h namespace gcm { gcm 13 google_apis/gcm/engine/fake_connection_handler.h namespace gcm { gcm 28 google_apis/gcm/engine/gcm_store.h namespace gcm { gcm 19 google_apis/gcm/engine/gcm_store_impl.h namespace gcm { gcm 18 google_apis/gcm/engine/heartbeat_manager.h namespace gcm { gcm 36 google_apis/gcm/engine/mcs_client.h namespace gcm { gcm 16 google_apis/gcm/engine/registration_info.h namespace gcm { gcm 24 google_apis/gcm/engine/registration_request.h namespace gcm { gcm 21 google_apis/gcm/engine/unregistration_request.h namespace gcm { gcm 30 google_apis/gcm/gcm_client.h namespace gcm { gcm 576 google_apis/gcm/gcm_client_impl.cc void GCMClientImpl::OnMessageReceivedFromMCS(const gcm::MCSMessage& message) { gcm 622 google_apis/gcm/gcm_client_impl.cc void GCMClientImpl::HandleIncomingMessage(const gcm::MCSMessage& message) { gcm 37 google_apis/gcm/gcm_client_impl.h namespace gcm { gcm 144 google_apis/gcm/gcm_client_impl.h void OnMessageReceivedFromMCS(const gcm::MCSMessage& message); gcm 201 google_apis/gcm/gcm_client_impl.h void HandleIncomingMessage(const gcm::MCSMessage& message); gcm 210 google_apis/gcm/gcm_client_impl_unittest.cc const gcm::GCMClient::SendErrorDetails& send_error_details) OVERRIDE; gcm 432 google_apis/gcm/gcm_client_impl_unittest.cc const gcm::GCMClient::SendErrorDetails& send_error_details) { gcm 489 google_apis/gcm/tools/mcs_probe.cc return gcm::MCSProbeMain(argc, argv); gcm 127 sync/notifier/gcm_network_channel.cc gcm::GCMClient::Result result) { gcm 129 sync/notifier/gcm_network_channel.cc if (result == gcm::GCMClient::SUCCESS) { gcm 140 sync/notifier/gcm_network_channel.cc case gcm::GCMClient::NETWORK_ERROR: gcm 141 sync/notifier/gcm_network_channel.cc case gcm::GCMClient::SERVER_ERROR: gcm 142 sync/notifier/gcm_network_channel.cc case gcm::GCMClient::TTL_EXCEEDED: gcm 143 sync/notifier/gcm_network_channel.cc case gcm::GCMClient::UNKNOWN_ERROR: { gcm 378 sync/notifier/gcm_network_channel.cc registration_result_(gcm::GCMClient::UNKNOWN_ERROR), gcm 404 sync/notifier/gcm_network_channel.cc const gcm::GCMClient::Result result) const { gcm 407 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::SUCCESS); gcm 408 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::NETWORK_ERROR); gcm 409 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::SERVER_ERROR); gcm 410 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::TTL_EXCEEDED); gcm 411 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::UNKNOWN_ERROR); gcm 412 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::NOT_SIGNED_IN); gcm 413 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::INVALID_PARAMETER); gcm 414 sync/notifier/gcm_network_channel.cc ENUM_CASE(gcm::GCMClient::ASYNC_OPERATION_PENDING); gcm 36 sync/notifier/gcm_network_channel.h const gcm::GCMClient::Result result) const; gcm 43 sync/notifier/gcm_network_channel.h gcm::GCMClient::Result registration_result_; gcm 89 sync/notifier/gcm_network_channel.h gcm::GCMClient::Result result); gcm 30 sync/notifier/gcm_network_channel_delegate.h gcm::GCMClient::Result result)> RegisterCallback; gcm 252 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("registration.id", gcm::GCMClient::SUCCESS); gcm 279 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("", gcm::GCMClient::NETWORK_ERROR); gcm 284 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("", gcm::GCMClient::NOT_SIGNED_IN); gcm 310 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("registration.id", gcm::GCMClient::SUCCESS); gcm 325 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("registration.id", gcm::GCMClient::SUCCESS); gcm 350 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("registration.id", gcm::GCMClient::SUCCESS); gcm 376 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("registration.id", gcm::GCMClient::SUCCESS); gcm 417 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("registration.id", gcm::GCMClient::SUCCESS); gcm 459 sync/notifier/gcm_network_channel_unittest.cc delegate()->register_callback.Run("registration.id", gcm::GCMClient::SUCCESS);