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

Unified Diff: chrome/browser/bookmarks/enhanced_bookmarks_features.h

Issue 265843009: Restored an option to enable enhanced bookmarks experiment from Finch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/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..feb496fcb7ca0f2d1f1bff20e73a72e35efb3e1a 100644
--- a/chrome/browser/bookmarks/enhanced_bookmarks_features.h
+++ b/chrome/browser/bookmarks/enhanced_bookmarks_features.h
@@ -14,9 +14,19 @@ class PrefService;
enum BookmarksExperimentState {
kNoBookmarksExperiment,
kBookmarksExperimentEnabled,
- kBookmarksExperimentEnabledUserOptOut
+ kBookmarksExperimentEnabledUserOptOut,
+ kBookmarksExperimentEnabledFromFinch,
+ kBookmarksExperimentOptOutFromFinch,
+ kBookmarksExperimentEnabledFromFinchUserSignedIn,
+ kBookmarksExperimentEnumSize
};
+bool IsBookmarksExperimentEnabled(PrefService* user_prefs,
+ std::string* extension_id);
not at google - send to devlin 2014/05/06 21:35:06 run git cl format on this cl before submitting
yefimt 2014/05/06 22:02:39 Done.
+
+void UpdateBookmarksExperimentState(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 +35,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();

Powered by Google App Engine
This is Rietveld 408576698