summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-01 01:51:51 +0000
committerzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-01 01:51:51 +0000
commit29f5c603f2481aa9c09054b32b238bb0ff2f1b71 (patch)
tree1f856ee6e034a7117ebb223a5ffec612974dd3fc /chrome
parentd5cc8698565b83d73f48113e0cc9b56089ba618b (diff)
downloadchromium_src-29f5c603f2481aa9c09054b32b238bb0ff2f1b71.zip
chromium_src-29f5c603f2481aa9c09054b32b238bb0ff2f1b71.tar.gz
chromium_src-29f5c603f2481aa9c09054b32b238bb0ff2f1b71.tar.bz2
[Sync] Add full history sync experiment
Turning the experiment on will enable the full history sync flag, which both updates the history UI to use full history, but also enables the history delete directives sync datatype. BUG=141245 Review URL: https://chromiumcodereview.appspot.com/12091081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180037 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/sync/profile_sync_service.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index b16c372..ca82c69 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;
}