Index: chrome/browser/bookmarks/enhanced_bookmarks_features.h |
diff --git a/chrome/browser/bookmarks/enhanced_bookmarks_features.h b/chrome/browser/bookmarks/enhanced_bookmarks_features.h |
index afd2473cecede597048c11ed1904537a3f73d150..e5eab73d0765454d39e4466d7932c84dc4b62cbb 100644 |
--- a/chrome/browser/bookmarks/enhanced_bookmarks_features.h |
+++ b/chrome/browser/bookmarks/enhanced_bookmarks_features.h |
@@ -43,12 +43,22 @@ void ForceFinchBookmarkExperimentIfNeeded( |
PrefService* local_state, |
BookmarksExperimentState bookmarks_experiment_state); |
+#if defined(OS_ANDROID) |
+ |
+// Returns true if enhanced bookmark salient image prefetching is enabled. |
+// This can be controlled by field trial. |
+bool IsEnhancedBookmarkImageFetchingEnabled(const PrefService* user_prefs); |
+ |
+// Returns true if enhanced bookmarks experiment is enabled. |
+// Experiment could be enable from Chrome sync or from Finch. |
+bool IsEnhancedBookmarksExperimentEnabled(const PrefService* user_prefs); |
+ |
+#else |
+ |
// Returns true if enhanced bookmarks experiment is enabled. |
// Experiment could be enable from Chrome sync or from Finch. |
bool IsEnhancedBookmarksExperimentEnabled(); |
-#if defined(OS_ANDROID) |
-bool IsEnhancedBookmarkImageFetchingEnabled(); |
#endif |
// Returns true when flag enable-dom-distiller is set or enabled from Finch. |