| Index: third_party/inspector_protocol/CodeGenerator.py
|
| diff --git a/third_party/inspector_protocol/CodeGenerator.py b/third_party/inspector_protocol/CodeGenerator.py
|
| index 8b28d136097729b3d46573191c1a8adcc4f71fbf..1bc95351726c9e848bbe11db2c6e837d8e7b23b9 100644
|
| --- a/third_party/inspector_protocol/CodeGenerator.py
|
| +++ b/third_party/inspector_protocol/CodeGenerator.py
|
| @@ -440,6 +440,12 @@ class Protocol(object):
|
| return self.check_options(self.config.protocol.options, domain, event, "include_events", "exclude_events", True)
|
|
|
|
|
| + def generate_type(self, domain, typename):
|
| + if not self.config.protocol.options:
|
| + return domain in self.generate_domains
|
| + return self.check_options(self.config.protocol.options, domain, typename, "include_types", "exclude_types", True)
|
| +
|
| +
|
| def is_async_command(self, domain, command):
|
| if not self.config.protocol.options:
|
| return False
|
| @@ -473,6 +479,10 @@ class Protocol(object):
|
| return True
|
|
|
|
|
| + def is_imported_dependency(self, domain):
|
| + return domain in self.generate_domains or domain in self.imported_domains
|
| +
|
| +
|
| def main():
|
| jinja_dir, config_file, config = read_config()
|
|
|
|
|