Index: mojo/public/tools/bindings/pylib/mojom/generate/generator.py |
diff --git a/mojo/public/tools/bindings/pylib/mojom/generate/generator.py b/mojo/public/tools/bindings/pylib/mojom/generate/generator.py |
index aea5de8e5c5611c91e63cd40cef64dbbfdb0dd63..9eb90a9b741edbeb21335a0881c86e3db2660fae 100644 |
--- a/mojo/public/tools/bindings/pylib/mojom/generate/generator.py |
+++ b/mojo/public/tools/bindings/pylib/mojom/generate/generator.py |
@@ -97,3 +97,11 @@ class Generator(object): |
def GenerateFiles(self, args): |
raise NotImplementedError("Subclasses must override/implement this method") |
+ |
+ def GetJinjaParameters(self): |
+ """Returns default constructor parameters for the jinja environment.""" |
+ return {} |
+ |
+ def GetGlobals(self): |
+ """Returns global mappings for the template generation.""" |
+ return {} |