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

Unified Diff: mojo/public/js/new_bindings/lib/control_message_proxy.js

Issue 2820783002: Add associated interfaces & bindings. (Closed)
Patch Set: Change Router.prototype.accept. Add a TODO for endpoint client not attached. 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
« no previous file with comments | « mojo/public/js/new_bindings/lib/control_message_handler.js ('k') | mojo/public/js/router.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/js/new_bindings/lib/control_message_proxy.js
diff --git a/mojo/public/js/new_bindings/lib/control_message_proxy.js b/mojo/public/js/new_bindings/lib/control_message_proxy.js
index 1d57557ae27227f56324020b88070cd75092ed83..9d6467525fc27a01662c766cb272caf80df6b28d 100644
--- a/mojo/public/js/new_bindings/lib/control_message_proxy.js
+++ b/mojo/public/js/new_bindings/lib/control_message_proxy.js
@@ -9,7 +9,7 @@
var messageName = mojo.interface_control2.kRunOrClosePipeMessageId;
var payloadSize =
mojo.interface_control2.RunOrClosePipeMessageParams.encodedSize;
- var builder = new internal.MessageBuilder(messageName, payloadSize);
+ var builder = new internal.MessageV0Builder(messageName, payloadSize);
builder.encodeStruct(mojo.interface_control2.RunOrClosePipeMessageParams,
runOrClosePipeMessageParams);
var message = builder.finish();
@@ -58,7 +58,7 @@
var messageName = mojo.interface_control2.kRunMessageId;
var payloadSize = mojo.interface_control2.RunMessageParams.encodedSize;
// |requestID| is set to 0, but is later properly set by Router.
- var builder = new internal.MessageWithRequestIDBuilder(messageName,
+ var builder = new internal.MessageV1Builder(messageName,
payloadSize, internal.kMessageExpectsResponse, 0);
builder.encodeStruct(mojo.interface_control2.RunMessageParams,
runMessageParams);
« no previous file with comments | « mojo/public/js/new_bindings/lib/control_message_handler.js ('k') | mojo/public/js/router.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698