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 515672e37f15da21b47866b793c4a66555fef7c0..d0082c3a06a469ac3c9eb295b5bb43e970eda5cc 100644 |
--- a/chrome/browser/sync/profile_sync_service.cc |
+++ b/chrome/browser/sync/profile_sync_service.cc |
@@ -23,7 +23,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" |
@@ -1157,19 +1156,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 |