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

Unified Diff: Source/core/scripts/in_generator.py

Issue 15018018: Autogenerate lists of "stable", "experimental" and "test" features from RuntimeEnabledFeatures.in (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ready for review Created 7 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 | « Source/core/scripts/in_file.py ('k') | Source/core/scripts/make_runtime_features.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/scripts/in_generator.py
diff --git a/Source/core/scripts/in_generator.py b/Source/core/scripts/in_generator.py
index 2888a9765c4eb1f24f81252d75d17ba44fb29680..1c43b5c4e901979fefbdbee4ef57b2a61d636fe4 100644
--- a/Source/core/scripts/in_generator.py
+++ b/Source/core/scripts/in_generator.py
@@ -36,10 +36,11 @@ class Writer(object):
# Subclasses should override.
class_name = None
defaults = None
+ valid_values = None
default_parameters = None
def __init__(self, in_file_path):
- self.in_file = InFile.load_from_path(in_file_path, self.defaults, self.default_parameters)
+ self.in_file = InFile.load_from_path(in_file_path, self.defaults, self.valid_values, self.default_parameters)
# Subclasses should override.
def generate_header(self):
« no previous file with comments | « Source/core/scripts/in_file.py ('k') | Source/core/scripts/make_runtime_features.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698