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

Unified Diff: mojo/public/bindings/generators/cpp_templates/params_definition.tmpl

Issue 198343002: Mojo: request/response bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 9 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/bindings/generators/cpp_templates/params_definition.tmpl
diff --git a/mojo/public/bindings/generators/cpp_templates/params_definition.tmpl b/mojo/public/bindings/generators/cpp_templates/params_definition.tmpl
index b21f537dd4b3f3efddf009ec01329e116931a374..9e835718d492e90197153fccef46241ac9af65ee 100644
--- a/mojo/public/bindings/generators/cpp_templates/params_definition.tmpl
+++ b/mojo/public/bindings/generators/cpp_templates/params_definition.tmpl
@@ -1,7 +1,5 @@
{%- import "struct_macros.tmpl" as struct_macros %}
{%- set class_name = struct.name ~ "_Data" %}
-{%- set method_name = "k%s_%s_Name"|format(interface.name, method.name) %}
-const uint32_t {{method_name}} = {{method.ordinal}};
class {{class_name}} {
public:
static {{class_name}}* New(mojo::Buffer* buf) {
« no previous file with comments | « mojo/public/bindings/generators/cpp_templates/module.h.tmpl ('k') | mojo/public/bindings/generators/mojom_cpp_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698