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

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
« no previous file with comments | « no previous file | chrome/browser/bookmarks/enhanced_bookmarks_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f88d61933bc7afe09ebec0419ec749f7ffb53f1f 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 {
brettw 2014/05/08 20:12:04 Can you have a comment above here giving an overvi
yefimt 2014/05/08 20:32:31 Done.
kNoBookmarksExperiment,
kBookmarksExperimentEnabled,
- kBookmarksExperimentEnabledUserOptOut
+ kBookmarksExperimentEnabledUserOptOut,
+ kBookmarksExperimentEnabledFromFinch,
+ kBookmarksExperimentOptOutFromFinch,
+ kBookmarksExperimentEnabledFromFinchUserSignedIn,
+ kBookmarksExperimentEnumSize
};
+bool GetBookmarksExperimentExtensionID(const PrefService* user_prefs,
brettw 2014/05/08 20:12:04 This header file is quite confusing. There are no
yefimt 2014/05/08 20:32:31 Done.
+ 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.
brettw 2014/05/08 20:12:04 I think this should say mroe clearly how this is d
yefimt 2014/05/08 20:32:31 Done.
bool IsEnhancedBookmarksExperimentEnabled();
+// Returns true if enhanced bookmarks experiment is enabled from Finch.
+bool IsEnhancedBookmarksExperimentEnabledFromFinch();
brettw 2014/05/08 20:12:04 Does this need to be a public function or can it b
yefimt 2014/05/08 20:32:31 Done.
+
// Returns true when flag enable-dom-distiller is set or enabled from Finch.
bool IsEnableDomDistillerSet();
« no previous file with comments | « no previous file | chrome/browser/bookmarks/enhanced_bookmarks_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698