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

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

Issue 291153012: Consolidated enhanced bookmarks experiment logic in one place. (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 63a36248e8f26afeeec60fac016a32e4bbc612fc..b283df3a50aa18d09b78149e54c6c5505423a469 100644
--- a/chrome/browser/bookmarks/enhanced_bookmarks_features.h
+++ b/chrome/browser/bookmarks/enhanced_bookmarks_features.h
@@ -21,6 +21,7 @@ enum BookmarksExperimentState {
kBookmarksExperimentEnabledFromFinch,
kBookmarksExperimentOptOutFromFinch,
kBookmarksExperimentEnabledFromFinchUserSignedIn,
+ kBookmarksExperimentEnabledFromSyncUnknown,
kBookmarksExperimentEnumSize
};
@@ -31,9 +32,11 @@ bool GetBookmarksExperimentExtensionID(const PrefService* user_prefs,
// Updates bookmark experiment state based on information from Chrome sync
// and Finch experiments.
-void UpdateBookmarksExperimentState(PrefService* user_prefs,
- PrefService* local_state,
- bool user_signed_in);
+void UpdateBookmarksExperimentState(
+ PrefService* user_prefs,
+ PrefService* local_state,
+ bool user_signed_in,
+ BookmarksExperimentState experiment_enabled_from_sync);
// Sets flag to opt-in user into Finch experiment.
void ForceFinchBookmarkExperimentIfNeeded(

Powered by Google App Engine
This is Rietveld 408576698