Index: chrome/browser/services/gcm/gcm_profile_service_factory.cc |
diff --git a/chrome/browser/services/gcm/gcm_profile_service_factory.cc b/chrome/browser/services/gcm/gcm_profile_service_factory.cc |
index 6d3c86428f91ede7a049d758cd005543091e477f..185b6367564581c4de4b6bcc269f92d1ce1c01b4 100644 |
--- a/chrome/browser/services/gcm/gcm_profile_service_factory.cc |
+++ b/chrome/browser/services/gcm/gcm_profile_service_factory.cc |
@@ -11,7 +11,6 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/signin/profile_oauth2_token_service_factory.h" |
#include "chrome/browser/signin/signin_manager_factory.h" |
-#include "chrome/common/channel_info.h" |
#include "components/gcm_driver/gcm_profile_service.h" |
#include "components/keyed_service/content/browser_context_dependency_manager.h" |
#include "components/signin/core/browser/profile_identity_provider.h" |
@@ -20,6 +19,8 @@ |
#if !defined(OS_ANDROID) |
#include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" |
+#include "chrome/common/channel_info.h" |
+#include "chrome/common/chrome_version.h" |
#include "components/gcm_driver/gcm_client_factory.h" |
#endif |
@@ -71,7 +72,7 @@ KeyedService* GCMProfileServiceFactory::BuildServiceInstanceFor( |
#else |
return new GCMProfileService( |
profile->GetPrefs(), profile->GetPath(), profile->GetRequestContext(), |
- chrome::GetChannel(), |
+ PRODUCT_SHORTNAME_STRING, chrome::GetChannel(), |
std::unique_ptr<ProfileIdentityProvider>(new ProfileIdentityProvider( |
SigninManagerFactory::GetForProfile(profile), |
ProfileOAuth2TokenServiceFactory::GetForProfile(profile), |