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

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

Issue 2744963002: Introduce InterfaceEndpointClient(IEC), InterfaceEndpointHandle and (Closed)
Patch Set: Throw the error with the string being the stack trace needed to debug layouts which don't output an… Created 3 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
« no previous file with comments | « mojo/public/js/interface_types.js ('k') | mojo/public/js/lib/control_message_proxy.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/js/lib/control_message_handler.js
diff --git a/mojo/public/js/lib/control_message_handler.js b/mojo/public/js/lib/control_message_handler.js
index 81d9002e0bba86a3022ef3c1cc1c5f85256aa7b1..5da306e371360ede1e38e0f832c08e98d170e6b8 100644
--- a/mojo/public/js/lib/control_message_handler.js
+++ b/mojo/public/js/lib/control_message_handler.js
@@ -3,10 +3,10 @@
// found in the LICENSE file.
define("mojo/public/js/lib/control_message_handler", [
- "mojo/public/js/codec",
"mojo/public/interfaces/bindings/interface_control_messages.mojom",
+ "mojo/public/js/codec",
"mojo/public/js/validator",
-], function(codec, controlMessages, validator) {
+], function(controlMessages, codec, validator) {
var Validator = validator.Validator;
@@ -89,18 +89,18 @@ define("mojo/public/js/lib/control_message_handler", [
}
function ControlMessageHandler(interface_version) {
- this.interface_version = interface_version;
+ this.interface_version_ = interface_version;
}
ControlMessageHandler.prototype.accept = function(message) {
validateControlRequestWithoutResponse(message);
- return runOrClosePipe(message, this.interface_version);
+ return runOrClosePipe(message, this.interface_version_);
};
ControlMessageHandler.prototype.acceptWithResponder = function(message,
responder) {
validateControlRequestWithResponse(message);
- return run(message, responder, this.interface_version);
+ return run(message, responder, this.interface_version_);
};
var exports = {};
« no previous file with comments | « mojo/public/js/interface_types.js ('k') | mojo/public/js/lib/control_message_proxy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698