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

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

Issue 1009673002: Remove enhanced bookmarks sync experiment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: . Created 5 years, 9 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
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

Powered by Google App Engine
This is Rietveld 408576698