diff options
author | zea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-01 01:51:51 +0000 |
---|---|---|
committer | zea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-01 01:51:51 +0000 |
commit | 29f5c603f2481aa9c09054b32b238bb0ff2f1b71 (patch) | |
tree | 1f856ee6e034a7117ebb223a5ffec612974dd3fc /chrome | |
parent | d5cc8698565b83d73f48113e0cc9b56089ba618b (diff) | |
download | chromium_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.cc | 6 |
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; } |