summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r--chrome/browser/sync/profile_sync_service.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 34b8560..7ea11bc 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -24,7 +24,6 @@
#include "base/strings/stringprintf.h"
#include "base/threading/thread_restrictions.h"
#include "build/build_config.h"
-#include "chrome/browser/bookmarks/enhanced_bookmarks_features.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/browsing_data/browsing_data_helper.h"
#include "chrome/browser/chrome_notification_types.h"
@@ -1164,19 +1163,6 @@ void ProfileSyncService::OnExperimentsChanged(
autofill::prefs::kAutofillWalletSyncExperimentEnabled,
experiments.wallet_sync_enabled);
- if (experiments.enhanced_bookmarks_enabled) {
- profile_->GetPrefs()->SetString(
- sync_driver::prefs::kEnhancedBookmarksExtensionId,
- experiments.enhanced_bookmarks_ext_id);
- } else {
- profile_->GetPrefs()->ClearPref(
- sync_driver::prefs::kEnhancedBookmarksExtensionId);
- }
- UpdateBookmarksExperimentState(
- profile_->GetPrefs(), g_browser_process->local_state(), true,
- experiments.enhanced_bookmarks_enabled ? BOOKMARKS_EXPERIMENT_ENABLED :
- BOOKMARKS_EXPERIMENT_NONE);
-
// If this is a first time sync for a client, this will be called before
// OnBackendInitialized() to ensure the new datatypes are available at sync
// setup. As a result, the migrator won't exist yet. This is fine because for