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

Unified Diff: chrome/browser/sync/profile_sync_service.cc

Issue 12091081: [Sync] Add full history sync experiment (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 11 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 | « no previous file | sync/internal_api/public/util/experiments.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index b16c3728ac29f826c984ac740774012002bd26fa..ca82c69896e3965e62c92c2cb788ff2270f5017b 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -931,6 +931,12 @@ void ProfileSyncService::OnExperimentsChanged(
true);
}
+ if (experiments.full_history_sync) {
+ about_flags::SetExperimentEnabled(g_browser_process->local_state(),
+ syncer::kFullHistorySyncFlag,
+ true);
+ }
+
current_experiments_ = experiments;
}
« no previous file with comments | « no previous file | sync/internal_api/public/util/experiments.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698