Index: chrome/browser/services/gcm/gcm_profile_service.h |
diff --git a/chrome/browser/services/gcm/gcm_profile_service.h b/chrome/browser/services/gcm/gcm_profile_service.h |
index eb476befdaa9b77ec887d11ca3bd1abb239abfde..70b61122e529bee3fcb6f54257705cdc52739d74 100644 |
--- a/chrome/browser/services/gcm/gcm_profile_service.h |
+++ b/chrome/browser/services/gcm/gcm_profile_service.h |
@@ -35,8 +35,12 @@ class GCMProfileService : public KeyedService { |
// Register profile-specific prefs for GCM. |
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
+#if defined(OS_ANDROID) |
+ explicit GCMProfileService(Profile* profile); |
+#else |
GCMProfileService(Profile* profile, |
scoped_ptr<GCMClientFactory> gcm_client_factory); |
+#endif |
virtual ~GCMProfileService(); |
// TODO(jianli): obsolete methods that are going to be removed soon. |