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

Unified Diff: ios/chrome/browser/experimental_flags.mm

Issue 1253953002: Componentize enhanced_bookmark_features.{h,cc}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert change in //chrome/common/DEPS that broke checkdeps Created 5 years, 5 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: ios/chrome/browser/experimental_flags.mm
diff --git a/ios/chrome/browser/experimental_flags.mm b/ios/chrome/browser/experimental_flags.mm
index a44cfeb5dcd26077c996f7246d0fe2c6e9ac18f7..ecf130c0d3c109971544d1675584a840607d79c4 100644
--- a/ios/chrome/browser/experimental_flags.mm
+++ b/ios/chrome/browser/experimental_flags.mm
@@ -15,9 +15,9 @@
#include "base/metrics/field_trial.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
+#include "components/enhanced_bookmarks/enhanced_bookmark_features.h"
#include "components/variations/variations_associated_data.h"
#include "ios/chrome/browser/chrome_switches.h"
-#include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
#include "ios/web/public/web_view_creation_util.h"
namespace {
@@ -35,7 +35,7 @@ bool IsAlertOnBackgroundUploadEnabled() {
}
bool IsBookmarkCollectionEnabled() {
- return ios::GetChromeBrowserProvider()->IsBookmarkCollectionEnabled();
+ return enhanced_bookmarks::IsEnhancedBookmarksEnabled();
}
bool IsBookmarkImageFetchingOnVisitEnabled() {

Powered by Google App Engine
This is Rietveld 408576698