summaryrefslogtreecommitdiffstats
path: root/base/base.gypi
diff options
context:
space:
mode:
authorasvitkine <asvitkine@chromium.org>2015-09-04 10:17:45 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-04 17:18:12 +0000
commitbccbb867acc61bb9b8c88e3a7b0cbee6b08df0de (patch)
treec681507fc7a8bd599c2fd1f7de36099b1cb793c4 /base/base.gypi
parent72b3ed3bbde5245c380eb39b5f7bd517807d0302 (diff)
downloadchromium_src-bccbb867acc61bb9b8c88e3a7b0cbee6b08df0de.zip
chromium_src-bccbb867acc61bb9b8c88e3a7b0cbee6b08df0de.tar.gz
chromium_src-bccbb867acc61bb9b8c88e3a7b0cbee6b08df0de.tar.bz2
Initial implementation of FeatureList in base/.
This first CL adds the initial version of FeatureList singleton class, providing support for the following: - Initial class structure and singleton registration - Support for --enable-features= and --disable-features= flags - API to test if a feature is enabled or not - Its registration in chrome_browser_main.cc - Debug checks to ensure each Feature struct is defined only once - Basic unit tests Parts that will be implemented in follow-up CLs: - Integration with FieldTrials (split out into a follow-up CL) - VariationsService integration and kill switch support - Various bits above base/ (e.g. about flags, sub-process stuff ,..) BUG=526169 Review URL: https://codereview.chromium.org/1278403003 Cr-Commit-Position: refs/heads/master@{#347438}
Diffstat (limited to 'base/base.gypi')
-rw-r--r--base/base.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/base.gypi b/base/base.gypi
index 39727098..ce980ed 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -177,6 +177,8 @@
'deferred_sequenced_task_runner.h',
'environment.cc',
'environment.h',
+ 'feature_list.cc',
+ 'feature_list.h',
'file_descriptor_posix.h',
'file_version_info.h',
'file_version_info_mac.h',