Index: chrome/browser/invalidation/ticl_profile_settings_provider.cc |
diff --git a/chrome/browser/invalidation/ticl_profile_settings_provider.cc b/chrome/browser/invalidation/ticl_profile_settings_provider.cc |
index b0160122652d9852422b53327ad2d3c66dc73f93..6b2292c9f8eef8fe7e83f4b932c9b60d64245dde 100644 |
--- a/chrome/browser/invalidation/ticl_profile_settings_provider.cc |
+++ b/chrome/browser/invalidation/ticl_profile_settings_provider.cc |
@@ -12,6 +12,7 @@ |
#include "chrome/browser/services/gcm/gcm_profile_service.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/pref_names.h" |
+#include "components/gcm_driver/gcm_channel_status_syncer.h" |
namespace invalidation { |
@@ -23,7 +24,7 @@ TiclProfileSettingsProvider::TiclProfileSettingsProvider(Profile* profile) |
base::Bind(&TiclProfileSettingsProvider::FireOnUseGCMChannelChanged, |
base::Unretained(this))); |
registrar_.Add( |
- prefs::kGCMChannelEnabled, |
+ gcm::prefs::kGCMChannelStatus, |
base::Bind(&TiclProfileSettingsProvider::FireOnUseGCMChannelChanged, |
base::Unretained(this))); |
} |