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

Unified Diff: mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl

Issue 1677343002: mojom_types.mojom: Changes the name |interface_name| to |service_name| in struct MojomInterface. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 10 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: mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl
diff --git a/mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl b/mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl
index 82ea195fb14cccbc07f4f47abcba26a0e9d0bf5e..32eaf3c001b653ce4c6a66b1522131aa9fb874d0 100644
--- a/mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl
+++ b/mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl
@@ -21,7 +21,7 @@
..declData = (new {{typepkg}}DeclarationData()
..shortName = '{{type|mojom_type_name|upper_camel}}'
..fullIdentifier = '{{type|fullidentifier}}')
- ..interfaceName = '{{type|name}}'
+ ..serviceName_ = '{{type|name}}'
azani 2016/02/10 00:06:39 This changes the name in dart bindings. Is that wh
rudominer 2016/02/10 00:43:49 This is changing the name in the generated code th
..methods = <int, {{typepkg}}MojomMethod>{
{%- for method in type.methods %}
_{{type|name}}_{{method|name}}Name: new {{typepkg}}MojomMethod()

Powered by Google App Engine
This is Rietveld 408576698