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

Unified Diff: third_party/WebKit/Source/bindings/scripts/v8_utilities.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/bindings/scripts/v8_utilities.py
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_utilities.py b/third_party/WebKit/Source/bindings/scripts/v8_utilities.py
index ce17ce335b1bc87e29cb03054c19176ad1b6803a..e6fcb1d8b7ddcbe028ce515c66a6389c16a5272f 100644
--- a/third_party/WebKit/Source/bindings/scripts/v8_utilities.py
+++ b/third_party/WebKit/Source/bindings/scripts/v8_utilities.py
@@ -387,7 +387,7 @@ def api_experiment_enabled_function(definition_or_member):
feature_name = runtime_feature_name(definition_or_member)
if not feature_name or not experiment_name:
return
- return 'ExperimentalFeatures::%sEnabled' % uncapitalize(feature_name)
+ return 'OriginTrials::%sEnabled' % uncapitalize(feature_name)
# [RuntimeEnabled]
@@ -403,8 +403,8 @@ def runtime_enabled_function_name(definition_or_member):
# If an API experiment is on the method/attribute, it overrides the runtime
# enabled status. For now, we are unconditionally installing experimental
# attributes/methods, so we are acting as though the runtime enabled
- # function doesn't exist. (It is checked in the generated
- # ExperimentalFeatures function, instead)
+ # function doesn't exist. (It is checked in the generated OriginTrials
+ # function, instead)
experiment_name = api_experiment_name(definition_or_member)
if not feature_name or experiment_name:
return

Powered by Google App Engine
This is Rietveld 408576698