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

Unified Diff: mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl

Issue 2796253002: Associated Message Validation (Closed)
Patch Set: Validate payloadInterfaceIds before getting it. Use [0] for dimensions for validateArrayPointer. Ca… Created 3 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
Index: mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl
diff --git a/mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl b/mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl
index 3637b196ac0add92519244fcb54b4fa191713b0b..1fe27f72dd25dc87ccabb5cd2c9997f65a51ed30 100644
--- a/mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl
+++ b/mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl
@@ -42,6 +42,7 @@ define("{{module.path}}", [
"mojo/public/interfaces/bindings/interface_control_messages.mojom" and
module.path !=
"mojo/public/interfaces/bindings/pipe_control_messages.mojom" %}
+ "mojo/public/js/associated_bindings",
"mojo/public/js/bindings",
{%- endif %}
"mojo/public/js/codec",
@@ -55,7 +56,7 @@ define("{{module.path}}", [
"mojo/public/interfaces/bindings/interface_control_messages.mojom" and
module.path !=
"mojo/public/interfaces/bindings/pipe_control_messages.mojom" -%}
-bindings, {% endif -%}
+associatedBindings, bindings, {% endif -%}
codec, core, validator
{%- for import in imports -%}
, {{import.unique_name}}
« no previous file with comments | « mojo/public/js/validator.js ('k') | mojo/public/tools/bindings/generators/js_templates/validation_macros.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698