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

Unified Diff: third_party/inspector_protocol/CodeGenerator.py

Issue 2479693002: Roll third_party/inspector_protocol to 2952a8eb5d99fbc194946526b57d67ed52093699 (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | third_party/inspector_protocol/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/inspector_protocol/CodeGenerator.py
diff --git a/third_party/inspector_protocol/CodeGenerator.py b/third_party/inspector_protocol/CodeGenerator.py
index 90ce726f9a4773b22604ae1b149f3c8f46d46cc5..de1029e801fb876ebf45fe7e861fc85d03313e70 100644
--- a/third_party/inspector_protocol/CodeGenerator.py
+++ b/third_party/inspector_protocol/CodeGenerator.py
@@ -329,10 +329,6 @@ def resolve_type(protocol, prop):
return protocol.type_definitions[prop["type"]]
-def new_style(domain):
- return True
-
-
def join_arrays(dict, keys):
result = []
for key in keys:
@@ -424,8 +420,7 @@ def main():
"resolve_type": functools.partial(resolve_type, protocol),
"type_definition": functools.partial(type_definition, protocol),
"has_disable": has_disable,
- "format_include": format_include,
- "new_style": new_style,
+ "format_include": format_include
}
if domain["domain"] in protocol.generate_domains:
« no previous file with comments | « no previous file | third_party/inspector_protocol/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698