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 c3bf9591dc17834bc481ccc26d2ad621cd0a0dee..f3a3771411edda6914fdfac273aa96488895e3c3 100644 |
--- a/chrome/browser/bookmarks/enhanced_bookmarks_features.h |
+++ b/chrome/browser/bookmarks/enhanced_bookmarks_features.h |
@@ -14,9 +14,20 @@ class PrefService; |
enum BookmarksExperimentState { |
kNoBookmarksExperiment, |
kBookmarksExperimentEnabled, |
- kBookmarksExperimentEnabledUserOptOut |
+ kBookmarksExperimentEnabledUserOptOut, |
+ kBookmarksExperimentEnabledFromFinch, |
+ kBookmarksExperimentOptOutFromFinch, |
+ kBookmarksExperimentEnabledFromFinchUserSignedIn, |
+ kBookmarksExperimentEnumSize |
}; |
+bool IsBookmarksExperimentEnabled(const PrefService* user_prefs, |
+ std::string* extension_id); |
+ |
+void UpdateBookmarksExperimentState(const PrefService* user_prefs, |
+ PrefService* local_state, |
+ bool user_signed_in); |
+ |
// Sets flag to opt-in user into Finch experiment. |
void UpdateBookmarksExperiment( |
PrefService* local_state, |
@@ -25,6 +36,9 @@ void UpdateBookmarksExperiment( |
// Returns true if enhanced bookmarks experiment is enabled. |
bool IsEnhancedBookmarksExperimentEnabled(); |
+// Returns true if enhanced bookmarks experiment is enabled from Finch. |
+bool IsEnhancedBookmarksExperimentEnabledFromFinch(); |
+ |
// Returns true when flag enable-dom-distiller is set or enabled from Finch. |
bool IsEnableDomDistillerSet(); |