Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3164)

Unified Diff: chrome/browser/invalidation/ticl_profile_settings_provider.cc

Issue 897793002: Remove gcm channel state supported by sync service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android builds Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)));
}
« no previous file with comments | « chrome/browser/invalidation/DEPS ('k') | chrome/browser/invalidation/ticl_profile_settings_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698