| 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..a12ad6309bd8096fc7ed1a86253de2c0d0f965ed 100644
|
| --- a/chrome/browser/bookmarks/enhanced_bookmarks_features.h
|
| +++ b/chrome/browser/bookmarks/enhanced_bookmarks_features.h
|
| @@ -43,12 +43,23 @@ 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(PrefService* user_prefs,
|
| + PrefService* local_state);
|
| +
|
| +// Returns true if enhanced bookmarks experiment is enabled.
|
| +// Experiment could be enable from Chrome sync or from Finch.
|
| +bool IsEnhancedBookmarksExperimentEnabled(PrefService* user_prefs,
|
| + PrefService* local_state);
|
| +
|
| +#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.
|
|
|