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

Unified Diff: third_party/WebKit/Source/bindings/scripts/code_generator_v8.py

Issue 2106983002: Allow origin trials to be declared on IDL operations (methods) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing unneeded includes, addressing nits Created 4 years, 6 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/code_generator_v8.py
diff --git a/third_party/WebKit/Source/bindings/scripts/code_generator_v8.py b/third_party/WebKit/Source/bindings/scripts/code_generator_v8.py
index b76667039bff1f36fe07d5d7d6dab2bb32f4f099..2658442fd6ac5740ae7d2d6c46c962384404aba7 100644
--- a/third_party/WebKit/Source/bindings/scripts/code_generator_v8.py
+++ b/third_party/WebKit/Source/bindings/scripts/code_generator_v8.py
@@ -80,6 +80,7 @@ import v8_callback_interface
import v8_dictionary
from v8_globals import includes, interfaces
import v8_interface
+from v8_methods import method_filters
import v8_types
import v8_union
from v8_utilities import capitalize, cpp_name, for_origin_trial_feature, unique_by
@@ -431,6 +432,7 @@ def initialize_jinja_env(cache_dir):
})
jinja_env.filters.update(attribute_filters())
jinja_env.filters.update(v8_interface.constant_filters())
+ jinja_env.filters.update(method_filters())
return jinja_env

Powered by Google App Engine
This is Rietveld 408576698