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

Unified Diff: base/feature_list.h

Issue 1409933007: Register a default instance of FeatureList for content browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move logic to FeatureList. Created 5 years, 1 month 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 | base/feature_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/feature_list.h
diff --git a/base/feature_list.h b/base/feature_list.h
index acdfe54592afbb5ee07fdc550cca25dd0b64c1c0..af37e37338dd548f975de862672596fc4bda9010 100644
--- a/base/feature_list.h
+++ b/base/feature_list.h
@@ -127,6 +127,10 @@ class BASE_EXPORT FeatureList {
static std::vector<std::string> SplitFeatureListString(
const std::string& input);
+ // Initializes and sets a default instance of FeatureList if one has not yet
+ // already been set. No-op otherwise.
+ static void InitializeInstance();
+
// Returns the singleton instance of FeatureList. Will return null until an
// instance is registered via SetInstance().
static FeatureList* GetInstance();
« no previous file with comments | « no previous file | base/feature_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698