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

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl

Issue 2225673002: Support exporting Mojo bindings for the component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improve comments and variable naming Created 4 years, 4 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/cpp_templates/interface_declaration.tmpl
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl
index 0249ef3ea9e82ae48327a4c934f48bcd026cc5a2..676db28068b671a690a6de280bf05d8f8f54523d 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl
@@ -7,7 +7,7 @@ class {{interface.name}}RequestValidator;
class {{interface.name}}ResponseValidator;
{%- endif %}
-class {{interface.name}} {
+class {{export_attribute}} {{interface.export}} {{interface.name}} {
yzshen1 2016/08/08 17:07:32 what is {{interface.export}}?
jam 2016/08/08 17:36:08 oops, that's from a previous iteration. removed.
public:
static const char Name_[];
static const uint32_t Version_ = {{interface.version}};

Powered by Google App Engine
This is Rietveld 408576698