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

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

Issue 2893493002: Mojo JS bindings: update the new bindings with the associated interface feature. (Closed)
Patch Set: . Created 3 years, 7 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/js/new_bindings/lib/control_message_handler.js
diff --git a/mojo/public/js/new_bindings/lib/control_message_handler.js b/mojo/public/js/new_bindings/lib/control_message_handler.js
index 971a41bf5a9c51e545f02a40693108a99a15fa40..93e5e2c6fa80a1b539913750ace61721fe505eca 100644
--- a/mojo/public/js/new_bindings/lib/control_message_handler.js
+++ b/mojo/public/js/new_bindings/lib/control_message_handler.js
@@ -82,23 +82,22 @@
function isInterfaceControlMessage(message) {
return message.getName() == mojo.interfaceControl2.kRunMessageId ||
- message.getName() ==
- mojo.interfaceControl2.kRunOrClosePipeMessageId;
+ message.getName() == mojo.interfaceControl2.kRunOrClosePipeMessageId;
}
function ControlMessageHandler(interfaceVersion) {
- this.interfaceVersion = interfaceVersion;
+ this.interfaceVersion_ = interfaceVersion;
}
ControlMessageHandler.prototype.accept = function(message) {
validateControlRequestWithoutResponse(message);
- return runOrClosePipe(message, this.interfaceVersion);
+ return runOrClosePipe(message, this.interfaceVersion_);
};
ControlMessageHandler.prototype.acceptWithResponder = function(message,
responder) {
validateControlRequestWithResponse(message);
- return run(message, responder, this.interfaceVersion);
+ return run(message, responder, this.interfaceVersion_);
};
internal.ControlMessageHandler = ControlMessageHandler;
« no previous file with comments | « mojo/public/js/new_bindings/interface_types.js ('k') | mojo/public/js/new_bindings/lib/control_message_proxy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698