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

Unified Diff: headless/lib/browser/domain_h.template

Issue 1906503002: headless: Implement convenience overloads for DevTools commands (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « headless/lib/browser/domain_cc.template ('k') | headless/lib/headless_devtools_client_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/browser/domain_h.template
diff --git a/headless/lib/browser/domain_h.template b/headless/lib/browser/domain_h.template
index 4e3b363aab3f5fb5d9dd3ad1310ad1a7063188ef..0cd03c3bc5380328c4766933f1345c5a27034542 100644
--- a/headless/lib/browser/domain_h.template
+++ b/headless/lib/browser/domain_h.template
@@ -49,7 +49,7 @@ class HEADLESS_EXPORT Domain {
{% break %}
{% endif %}
{% if not loop.first %}, {% endif %}
-{{resolve_type(parameter).pass_type}} {{parameter.name -}}
+{{resolve_type(parameter).pass_type}} {{parameter.name | camelcase_to_hacker_style -}}
{% endfor %}
{% if "parameters" in command and not command.parameters[0].get("optional", False) %}, {% endif %}{# -#}
{% if "returns" in command -%}
« no previous file with comments | « headless/lib/browser/domain_cc.template ('k') | headless/lib/headless_devtools_client_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698