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

Unified Diff: sync/internal_api/sync_manager_impl.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
« no previous file with comments | « sync/internal_api/public/util/experiments.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/sync_manager_impl.cc
diff --git a/sync/internal_api/sync_manager_impl.cc b/sync/internal_api/sync_manager_impl.cc
index 1655a24428ed151a01b48a1ba08c0f3981dcc248..36c27ba8a8093e9799db3e27cb3ddbde9ac54f4b 100644
--- a/sync/internal_api/sync_manager_impl.cc
+++ b/sync/internal_api/sync_manager_impl.cc
@@ -970,17 +970,6 @@ bool SyncManagerImpl::ReceivedExperiment(Experiments* experiments) {
// know about this.
}
- ReadNode gcm_channel_node(&trans);
- if (gcm_channel_node.InitByClientTagLookup(
- syncer::EXPERIMENTS,
- syncer::kGCMChannelTag) == BaseNode::INIT_OK &&
- gcm_channel_node.GetExperimentsSpecifics().gcm_channel().has_enabled()) {
- experiments->gcm_channel_state =
- (gcm_channel_node.GetExperimentsSpecifics().gcm_channel().enabled() ?
- syncer::Experiments::ENABLED : syncer::Experiments::SUPPRESSED);
- found_experiment = true;
- }
-
ReadNode enhanced_bookmarks_node(&trans);
if (enhanced_bookmarks_node.InitByClientTagLookup(
syncer::EXPERIMENTS, syncer::kEnhancedBookmarksTag) ==
« no previous file with comments | « sync/internal_api/public/util/experiments.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698