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

Unified Diff: third_party/WebKit/Source/build/scripts/make_origin_trials.py

Issue 1635593004: Rename Experimental Framework classes and concepts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 11 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: third_party/WebKit/Source/build/scripts/make_origin_trials.py
diff --git a/third_party/WebKit/Source/build/scripts/make_experimental_features.py b/third_party/WebKit/Source/build/scripts/make_origin_trials.py
similarity index 90%
rename from third_party/WebKit/Source/build/scripts/make_experimental_features.py
rename to third_party/WebKit/Source/build/scripts/make_origin_trials.py
index 3033d950060ac96da3fe5858c78ea3a10ae24a0c..e94934655311cad5548284b1c6781f42a96d7589 100755
--- a/third_party/WebKit/Source/build/scripts/make_experimental_features.py
+++ b/third_party/WebKit/Source/build/scripts/make_origin_trials.py
@@ -37,11 +37,11 @@ import template_expander
# We want exactly the same parsing as RuntimeFeatureWriter
# but generate different files.
-class ExperimentalFeatureWriter(make_runtime_features.RuntimeFeatureWriter):
- class_name = 'ExperimentalFeatures'
+class OriginTrialsWriter(make_runtime_features.RuntimeFeatureWriter):
+ class_name = 'OriginTrials'
def __init__(self, in_file_path):
- super(ExperimentalFeatureWriter, self).__init__(in_file_path)
+ super(OriginTrialsWriter, self).__init__(in_file_path)
self._outputs = {
(self.class_name + '.cpp'): self.generate_implementation,
(self.class_name + '.h'): self.generate_header,
@@ -61,4 +61,4 @@ class ExperimentalFeatureWriter(make_runtime_features.RuntimeFeatureWriter):
if __name__ == '__main__':
- in_generator.Maker(ExperimentalFeatureWriter).main(sys.argv)
+ in_generator.Maker(OriginTrialsWriter).main(sys.argv)

Powered by Google App Engine
This is Rietveld 408576698